Share via


UITableView.AutomaticDimension プロパティ

定義

定数 UITableViewAutomaticDimension に関連付けられた値を表します。

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

プロパティ値

属性

注釈

UITableView で既定値を使用する場合にディメンション メトリックを要求する (または UITableViewDelegate) メソッドからUITableViewSourceこの値を返します。 たとえば、 または GetHeightForFooter(UITableView, nint) からGetHeightForHeader(UITableView, nint)この定数を返すと、テーブル ビューでは、または からTitleForHeader(UITableView, nint)TitleForFooter(UITableView, nint)返される値に合った高さが自動的に使用されます。

適用対象