Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
670 lines (669 sloc) 40.9 KB
<Type Name="UIPopoverBackgroundView" FullName="UIKit.UIPopoverBackgroundView">
<TypeSignature Language="C#" Value="public class UIPopoverBackgroundView : UIKit.UIView, IDisposable, UIKit.IUIPopoverBackgroundViewMethods" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit UIPopoverBackgroundView extends UIKit.UIView implements class ObjCRuntime.INativeObject, class System.IDisposable, class UIKit.IUIPopoverBackgroundViewMethods" />
<TypeSignature Language="DocId" Value="T:UIKit.UIPopoverBackgroundView" />
<TypeSignature Language="F#" Value="type UIPopoverBackgroundView = class&#xA; inherit UIView&#xA; interface IUIPopoverBackgroundViewMethods&#xA; interface INativeObject&#xA; interface IDisposable" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>UIKit.UIView</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>ObjCRuntime.INativeObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>UIKit.IUIPopoverBackgroundViewMethods</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>Foundation.Register("UIPopoverBackgroundView", true)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>An abstract base class that provides the background view for a popover.</summary>
<remarks>To be added.</remarks>
<altmember cref="P:UIKit.UIPopoverController.PopoverBackgroundViewType" />
<related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIPopoverBackgroundView_class/index.html">Apple documentation for <c>UIPopoverBackgroundView</c></related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIPopoverBackgroundView ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPopoverBackgroundView.#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 that initializes a new instance of this class with no parameters.</summary>
<remarks>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIPopoverBackgroundView (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.UIPopoverBackgroundView.#ctor(CoreGraphics.CGRect)" />
<MemberSignature Language="F#" Value="new UIKit.UIPopoverBackgroundView : CoreGraphics.CGRect -&gt; UIKit.UIPopoverBackgroundView" Usage="new UIKit.UIPopoverBackgroundView 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 UIPopoverBackgroundView with the specified frame.</summary>
<remarks>
<para>This constructor is used to programmatically create a new instance of UIPopoverBackgroundView 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 UIPopoverBackgroundView (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.UIPopoverBackgroundView.#ctor(Foundation.NSCoder)" />
<MemberSignature Language="F#" Value="new UIKit.UIPopoverBackgroundView : Foundation.NSCoder -&gt; UIKit.UIPopoverBackgroundView" Usage="new UIKit.UIPopoverBackgroundView 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 UIPopoverBackgroundView (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.UIPopoverBackgroundView.#ctor(Foundation.NSObjectFlag)" />
<MemberSignature Language="F#" Value="new UIKit.UIPopoverBackgroundView : Foundation.NSObjectFlag -&gt; UIKit.UIPopoverBackgroundView" Usage="new UIKit.UIPopoverBackgroundView 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="protected internal UIPopoverBackgroundView (IntPtr handle);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPopoverBackgroundView.#ctor(System.IntPtr)" />
<MemberSignature Language="F#" Value="new UIKit.UIPopoverBackgroundView : nativeint -&gt; UIKit.UIPopoverBackgroundView" Usage="new UIKit.UIPopoverBackgroundView 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.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance Appearance { get; }" />
<MemberSignature Language="ILAsm" Value=".property class UIKit.UIPopoverBackgroundView/UIPopoverBackgroundViewAppearance Appearance" />
<MemberSignature Language="DocId" Value="P:UIKit.UIPopoverBackgroundView.Appearance" />
<MemberSignature Language="F#" Value="member this.Appearance : UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" Usage="UIKit.UIPopoverBackgroundView.Appearance" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIPopoverBackgroundView+UIPopoverBackgroundViewAppearance</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 UIPopoverBackgroundView.</para>
<para>If developers want to control the appearance of subclasses of UIPopoverBackgroundView, they should use the <see cref="M:UIKit.UIPopoverBackgroundView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AppearanceWhenContainedIn">
<MemberSignature Language="C#" Value="public static UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance AppearanceWhenContainedIn (params Type[] containers);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UIPopoverBackgroundView/UIPopoverBackgroundViewAppearance AppearanceWhenContainedIn(class System.Type[] containers) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPopoverBackgroundView.AppearanceWhenContainedIn(System.Type[])" />
<MemberSignature Language="F#" Value="static member AppearanceWhenContainedIn : Type[] -&gt; UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" Usage="UIKit.UIPopoverBackgroundView.AppearanceWhenContainedIn containers" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIPopoverBackgroundView+UIPopoverBackgroundViewAppearance</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 UIPopoverBackgroundView 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 UIPopoverBackgroundView, they should use the <see cref="M:UIKit.UIPopoverBackgroundView.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="ArrowDirection">
<MemberSignature Language="C#" Value="public virtual UIKit.UIPopoverArrowDirection ArrowDirection { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype UIKit.UIPopoverArrowDirection ArrowDirection" />
<MemberSignature Language="DocId" Value="P:UIKit.UIPopoverBackgroundView.ArrowDirection" />
<MemberSignature Language="F#" Value="member this.ArrowDirection : UIKit.UIPopoverArrowDirection with get, set" Usage="UIKit.UIPopoverBackgroundView.ArrowDirection" />
<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("arrowDirection")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setArrowDirection:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIPopoverArrowDirection</ReturnType>
</ReturnValue>
<Docs>
<summary>The direction in which the popover arrow points.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ArrowOffset">
<MemberSignature Language="C#" Value="public virtual nfloat ArrowOffset { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.nfloat ArrowOffset" />
<MemberSignature Language="DocId" Value="P:UIKit.UIPopoverBackgroundView.ArrowOffset" />
<MemberSignature Language="F#" Value="member this.ArrowOffset : nfloat with get, set" Usage="UIKit.UIPopoverBackgroundView.ArrowOffset" />
<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("arrowOffset")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setArrowOffset:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nfloat</ReturnType>
</ReturnValue>
<Docs>
<summary>The distance, in points, from the center of the view to the center line of the arrow.</summary>
<value>To be added.</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.UIPopoverBackgroundView.ClassHandle" />
<MemberSignature Language="F#" Value="member this.ClassHandle : nativeint" Usage="UIKit.UIPopoverBackgroundView.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="GetAppearance">
<MemberSignature Language="C#" Value="public static UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance GetAppearance (UIKit.UITraitCollection traits);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UIPopoverBackgroundView/UIPopoverBackgroundViewAppearance GetAppearance(class UIKit.UITraitCollection traits) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPopoverBackgroundView.GetAppearance(UIKit.UITraitCollection)" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection -&gt; UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" Usage="UIKit.UIPopoverBackgroundView.GetAppearance traits" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIPopoverBackgroundView+UIPopoverBackgroundViewAppearance</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.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance GetAppearance (UIKit.UITraitCollection traits, params Type[] containers);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UIPopoverBackgroundView/UIPopoverBackgroundViewAppearance GetAppearance(class UIKit.UITraitCollection traits, class System.Type[] containers) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPopoverBackgroundView.GetAppearance(UIKit.UITraitCollection,System.Type[])" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection * Type[] -&gt; UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" Usage="UIKit.UIPopoverBackgroundView.GetAppearance (traits, containers)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIPopoverBackgroundView+UIPopoverBackgroundViewAppearance</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.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance GetAppearance&lt;T&gt; () where T : UIKit.UIPopoverBackgroundView;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UIPopoverBackgroundView/UIPopoverBackgroundViewAppearance GetAppearance&lt;(class UIKit.UIPopoverBackgroundView) T&gt;() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPopoverBackgroundView.GetAppearance``1" />
<MemberSignature Language="F#" Value="static member GetAppearance : unit -&gt; UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance (requires 'T :&gt; UIKit.UIPopoverBackgroundView)" Usage="UIKit.UIPopoverBackgroundView.GetAppearance " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIPopoverBackgroundView+UIPopoverBackgroundViewAppearance</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 UIPopoverBackgroundView.</typeparam>
<summary>Obtains the appearance proxy <see cref="T:UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" /> for the subclass of UIPopoverBackgroundView.</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.UIPopoverBackgroundView.Appearance" /> property, or the <see cref="M:UIKit.UIPopoverBackgroundView.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 = UIPopoverBackgroundView.GetAppearance<MyUIPopoverBackgroundViewSubclass> ();
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.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance GetAppearance&lt;T&gt; (UIKit.UITraitCollection traits) where T : UIKit.UIPopoverBackgroundView;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UIPopoverBackgroundView/UIPopoverBackgroundViewAppearance GetAppearance&lt;(class UIKit.UIPopoverBackgroundView) T&gt;(class UIKit.UITraitCollection traits) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPopoverBackgroundView.GetAppearance``1(UIKit.UITraitCollection)" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection -&gt; UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance (requires 'T :&gt; UIKit.UIPopoverBackgroundView)" Usage="UIKit.UIPopoverBackgroundView.GetAppearance traits" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIPopoverBackgroundView+UIPopoverBackgroundViewAppearance</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>UIKit.UIPopoverBackgroundView</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 UIPopoverBackgroundView.</typeparam>
<param name="traits">Trait collection to match.</param>
<summary>Obtains the appearance proxy <see cref="T:UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" /> for the subclass of UIPopoverBackgroundView.</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 UIPopoverBackgroundView.</para>
<para>Unlike the <see cref="P:UIKit.UIPopoverBackgroundView.Appearance" /> property, or the <see cref="M:UIKit.UIPopoverBackgroundView.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 = UIPopoverBackgroundView.GetAppearance<MyUIPopoverBackgroundViewSubclass> (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.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance GetAppearance&lt;T&gt; (UIKit.UITraitCollection traits, params Type[] containers) where T : UIKit.UIPopoverBackgroundView;" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class UIKit.UIPopoverBackgroundView/UIPopoverBackgroundViewAppearance GetAppearance&lt;(class UIKit.UIPopoverBackgroundView) T&gt;(class UIKit.UITraitCollection traits, class System.Type[] containers) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPopoverBackgroundView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" />
<MemberSignature Language="F#" Value="static member GetAppearance : UIKit.UITraitCollection * Type[] -&gt; UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance (requires 'T :&gt; UIKit.UIPopoverBackgroundView)" Usage="UIKit.UIPopoverBackgroundView.GetAppearance (traits, containers)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIPopoverBackgroundView+UIPopoverBackgroundViewAppearance</ReturnType>
</ReturnValue>
<TypeParameters>
<TypeParameter Name="T">
<Constraints>
<BaseTypeName>UIKit.UIPopoverBackgroundView</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 UIPopoverBackgroundView.</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.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" /> for the subclass of UIPopoverBackgroundView 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 UIPopoverBackgroundView 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.UIPopoverBackgroundView.Appearance" /> property, or the <see cref="M:UIKit.UIPopoverBackgroundView.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 = UIPopoverBackgroundView.GetAppearance<MyUIPopoverBackgroundViewSubclass> (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="GetArrowBase">
<MemberSignature Language="C#" Value="public static nfloat GetArrowBase ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.nfloat GetArrowBase() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPopoverBackgroundView.GetArrowBase" />
<MemberSignature Language="F#" Value="static member GetArrowBase : unit -&gt; nfloat" Usage="UIKit.UIPopoverBackgroundView.GetArrowBase " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("arrowBase")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nfloat</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The width, in points, of the arrow's triangle's base.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetArrowHeight">
<MemberSignature Language="C#" Value="public static nfloat GetArrowHeight ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype System.nfloat GetArrowHeight() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPopoverBackgroundView.GetArrowHeight" />
<MemberSignature Language="F#" Value="static member GetArrowHeight : unit -&gt; nfloat" Usage="UIKit.UIPopoverBackgroundView.GetArrowHeight " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("arrowHeight")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nfloat</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The height, in points, of the arrow from its base to its tip.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetContentViewInsets">
<MemberSignature Language="C#" Value="public static UIKit.UIEdgeInsets GetContentViewInsets ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig valuetype UIKit.UIEdgeInsets GetContentViewInsets() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIPopoverBackgroundView.GetContentViewInsets" />
<MemberSignature Language="F#" Value="static member GetContentViewInsets : unit -&gt; UIKit.UIEdgeInsets" Usage="UIKit.UIPopoverBackgroundView.GetContentViewInsets " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("contentViewInsets")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIEdgeInsets</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>The insets for the content portion of the popover.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WantsDefaultContentAppearance">
<MemberSignature Language="C#" Value="public static bool WantsDefaultContentAppearance { get; }" />
<MemberSignature Language="ILAsm" Value=".property bool WantsDefaultContentAppearance" />
<MemberSignature Language="DocId" Value="P:UIKit.UIPopoverBackgroundView.WantsDefaultContentAppearance" />
<MemberSignature Language="F#" Value="member this.WantsDefaultContentAppearance : bool" Usage="UIKit.UIPopoverBackgroundView.WantsDefaultContentAppearance" />
<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>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("wantsDefaultContentAppearance")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Whether the default content appearance should be used for the popover.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.