UITableView.AutomaticDimension Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.