iOS Guides | Samples

MonoTouch.UIKit.UITableViewHeaderFooterView Class

A reusable UIView that can be used to present the header and footer of a UITableView section.

See Also: UITableViewHeaderFooterView

Syntax

[MonoTouch.Foundation.Register("UITableViewHeaderFooterView", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 6, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class UITableViewHeaderFooterView : UIView, IDisposable

See Also

Remarks

Application developers will not typically extend this class. Rather, they can use the UITableViewHeaderFooterView.TextLabel and UITableViewHeaderFooterView.DetailTextLabel properties or assign a custom UIView to the UITableViewHeaderFooterView.ContentView property.

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UITableViewHeaderFooterView are listed below.

See Also: UIView

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
Initializes the UITableViewHeaderFooterView with the specified frame.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
static
AppearanceUITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance. Strongly-typed property that returns the UIAppearance class for this class.
BackgroundViewUIView. The background UIView for the header or footer.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
ContentViewUIView. The content UIView for the header or footer. Read-only.
[read-only]
DetailTextLabelUILabel. The detail text label for the view. Read-only.
[read-only]
ReuseIdentifierNSString. The reuse identifier that identifies a reusable header or footer type. Read-only.
[read-only]
TextLabelUILabel. The primary text label for the view. Read-only.

Public Methods

static
AppearanceWhenContainedIn(params Type[]) : UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance
Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.
static
GetAppearance(UITraitCollection) : UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance
Returns an appearance proxy for the specified traits.
static
GetAppearance(UITraitCollection, params Type[]) : UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance
Returns an appearance proxy for the specified traits when found in the containers containment hierarchy..
static
GetAppearance<T>() : UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance
Obtains the appearance proxy UITableViewHeaderFooterViewAppearance for the subclass of UITableViewHeaderFooterView.
static
GetAppearance<T>(UITraitCollection) : UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance
Obtains the appearance proxy UITableViewHeaderFooterViewAppearance for the subclass of UITableViewHeaderFooterView.
static
GetAppearance<T>(UITraitCollection, params Type[]) : UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance
Obtains the appearance proxy UITableViewHeaderFooterViewAppearance for the subclass of UITableViewHeaderFooterView that has the specified trait collection when the view is hosted in the specified hierarchy.
PrepareForReuse()
Called on a reusable header or footer prior to it being reused by the table.