Editar

Compartir a través de


UITableViewSource.GetHeightForHeader(UITableView, nint) Method

Definition

Called to determine the height of the header for the section specified by section.

[Foundation.Export("tableView:heightForHeaderInSection:")]
public virtual nfloat GetHeightForHeader (UIKit.UITableView tableView, nint section);
abstract member GetHeightForHeader : UIKit.UITableView * nint -> nfloat
override this.GetHeightForHeader : UIKit.UITableView * nint -> nfloat

Parameters

tableView
UITableView

Table view.

section
System.System.IntPtr System.nativeint

Index of the section requiring a header display.

Returns

The height of the header (in points) as a float.

Attributes

Remarks

This method allows section headers to have different heights. This method is not called if the table is Plain style.

Declared in [UITableViewDelegate]

Applies to