UITableViewSource.GetHeightForHeader(UITableView, nint) Method
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.
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]