UITableViewSource.GetHeightForHeader(UITableView, IntPtr) 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:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Runtime.InteropServices.NFloat GetHeightForHeader(UIKit.UITableView tableView, IntPtr section);
[<Foundation.Export("tableView:heightForHeaderInSection:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetHeightForHeader : UIKit.UITableView * nativeint -> System.Runtime.InteropServices.NFloat
override this.GetHeightForHeader : UIKit.UITableView * nativeint -> System.Runtime.InteropServices.NFloat
Parameters
- tableView
- UITableView
Table view.
- section
-
IntPtr
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]