Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
739 lines (738 sloc) 45.7 KB
<Type Name="UITableViewHeaderFooterView" FullName="UIKit.UITableViewHeaderFooterView">
<TypeSignature Language="C#" Value="public class UITableViewHeaderFooterView : UIKit.UIView, IDisposable" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit UITableViewHeaderFooterView extends UIKit.UIView implements class Foundation.INSCoding, class ObjCRuntime.INativeObject, class System.IDisposable, class UIKit.IUIAppearance" />
<TypeSignature Language="DocId" Value="T:UIKit.UITableViewHeaderFooterView" />
<TypeSignature Language="F#" Value="type UITableViewHeaderFooterView = class&#xA; inherit UIView&#xA; interface INSCoding&#xA; interface INativeObject&#xA; interface IDisposable&#xA; interface IUIAppearance" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>UIKit.UIView</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>Foundation.INSCoding</InterfaceName>
</Interface>
<Interface>
<InterfaceName>ObjCRuntime.INativeObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>UIKit.IUIAppearance</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>Foundation.Register("UITableViewHeaderFooterView", true)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A reusable <see cref="T:UIKit.UIView" /> that can be used to present the header and footer of a <see cref="T:UIKit.UITableView" /> section.</summary>
<remarks>
<para>Application developers will not typically extend this class. Rather, they can use the <see cref="P:UIKit.UITableViewHeaderFooterView.TextLabel" /> and <see cref="P:UIKit.UITableViewHeaderFooterView.DetailTextLabel" /> properties or assign a custom <see cref="T:UIKit.UIView" /> to the <see cref="P:UIKit.UITableViewHeaderFooterView.ContentView" /> property.</para>
</remarks>
<altmember cref="M:UIKit.UITableView.RegisterClassForHeaderFooterViewReuse" />
<related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UITableViewHeaderFooterView_class/index.html">Apple documentation for <c>UITableViewHeaderFooterView</c></related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UITableViewHeaderFooterView ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("init")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Default constructor, initializes a new instance of this class.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UITableViewHeaderFooterView (CoreGraphics.CGRect frame);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(valuetype CoreGraphics.CGRect frame) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.#ctor(CoreGraphics.CGRect)" />
<MemberSignature Language="F#" Value="new UIKit.UITableViewHeaderFooterView : CoreGraphics.CGRect -&gt; UIKit.UITableViewHeaderFooterView" Usage="new UIKit.UITableViewHeaderFooterView frame" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithFrame:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="frame" Type="CoreGraphics.CGRect" />
</Parameters>
<Docs>
<param name="frame">Frame used by the view, expressed in iOS points.</param>
<summary>Initializes the UITableViewHeaderFooterView with the specified frame.</summary>
<remarks>
<para>This constructor is used to programmatically create a new instance of UITableViewHeaderFooterView with the specified dimension in the frame. The object will only be displayed once it has been added to a view hierarchy by calling AddSubview in a containing view.</para>
<para>This constructor is not invoked when deserializing objects from storyboards or XIB filesinstead the constructor that takes an NSCoder parameter is invoked.</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UITableViewHeaderFooterView (Foundation.NSCoder coder);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Foundation.NSCoder coder) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.#ctor(Foundation.NSCoder)" />
<MemberSignature Language="F#" Value="new UIKit.UITableViewHeaderFooterView : Foundation.NSCoder -&gt; UIKit.UITableViewHeaderFooterView" Usage="new UIKit.UITableViewHeaderFooterView coder" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithCoder:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.DesignatedInitializer</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="coder" Type="Foundation.NSCoder" />
</Parameters>
<Docs>
<param name="coder">The unarchiver object.</param>
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary>
<remarks>
<para>This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization). This is part of the <see cref="T:Foundation.NSCoding" /> protocol.</para>
<para>If developers want to create a subclass of this object and continue to support deserialization from an archive, they should implement a constructor with an identical signature: taking a single parameter of type <see cref="T:Foundation.NSCoder" /> and decorate it with the [Export("initWithCoder:"] attribute declaration.</para>
<para>The state of this object can also be serialized by using the companion method, EncodeTo.</para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected UITableViewHeaderFooterView (Foundation.NSObjectFlag t);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class Foundation.NSObjectFlag t) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.#ctor(Foundation.NSObjectFlag)" />
<MemberSignature Language="F#" Value="new UIKit.UITableViewHeaderFooterView : Foundation.NSObjectFlag -&gt; UIKit.UITableViewHeaderFooterView" Usage="new UIKit.UITableViewHeaderFooterView t" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="t" Type="Foundation.NSObjectFlag" />
</Parameters>
<Docs>
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param>
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary>
<remarks>
<para>This constructor should be called by derived classes when they completely construct the object in managed code and merely want the runtime to allocate and initialize the NSObject. This is required to implement the two-step initialization process that Objective-C uses, the first step is to perform the object allocation, the second step is to initialize the object. When developers invoke the constructor that takes the NSObjectFlag.Empty they take advantage of a direct path that goes all the way up to NSObject to merely allocate the object's memory and bind the Objective-C and C# objects together. The actual initialization of the object is up to the developer.</para>
<para>This constructor is typically used by the binding generator to allocate the object, but prevent the actual initialization to take place. Once the allocation has taken place, the constructor has to initialize the object. With constructors generated by the binding generator this means that it manually invokes one of the "init" methods to initialize the object.</para>
<para>It is the developer's responsibility to completely initialize the object if they chain up using the NSObjectFlag.Empty path.</para>
<para>In general, if the developer's constructor invokes the NSObjectFlag.Empty base implementation, then it should be calling an Objective-C init method. If this is not the case, developers should instead chain to the proper constructor in their class. </para>
<para>The argument value is ignored and merely ensures that the only code that is executed is the construction phase is the basic NSObject allocation and runtime type registration. Typically the chaining would look like this:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// The NSObjectFlag merely allocates the object and registers the
// C# class with the Objective-C runtime if necessary, but no actual
// initXxx method is invoked, that is done later in the constructor
//
// This is taken from Xamarin.iOS's source code:
//
[Export ("initWithFrame:")]
public UIView (System.Drawing.RectangleF frame) : base (NSObjectFlag.Empty)
{
// Invoke the init method now.
var initWithFrame = new Selector ("initWithFrame:").Handle;
if (IsDirectBinding)
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSend_CGRect (this.Handle, initWithFrame, frame);
else
Handle = ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper_CGRect (this.SuperHandle, initWithFrame, frame);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UITableViewHeaderFooterView (Foundation.NSString reuseIdentifier);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class Foundation.NSString reuseIdentifier) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.#ctor(Foundation.NSString)" />
<MemberSignature Language="F#" Value="new UIKit.UITableViewHeaderFooterView : Foundation.NSString -&gt; UIKit.UITableViewHeaderFooterView" Usage="new UIKit.UITableViewHeaderFooterView reuseIdentifier" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("initWithReuseIdentifier:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.DesignatedInitializer</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="reuseIdentifier" Type="Foundation.NSString" />
</Parameters>
<Docs>
<param name="reuseIdentifier">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected internal UITableViewHeaderFooterView (IntPtr handle);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.#ctor(System.IntPtr)" />
<MemberSignature Language="F#" Value="new UIKit.UITableViewHeaderFooterView : nativeint -&gt; UIKit.UITableViewHeaderFooterView" Usage="new UIKit.UITableViewHeaderFooterView handle" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="handle" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="handle">Pointer (handle) to the unmanaged object.</param>
<summary>A constructor used when creating managed representations of unmanaged objects; Called by the runtime.</summary>
<remarks>
<para>This constructor is invoked by the runtime infrastructure (<see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" />) to create a new managed representation for a pointer to an unmanaged Objective-C object. Developers should not invoke this method directly, instead they should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Appearance">
<MemberSignature Language="C#" Value="public static UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance Appearance { get; }" />
<MemberSignature Language="ILAsm" Value=".property class UIKit.UITableViewHeaderFooterView/UITableViewHeaderFooterViewAppearance Appearance" />
<MemberSignature Language="DocId" Value="P:UIKit.UITableViewHeaderFooterView.Appearance" />
<MemberSignature Language="F#" Value="member this.Appearance : UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance" Usage="UIKit.UITableViewHeaderFooterView.Appearance" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance</ReturnType>
</ReturnValue>
<Docs>
<summary>Strongly-typed property that returns the UIAppearance class for this class.</summary>
<value>
</value>
<remarks>
<para>Setting any appearance properties on this instance will affect the appearance of all instances of UITableViewHeaderFooterView.</para>
<para>If developers want to control the appearance of subclasses of UITableViewHeaderFooterView, they should use the <see cref="M:UIKit.UITableViewHeaderFooterView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AppearanceWhenContainedIn">
<MemberSignature Language="C#" Value="public static UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance AppearanceWhenContainedIn (params Type[] containers);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UITableViewHeaderFooterView/UITableViewHeaderFooterViewAppearance AppearanceWhenContainedIn(class System.Type[] containers) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.AppearanceWhenContainedIn(System.Type[])" />
<MemberSignature Language="F#" Value="static member AppearanceWhenContainedIn : Type[] -&gt; UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance" Usage="UIKit.UITableViewHeaderFooterView.AppearanceWhenContainedIn containers" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="containers" Type="System.Type[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="containers">List of types that developers want to have as the containers to apply this particular appearance</param>
<summary>Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy.</summary>
<returns>The appearance proxy object that developers can use to set properties when the given container hierarchy is active</returns>
<remarks>
<para>The returned object represents the UIAppearance proxy where developers can set appearance properties for instances of UITableViewHeaderFooterView when those instances are contained in the hierarchy specified by the <paramref name="containers" /> parameter.</para>
<para>If developers want to control the appearance of subclasses of UITableViewHeaderFooterView, they should use the <see cref="M:UIKit.UITableViewHeaderFooterView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para>
<para>The following example shows how the AppearanceWhenContainedIn method works</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
var mySliders = UISlider.AppearanceWhenContainedIn (typeof (UINavigationBar), typeof (UIPopoverController));
mySliders.TintColor = UIColor.Red;
]]></code>
</example>
<para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="BackgroundView">
<MemberSignature Language="C#" Value="public virtual UIKit.UIView BackgroundView { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UIView BackgroundView" />
<MemberSignature Language="DocId" Value="P:UIKit.UITableViewHeaderFooterView.BackgroundView" />
<MemberSignature Language="F#" Value="member this.BackgroundView : UIKit.UIView with get, set" Usage="UIKit.UITableViewHeaderFooterView.BackgroundView" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("backgroundView", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setBackgroundView:", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIView</ReturnType>
</ReturnValue>
<Docs>
<summary>The background UIView for the header or footer.</summary>
<value>
<para>(More documentation for this node is coming)</para>
<para tool="nullallowed">This value can be <see langword="null" />.</para>
</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ClassHandle">
<MemberSignature Language="C#" Value="public override IntPtr ClassHandle { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance native int ClassHandle" />
<MemberSignature Language="DocId" Value="P:UIKit.UITableViewHeaderFooterView.ClassHandle" />
<MemberSignature Language="F#" Value="member this.ClassHandle : nativeint" Usage="UIKit.UITableViewHeaderFooterView.ClassHandle" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>The handle for this class.</summary>
<value>The pointer to the Objective-C class.</value>
<remarks>Each Xamarin.iOS class mirrors an unmanaged Objective-C class. This value contains the pointer to the Objective-C class, it is similar to calling objc_getClass with the object name.</remarks>
</Docs>
</Member>
<Member MemberName="ContentView">
<MemberSignature Language="C#" Value="public virtual UIKit.UIView ContentView { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UIView ContentView" />
<MemberSignature Language="DocId" Value="P:UIKit.UITableViewHeaderFooterView.ContentView" />
<MemberSignature Language="F#" Value="member this.ContentView : UIKit.UIView" Usage="UIKit.UITableViewHeaderFooterView.ContentView" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("contentView", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIView</ReturnType>
</ReturnValue>
<Docs>
<summary>The content UIView for the header or footer. Read-only.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DetailTextLabel">
<MemberSignature Language="C#" Value="public virtual UIKit.UILabel DetailTextLabel { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UILabel DetailTextLabel" />
<MemberSignature Language="DocId" Value="P:UIKit.UITableViewHeaderFooterView.DetailTextLabel" />
<MemberSignature Language="F#" Value="member this.DetailTextLabel : UIKit.UILabel" Usage="UIKit.UITableViewHeaderFooterView.DetailTextLabel" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("detailTextLabel", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UILabel</ReturnType>
</ReturnValue>
<Docs>
<summary>The detail text label for the view. Read-only.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EncodeTo">
<MemberSignature Language="C#" Value="public virtual void EncodeTo (Foundation.NSCoder encoder);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void EncodeTo(class Foundation.NSCoder encoder) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.EncodeTo(Foundation.NSCoder)" />
<MemberSignature Language="F#" Value="override this.EncodeTo : Foundation.NSCoder -&gt; unit" Usage="uITableViewHeaderFooterView.EncodeTo encoder" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("encodeWithCoder:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="encoder" Type="Foundation.NSCoder" />
</Parameters>
<Docs>
<param name="encoder">The encoder object where the state of the object will be stored</param>
<summary>Encodes the state of the object on the provided encoder</summary>
<remarks>
<para>This method is part of the <see cref="T:Foundation.NSCoding" /> protocol and is used by applications to preserve the state of the object into an archive.</para>
<para>Users will typically create a <see cref="T:Foundation.NSKeyedArchiver" /> and then invoke the <see cref="M:Foundation.NSKeyedArchiver.ArchiveRootObjectToFile(Foundation.NSObject,System.String)" /> which will call into this method</para>
<para>If developers want to allow their object to be archived, they should override this method and store their state in using the provided <paramref name="encoder" /> parameter. In addition, developers should also implement a constructor that takes an NSCoder argument and is exported with [Export ("initWithCoder:")]</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[public void override EncodeTo (NSCoder coder){
coder.Encode (1, key: "version");
coder.Encode (userName, key: "userName");
coder.Encode (hostName, key: "hostName");]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="GetAppearance">
<MemberSignature Language="C#" Value="public static UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance GetAppearance (UIKit.UITraitCollection traits);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UITableViewHeaderFooterView/UITableViewHeaderFooterViewAppearance GetAppearance(class UIKit.UITraitCollection traits) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.GetAppearance(UIKit.UITraitCollection)" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection -&gt; UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance" Usage="UIKit.UITableViewHeaderFooterView.GetAppearance traits" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="traits" Type="UIKit.UITraitCollection" />
</Parameters>
<Docs>
<param name="traits">To be added.</param>
<summary>Returns an appearance proxy for the specified <paramref name="traits" />.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetAppearance">
<MemberSignature Language="C#" Value="public static UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance GetAppearance (UIKit.UITraitCollection traits, params Type[] containers);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UITableViewHeaderFooterView/UITableViewHeaderFooterViewAppearance GetAppearance(class UIKit.UITraitCollection traits, class System.Type[] containers) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.GetAppearance(UIKit.UITraitCollection,System.Type[])" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection * Type[] -&gt; UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance" Usage="UIKit.UITableViewHeaderFooterView.GetAppearance (traits, containers)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="traits" Type="UIKit.UITraitCollection" />
<Parameter Name="containers" Type="System.Type[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="traits">To be added.</param>
<param name="containers">To be added.</param>
<summary>Returns an appearance proxy for the specified <paramref name="traits" /> when found in the <paramref name="containers" /> containment hierarchy..</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetAppearance&lt;T&gt;">
<MemberSignature Language="C#" Value="public static UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance GetAppearance&lt;T&gt; () where T : UIKit.UITableViewHeaderFooterView;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UITableViewHeaderFooterView/UITableViewHeaderFooterViewAppearance GetAppearance&lt;(class UIKit.UITableViewHeaderFooterView) T&gt;() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.GetAppearance``1" />
<MemberSignature Language="F#" Value="static member GetAppearance : unit -&gt; UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance (requires 'T :&gt; UIKit.UITableViewHeaderFooterView)" Usage="UIKit.UITableViewHeaderFooterView.GetAppearance " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T" />
</TypeParameters>
<Parameters />
<Docs>
<typeparam name="T">The type for which the UIAppearance proxy must be returned. This is a subclass of UITableViewHeaderFooterView.</typeparam>
<summary>Obtains the appearance proxy <see cref="T:UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance" /> for the subclass of UITableViewHeaderFooterView.</summary>
<returns>
<para>appearance proxy object for the specified type.</para>
</returns>
<remarks>
<para>Setting any appearance properties on the returned object will affect the appearance of all classes and subclasses of the type parameter.</para>
<para>Unlike the <see cref="P:UIKit.UITableViewHeaderFooterView.Appearance" /> property, or the <see cref="M:UIKit.UITableViewHeaderFooterView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by GetAppearance can be used to change the style of subclasses.</para>
<para>The following example shows how the GetAppearance method works</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
var myTheme = UITableViewHeaderFooterView.GetAppearance<MyUITableViewHeaderFooterViewSubclass> ();
myTheme.TintColor = UIColor.Red;
]]></code>
</example>
<para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetAppearance&lt;T&gt;">
<MemberSignature Language="C#" Value="public static UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance GetAppearance&lt;T&gt; (UIKit.UITraitCollection traits) where T : UIKit.UITableViewHeaderFooterView;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UITableViewHeaderFooterView/UITableViewHeaderFooterViewAppearance GetAppearance&lt;(class UIKit.UITableViewHeaderFooterView) T&gt;(class UIKit.UITraitCollection traits) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.GetAppearance``1(UIKit.UITraitCollection)" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection -&gt; UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance (requires 'T :&gt; UIKit.UITableViewHeaderFooterView)" Usage="UIKit.UITableViewHeaderFooterView.GetAppearance traits" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>UIKit.UITableViewHeaderFooterView</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="traits" Type="UIKit.UITraitCollection" />
</Parameters>
<Docs>
<typeparam name="T">The type for which the UIAppearance proxy must be returned. This is a subclass of UITableViewHeaderFooterView.</typeparam>
<param name="traits">Trait collection to match.</param>
<summary>Obtains the appearance proxy <see cref="T:UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance" /> for the subclass of UITableViewHeaderFooterView.</summary>
<returns>
<para>appearance proxy object for the specified type.</para>
</returns>
<remarks>
<para>The returned object represents the UIAppearance proxy where developers can set appearance properties for instances of UITableViewHeaderFooterView.</para>
<para>Unlike the <see cref="P:UIKit.UITableViewHeaderFooterView.Appearance" /> property, or the <see cref="M:UIKit.UITableViewHeaderFooterView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by GetAppearance can be used to change the style of subclasses.</para>
<para>The following example shows how the GetAppearance method works</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
var myTheme = UITableViewHeaderFooterView.GetAppearance<MyUITableViewHeaderFooterViewSubclass> (myTraits, );
myTheme.TintColor = UIColor.Red;
]]></code>
</example>
<para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetAppearance&lt;T&gt;">
<MemberSignature Language="C#" Value="public static UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance GetAppearance&lt;T&gt; (UIKit.UITraitCollection traits, params Type[] containers) where T : UIKit.UITableViewHeaderFooterView;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UITableViewHeaderFooterView/UITableViewHeaderFooterViewAppearance GetAppearance&lt;(class UIKit.UITableViewHeaderFooterView) T&gt;(class UIKit.UITraitCollection traits, class System.Type[] containers) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection * Type[] -&gt; UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance (requires 'T :&gt; UIKit.UITableViewHeaderFooterView)" Usage="UIKit.UITableViewHeaderFooterView.GetAppearance (traits, containers)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UITableViewHeaderFooterView+UITableViewHeaderFooterViewAppearance</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>UIKit.UITableViewHeaderFooterView</BaseTypeName>
</Constraints>
</TypeParameter>
</TypeParameters>
<Parameters>
<Parameter Name="traits" Type="UIKit.UITraitCollection" />
<Parameter Name="containers" Type="System.Type[]">
<Attributes>
<Attribute>
<AttributeName>System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<typeparam name="T">The type for which the UIAppearance proxy must be returned. This is a subclass of UITableViewHeaderFooterView.</typeparam>
<param name="traits">Trait collection to match.</param>
<param name="containers">List of types that the developer wishes to have as the containers to apply this particular appearance.</param>
<summary>Obtains the appearance proxy <see cref="T:UIKit.UITableViewHeaderFooterView.UITableViewHeaderFooterViewAppearance" /> for the subclass of UITableViewHeaderFooterView that has the specified trait collection when the view is hosted in the specified hierarchy.</summary>
<returns>
<para>appearance proxy object for the specified type.</para>
</returns>
<remarks>
<para>The returned object represents the UIAppearance proxy where developers can set appearance properties for instances of UITableViewHeaderFooterView that has the specified trait collection when the view is hosted in the specified hierarchy when those instances are contained in the hierarchy specified by the <paramref name="containers" /> parameter.</para>
<para>Unlike the <see cref="P:UIKit.UITableViewHeaderFooterView.Appearance" /> property, or the <see cref="M:UIKit.UITableViewHeaderFooterView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by GetAppearance can be used to change the style of subclasses.</para>
<para>The following example shows how the GetAppearance method works</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
var myTheme = UITableViewHeaderFooterView.GetAppearance<MyUITableViewHeaderFooterViewSubclass> (myTraits, typeof (UINavigationBar), typeof (UIPopoverController));
myTheme.TintColor = UIColor.Red;
]]></code>
</example>
<para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="PrepareForReuse">
<MemberSignature Language="C#" Value="public virtual void PrepareForReuse ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void PrepareForReuse() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UITableViewHeaderFooterView.PrepareForReuse" />
<MemberSignature Language="F#" Value="abstract member PrepareForReuse : unit -&gt; unit&#xA;override this.PrepareForReuse : unit -&gt; unit" Usage="uITableViewHeaderFooterView.PrepareForReuse " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Advice("Overriding this method requires a call to the overriden method.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>Foundation.Export("prepareForReuse")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.RequiresSuper</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Called on a reusable header or footer prior to it being reused by the table.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ReuseIdentifier">
<MemberSignature Language="C#" Value="public virtual Foundation.NSString ReuseIdentifier { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Foundation.NSString ReuseIdentifier" />
<MemberSignature Language="DocId" Value="P:UIKit.UITableViewHeaderFooterView.ReuseIdentifier" />
<MemberSignature Language="F#" Value="member this.ReuseIdentifier : Foundation.NSString" Usage="UIKit.UITableViewHeaderFooterView.ReuseIdentifier" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("reuseIdentifier", ObjCRuntime.ArgumentSemantic.Copy)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSString</ReturnType>
</ReturnValue>
<Docs>
<summary>The reuse identifier that identifies a reusable header or footer type. Read-only.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TextLabel">
<MemberSignature Language="C#" Value="public virtual UIKit.UILabel TextLabel { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UILabel TextLabel" />
<MemberSignature Language="DocId" Value="P:UIKit.UITableViewHeaderFooterView.TextLabel" />
<MemberSignature Language="F#" Value="member this.TextLabel : UIKit.UILabel" Usage="UIKit.UITableViewHeaderFooterView.TextLabel" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("textLabel", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UILabel</ReturnType>
</ReturnValue>
<Docs>
<summary>The primary text label for the view. Read-only.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.