Edit

Share via


UITableView.AutomaticDimension Property

Definition

Represents the value associated with the constant UITableViewAutomaticDimension

[Foundation.Field("UITableViewAutomaticDimension", "UIKit")]
public static nfloat AutomaticDimension { get; }
member this.AutomaticDimension : nfloat

Property Value

Attributes

Remarks

Return this value from UITableViewSource (or UITableViewDelegate) methods that request dimension metrics when you want the UITableView to use a default value. For example, return this constant from GetHeightForHeader(UITableView, nint) or GetHeightForFooter(UITableView, nint) and the table view will use automatically use a height that accomodates the value returned from TitleForHeader(UITableView, nint) or TitleForFooter(UITableView, nint) respectively.

Applies to