Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1584 lines (1545 sloc) 81.4 KB
<Type Name="UIScreen" FullName="UIKit.UIScreen">
<TypeSignature Language="C#" Value="public class UIScreen : Foundation.NSObject, IDisposable, UIKit.IUITraitEnvironment" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit UIScreen extends Foundation.NSObject implements class ObjCRuntime.INativeObject, class System.IDisposable, class UIKit.IUITraitEnvironment" />
<TypeSignature Language="DocId" Value="T:UIKit.UIScreen" />
<TypeSignature Language="F#" Value="type UIScreen = class&#xA; inherit NSObject&#xA; interface IUITraitEnvironment&#xA; interface INativeObject&#xA; interface IDisposable" />
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Foundation.NSObject</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>ObjCRuntime.INativeObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>UIKit.IUITraitEnvironment</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>Foundation.Register("UIScreen", true)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Information about the screen.</summary>
<remarks>
<para>This class contains the bounding rectangle of the device's screen and, if the display is being mirrored to an external display, information about that screen.</para>
<para>The <see cref="P:UIKit.UIScreen.MainScreen" /> singleton represent the device's physical screen. All of the currently-attached screens are available in the <see cref="P:UIKit.UIScreen.Screens" /> static array: the <see cref="P:UIKit.UIScreen.MainScreen" /> is always at index 0.</para>
</remarks>
<related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIScreen_Class/index.html">Apple documentation for <c>UIScreen</c></related>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UIScreen ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIScreen.#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="protected UIScreen (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.UIScreen.#ctor(Foundation.NSObjectFlag)" />
<MemberSignature Language="F#" Value="new UIKit.UIScreen : Foundation.NSObjectFlag -&gt; UIKit.UIScreen" Usage="new UIKit.UIScreen 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 UIScreen (IntPtr handle);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig specialname rtspecialname instance void .ctor(native int handle) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIScreen.#ctor(System.IntPtr)" />
<MemberSignature Language="F#" Value="new UIKit.UIScreen : nativeint -&gt; UIKit.UIScreen" Usage="new UIKit.UIScreen 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="ApplicationFrame">
<MemberSignature Language="C#" Value="public virtual CoreGraphics.CGRect ApplicationFrame { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype CoreGraphics.CGRect ApplicationFrame" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.ApplicationFrame" />
<MemberSignature Language="F#" Value="member this.ApplicationFrame : CoreGraphics.CGRect" Usage="UIKit.UIScreen.ApplicationFrame" />
<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.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use the 'Bounds' property.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("applicationFrame")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use the 'Bounds' property.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>CoreGraphics.CGRect</ReturnType>
</ReturnValue>
<Docs>
<summary>Developers should not use this deprecated property. Developers should use the 'Bounds' property.</summary>
<value>The Frame of the application.</value>
<remarks>
<para>The <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=UIKit%20UIDevice%20Application%20Frame&amp;scope=Xamarin" title="P:UIKit.UIDevice.ApplicationFrame">P:UIKit.UIDevice.ApplicationFrame</a></format> is the <see cref="P:UIKit.UIScreen.Bounds" /> minus the size of the status bar, if it is visible.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="AvailableModes">
<MemberSignature Language="C#" Value="public virtual UIKit.UIScreenMode[] AvailableModes { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UIScreenMode[] AvailableModes" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.AvailableModes" />
<MemberSignature Language="F#" Value="member this.AvailableModes : UIKit.UIScreenMode[]" Usage="UIKit.UIScreen.AvailableModes" />
<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.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("availableModes", ObjCRuntime.ArgumentSemantic.Copy)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIScreenMode[]</ReturnType>
</ReturnValue>
<Docs>
<summary>The dislay modes supported by this UIScreen. Read-only.</summary>
<value>An array containing one or more UIScreenMode objects.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Bounds">
<MemberSignature Language="C#" Value="public virtual CoreGraphics.CGRect Bounds { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype CoreGraphics.CGRect Bounds" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.Bounds" />
<MemberSignature Language="F#" Value="member this.Bounds : CoreGraphics.CGRect" Usage="UIKit.UIScreen.Bounds" />
<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("bounds")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>CoreGraphics.CGRect</ReturnType>
</ReturnValue>
<Docs>
<summary>The bounding RectangleF of the screen, in logical pixels. Read-only.</summary>
<value>To be added.</value>
<remarks>
<para>The <see cref="P:UIKit.UIScreen.Bounds" /> includes the area of the status bar. The <see cref="P:UIKit.UIScreen.ApplicationFrame" /> does not contain the area of the status bar.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Brightness">
<MemberSignature Language="C#" Value="public virtual nfloat Brightness { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.nfloat Brightness" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.Brightness" />
<MemberSignature Language="F#" Value="member this.Brightness : nfloat with get, set" Usage="UIKit.UIScreen.Brightness" />
<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.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("brightness")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setBrightness:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nfloat</ReturnType>
</ReturnValue>
<Docs>
<summary>The brightness level of this UIScreen.</summary>
<value>Ranges from 0.0 (minimum brightness) to 1.0.</value>
<remarks>
<para>This value affects the screen only when the application is in the foreground. The system-wide brightness is used when other applications are in the foreground. In other words, applications do not need to store and reset the brightness as they are activated and de-activated.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="BrightnessDidChangeNotification">
<MemberSignature Language="C#" Value="public static Foundation.NSString BrightnessDidChangeNotification { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Foundation.NSString BrightnessDidChangeNotification" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.BrightnessDidChangeNotification" />
<MemberSignature Language="F#" Value="member this.BrightnessDidChangeNotification : Foundation.NSString" Usage="UIKit.UIScreen.BrightnessDidChangeNotification" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Advice("Use UIScreen.Notifications.ObserveBrightnessDidChange helper method instead.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>Foundation.Field("UIScreenBrightnessDidChangeNotification", "UIKit")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSString</ReturnType>
</ReturnValue>
<Docs>
<summary>Notification constant for BrightnessDidChange</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<para id="tool-remark">If you want to subscribe to this notification, you can use the convenience <see cref="T:UIKit.UIScreen.Notifications" />.<see cref="M:UIKit.UIScreen.Notifications.ObserveBrightnessDidChange*" /> method which offers strongly typed access to the parameters of the notification.</para>
<para>The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// Lambda style
//
// listening
notification = UIScreen.Notifications.ObserveBrightnessDidChange ((sender, args) => {
/* Access strongly typed args */
Console.WriteLine ("Notification: {0}", args.Notification);
});
// To stop listening:
notification.Dispose ();
//
// Method style
//
NSObject notification;
void Callback (object sender, Foundation.NSNotificationEventArgs args)
{
// Access strongly typed args
Console.WriteLine ("Notification: {0}", args.Notification);
}
void Setup ()
{
notification = UIScreen.Notifications.ObserveBrightnessDidChange (Callback);
}
void Teardown ()
{
notification.Dispose ();
}]]></code>
</example>
<para>The following example shows how to use the notification with the DefaultCenter API:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
UIScreen.BrightnessDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification UIScreen", notification); }
// Method style
void Callback (NSNotification notification)
{
Console.WriteLine ("Received a notification UIScreen", notification);
}
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (UIScreen.BrightnessDidChangeNotification, Callback);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="Capture">
<MemberSignature Language="C#" Value="public UIKit.UIImage Capture ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class UIKit.UIImage Capture() cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIScreen.Capture" />
<MemberSignature Language="F#" Value="member this.Capture : unit -&gt; UIKit.UIImage" Usage="uIScreen.Capture " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>UIKit.UIImage</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Captures a screenshot of the entire screen.</summary>
<returns>A screenshot as a <see cref="T:UIKit.UIImage" />.</returns>
<remarks>
<para>
This API will only capture UIKit and Quartz drawing,
because it uses the screen's CALayer's RenderInContext
method to perform the screenshot. It will not capture
OpenGL ES or video content.
</para>
<para>
If you want to capture an OpenGL ES or video content use
the <see cref="M:OpenTK.Platform.iPhoneOS.iPhoneOSGameView.Capture" />
method.
</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Captured">
<MemberSignature Language="C#" Value="public virtual bool Captured { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool Captured" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.Captured" />
<MemberSignature Language="F#" Value="member this.Captured : bool" Usage="UIKit.UIScreen.Captured" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("isCaptured")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a Boolean value that tells whether a part of the screen is being captured, mirrored, or transmitted via AriPlay.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CapturedDidChangeNotification">
<MemberSignature Language="C#" Value="public static Foundation.NSString CapturedDidChangeNotification { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Foundation.NSString CapturedDidChangeNotification" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.CapturedDidChangeNotification" />
<MemberSignature Language="F#" Value="member this.CapturedDidChangeNotification : Foundation.NSString" Usage="UIKit.UIScreen.CapturedDidChangeNotification" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Advice("Use UIScreen.Notifications.ObserveCapturedDidChange helper method instead.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>Foundation.Field("UIScreenCapturedDidChangeNotification", "UIKit")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSString</ReturnType>
</ReturnValue>
<Docs>
<summary>Notification constant for CapturedDidChange</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification, also developers can use the strongly typed notification <see cref="M:UIKit.UIScreen.Notifications.ObserveCapturedDidChange*" /> instead. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
UIScreen.CapturedDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification UIScreen", notification); }
// Method style
void Callback (NSNotification notification)
{
Console.WriteLine ("Received a notification UIScreen", notification);
}
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (UIScreen.CapturedDidChangeNotification, Callback);
}
]]></code>
</example>
</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.UIScreen.ClassHandle" />
<MemberSignature Language="F#" Value="member this.ClassHandle : nativeint" Usage="UIKit.UIScreen.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="CoordinateSpace">
<MemberSignature Language="C#" Value="public virtual UIKit.IUICoordinateSpace CoordinateSpace { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.IUICoordinateSpace CoordinateSpace" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.CoordinateSpace" />
<MemberSignature Language="F#" Value="member this.CoordinateSpace : UIKit.IUICoordinateSpace" Usage="UIKit.UIScreen.CoordinateSpace" />
<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, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("coordinateSpace")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.IUICoordinateSpace</ReturnType>
</ReturnValue>
<Docs>
<summary>The specified coordinate space for the screen.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateDisplayLink">
<MemberSignature Language="C#" Value="public CoreAnimation.CADisplayLink CreateDisplayLink (Action action);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class CoreAnimation.CADisplayLink CreateDisplayLink(class System.Action action) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIScreen.CreateDisplayLink(System.Action)" />
<MemberSignature Language="F#" Value="member this.CreateDisplayLink : Action -&gt; CoreAnimation.CADisplayLink" Usage="uIScreen.CreateDisplayLink action" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<ReturnValue>
<ReturnType>CoreAnimation.CADisplayLink</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="action" Type="System.Action" />
</Parameters>
<Docs>
<param name="action">Delegate method to invoke when the screen needs to be updated.</param>
<summary>Registers a method to be invoked whenever the display screen needs to be updated.</summary>
<returns>The active display link that can be configured, read from and scheduled to deliver events.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateDisplayLink">
<MemberSignature Language="C#" Value="public virtual CoreAnimation.CADisplayLink CreateDisplayLink (Foundation.NSObject target, ObjCRuntime.Selector sel);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class CoreAnimation.CADisplayLink CreateDisplayLink(class Foundation.NSObject target, class ObjCRuntime.Selector sel) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIScreen.CreateDisplayLink(Foundation.NSObject,ObjCRuntime.Selector)" />
<MemberSignature Language="F#" Value="abstract member CreateDisplayLink : Foundation.NSObject * ObjCRuntime.Selector -&gt; CoreAnimation.CADisplayLink&#xA;override this.CreateDisplayLink : Foundation.NSObject * ObjCRuntime.Selector -&gt; CoreAnimation.CADisplayLink" Usage="uIScreen.CreateDisplayLink (target, sel)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("displayLinkWithTarget:selector:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>CoreAnimation.CADisplayLink</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="target" Type="Foundation.NSObject" />
<Parameter Name="sel" Type="ObjCRuntime.Selector" />
</Parameters>
<Docs>
<param name="target">Target object</param>
<param name="sel">Selector method to invoke on the target object.</param>
<summary>Old-style registeration of a method to be invoked whenever the display screen needs to be updated.</summary>
<returns>
</returns>
<returns>The active display link that can be configured, read from and scheduled to deliver events.</returns>
<remarks>
<para>
You can configure the display link by setting the <see cref="P:CoreAnimation.CADisplayLink.FrameInterval" />
and <see cref="P:CoreAnimation.CADisplayLink.Paused" />
properties. Once you have done this, you need to add the
display link to a run loop, which is the run loop that
will be used to invoke the <paramref name="action" />
method.
</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
void Setup ()
{
var link = UIScreen.CreateDisplayLink (this, new Selector ("callback")]
// The default is 1, we want updates only once every 2 frames instead:
link.FrameInterval = 2;
link.AddToRunLoop (NSRunLoop.CurrentRunLoop, NSRunLoop.NSDefaultRunLoopMode);
}
[Export ("callback")]
void WillRefresh ()
{
This method is invoked
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="CurrentMode">
<MemberSignature Language="C#" Value="public virtual UIKit.UIScreenMode CurrentMode { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UIScreenMode CurrentMode" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.CurrentMode" />
<MemberSignature Language="F#" Value="member this.CurrentMode : UIKit.UIScreenMode with get, set" Usage="UIKit.UIScreen.CurrentMode" />
<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("currentMode", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setCurrentMode:", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIScreenMode</ReturnType>
</ReturnValue>
<Docs>
<summary>The active screen mode of this UIScreen.</summary>
<value>
<para>The <see cref="T:UIKit.UIScreenMode" /> contains the pixel aspect ratio and size.</para>
<para tool="nullallowed">This value can be <see langword="null" />.</para>
</value>
<remarks>
<para>Application developers should note that the <see cref="P:UIKit.UIScreenMode.Size" /> value is constant. That is, it's <see cref="P:System.Drawing.SizeF.Height" /> and <see cref="P:System.Drawing.SizeF.Width" /> do not switch due to the device's orientation.</para>
</remarks>
<altmember cref="P:UIKit.UIScreen.AvailableModes" />
<altmember cref="P:UIKit.UIScreen.PreferredMode" />
</Docs>
</Member>
<Member MemberName="DidConnectNotification">
<MemberSignature Language="C#" Value="public static Foundation.NSString DidConnectNotification { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Foundation.NSString DidConnectNotification" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.DidConnectNotification" />
<MemberSignature Language="F#" Value="member this.DidConnectNotification : Foundation.NSString" Usage="UIKit.UIScreen.DidConnectNotification" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Advice("Use UIScreen.Notifications.ObserveDidConnect helper method instead.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>Foundation.Field("UIScreenDidConnectNotification", "UIKit")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSString</ReturnType>
</ReturnValue>
<Docs>
<summary>Notification constant for DidConnect</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<para id="tool-remark">If you want to subscribe to this notification, you can use the convenience <see cref="T:UIKit.UIScreen.Notifications" />.<see cref="M:UIKit.UIScreen.Notifications.ObserveDidConnect*" /> method which offers strongly typed access to the parameters of the notification.</para>
<para>The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// Lambda style
//
// listening
notification = UIScreen.Notifications.ObserveDidConnect ((sender, args) => {
/* Access strongly typed args */
Console.WriteLine ("Notification: {0}", args.Notification);
});
// To stop listening:
notification.Dispose ();
//
// Method style
//
NSObject notification;
void Callback (object sender, Foundation.NSNotificationEventArgs args)
{
// Access strongly typed args
Console.WriteLine ("Notification: {0}", args.Notification);
}
void Setup ()
{
notification = UIScreen.Notifications.ObserveDidConnect (Callback);
}
void Teardown ()
{
notification.Dispose ();
}]]></code>
</example>
<para>The following example shows how to use the notification with the DefaultCenter API:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
UIScreen.DidConnectNotification, (notification) => {Console.WriteLine ("Received the notification UIScreen", notification); }
// Method style
void Callback (NSNotification notification)
{
Console.WriteLine ("Received a notification UIScreen", notification);
}
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (UIScreen.DidConnectNotification, Callback);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="DidDisconnectNotification">
<MemberSignature Language="C#" Value="public static Foundation.NSString DidDisconnectNotification { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Foundation.NSString DidDisconnectNotification" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.DidDisconnectNotification" />
<MemberSignature Language="F#" Value="member this.DidDisconnectNotification : Foundation.NSString" Usage="UIKit.UIScreen.DidDisconnectNotification" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Advice("Use UIScreen.Notifications.ObserveDidDisconnect helper method instead.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>Foundation.Field("UIScreenDidDisconnectNotification", "UIKit")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSString</ReturnType>
</ReturnValue>
<Docs>
<summary>Notification constant for DidDisconnect</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<para id="tool-remark">If you want to subscribe to this notification, you can use the convenience <see cref="T:UIKit.UIScreen.Notifications" />.<see cref="M:UIKit.UIScreen.Notifications.ObserveDidDisconnect*" /> method which offers strongly typed access to the parameters of the notification.</para>
<para>The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// Lambda style
//
// listening
notification = UIScreen.Notifications.ObserveDidDisconnect ((sender, args) => {
/* Access strongly typed args */
Console.WriteLine ("Notification: {0}", args.Notification);
});
// To stop listening:
notification.Dispose ();
//
// Method style
//
NSObject notification;
void Callback (object sender, Foundation.NSNotificationEventArgs args)
{
// Access strongly typed args
Console.WriteLine ("Notification: {0}", args.Notification);
}
void Setup ()
{
notification = UIScreen.Notifications.ObserveDidDisconnect (Callback);
}
void Teardown ()
{
notification.Dispose ();
}]]></code>
</example>
<para>The following example shows how to use the notification with the DefaultCenter API:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
UIScreen.DidDisconnectNotification, (notification) => {Console.WriteLine ("Received the notification UIScreen", notification); }
// Method style
void Callback (NSNotification notification)
{
Console.WriteLine ("Received a notification UIScreen", notification);
}
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (UIScreen.DidDisconnectNotification, Callback);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="protected override void Dispose (bool disposing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Dispose(bool disposing) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIScreen.Dispose(System.Boolean)" />
<MemberSignature Language="F#" Value="override this.Dispose : bool -&gt; unit" Usage="uIScreen.Dispose disposing" />
<MemberType>Method</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>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="disposing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="disposing">
<para>If set to <see langword="true" />, the method is invoked directly and will dispose manage and unmanaged resources; If set to <see langword="false" /> the method is being called by the garbage collector finalizer and should only release unmanaged resources.</para>
</param>
<summary>Releases the resources used by the UIScreen object.</summary>
<remarks>
<para>This Dispose method releases the resources used by the UIScreen class.</para>
<para>This method is called by both the Dispose() method and the object finalizer (Finalize). When invoked by the Dispose method, the parameter disposing <paramref name="disposing" /> is set to <see langword="true" /> and any managed object references that this object holds are also disposed or released; when invoked by the object finalizer, on the finalizer thread the value is set to <see langword="false" />. </para>
<para>Calling the Dispose method when the application is finished using the UIScreen ensures that all external resources used by this managed object are released as soon as possible. Once developers have invoked the Dispose method, the object is no longer useful and developers should no longer make any calls to it.</para>
<para> For more information on how to override this method and on the Dispose/IDisposable pattern, read the ``Implementing a Dispose Method'' document at https://msdn.microsoft.com/en-us/library/fs2xkftw.aspx</para>
</remarks>
</Docs>
</Member>
<Member MemberName="FixedCoordinateSpace">
<MemberSignature Language="C#" Value="public virtual UIKit.IUICoordinateSpace FixedCoordinateSpace { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.IUICoordinateSpace FixedCoordinateSpace" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.FixedCoordinateSpace" />
<MemberSignature Language="F#" Value="member this.FixedCoordinateSpace : UIKit.IUICoordinateSpace" Usage="UIKit.UIScreen.FixedCoordinateSpace" />
<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, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("fixedCoordinateSpace")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.IUICoordinateSpace</ReturnType>
</ReturnValue>
<Docs>
<summary>A fixed coordinate space for the screen. (read-only)</summary>
<value>
</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FocusedItem">
<MemberSignature Language="C#" Value="public virtual UIKit.IUIFocusItem FocusedItem { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.IUIFocusItem FocusedItem" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.FocusedItem" />
<MemberSignature Language="F#" Value="member this.FocusedItem : UIKit.IUIFocusItem" Usage="UIKit.UIScreen.FocusedItem" />
<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, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("focusedItem", ObjCRuntime.ArgumentSemantic.Weak)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.IUIFocusItem</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:UIKit.IUIFocusItem" /> that has the focus.</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="FocusedView">
<MemberSignature Language="C#" Value="public virtual UIKit.UIView FocusedView { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UIView FocusedView" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.FocusedView" />
<MemberSignature Language="F#" Value="member this.FocusedView : UIKit.UIView" Usage="UIKit.UIScreen.FocusedView" />
<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, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("focusedView", ObjCRuntime.ArgumentSemantic.Weak)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIView</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the view that has the focus.</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="MainScreen">
<MemberSignature Language="C#" Value="public static UIKit.UIScreen MainScreen { get; }" />
<MemberSignature Language="ILAsm" Value=".property class UIKit.UIScreen MainScreen" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.MainScreen" />
<MemberSignature Language="F#" Value="member this.MainScreen : UIKit.UIScreen" Usage="UIKit.UIScreen.MainScreen" />
<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("mainScreen")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIScreen</ReturnType>
</ReturnValue>
<Docs>
<summary>The UIScreen representing the device's screen.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MaximumFramesPerSecond">
<MemberSignature Language="C#" Value="public virtual nint MaximumFramesPerSecond { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.nint MaximumFramesPerSecond" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.MaximumFramesPerSecond" />
<MemberSignature Language="F#" Value="member this.MaximumFramesPerSecond : nint" Usage="UIKit.UIScreen.MaximumFramesPerSecond" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Xamarin.iOS</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("maximumFramesPerSecond")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nint</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the maximum frames per second that the display can handle.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MirroredScreen">
<MemberSignature Language="C#" Value="public virtual UIKit.UIScreen MirroredScreen { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UIScreen MirroredScreen" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.MirroredScreen" />
<MemberSignature Language="F#" Value="member this.MirroredScreen : UIKit.UIScreen" Usage="UIKit.UIScreen.MirroredScreen" />
<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("mirroredScreen", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIScreen</ReturnType>
</ReturnValue>
<Docs>
<summary>The UIScreen that is being mirrored by an external display. Read-only.</summary>
<value>
<see langword="null" /> if there is no currently-attached external display.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ModeDidChangeNotification">
<MemberSignature Language="C#" Value="public static Foundation.NSString ModeDidChangeNotification { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Foundation.NSString ModeDidChangeNotification" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.ModeDidChangeNotification" />
<MemberSignature Language="F#" Value="member this.ModeDidChangeNotification : Foundation.NSString" Usage="UIKit.UIScreen.ModeDidChangeNotification" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Advice("Use UIScreen.Notifications.ObserveModeDidChange helper method instead.")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>Foundation.Field("UIScreenModeDidChangeNotification", "UIKit")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Foundation.NSString</ReturnType>
</ReturnValue>
<Docs>
<summary>Notification constant for ModeDidChange</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<para id="tool-remark">If you want to subscribe to this notification, you can use the convenience <see cref="T:UIKit.UIScreen.Notifications" />.<see cref="M:UIKit.UIScreen.Notifications.ObserveModeDidChange*" /> method which offers strongly typed access to the parameters of the notification.</para>
<para>The following example shows how to use the strongly typed Notifications class, to take the guesswork out of the available properties in the notification:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
//
// Lambda style
//
// listening
notification = UIScreen.Notifications.ObserveModeDidChange ((sender, args) => {
/* Access strongly typed args */
Console.WriteLine ("Notification: {0}", args.Notification);
});
// To stop listening:
notification.Dispose ();
//
// Method style
//
NSObject notification;
void Callback (object sender, Foundation.NSNotificationEventArgs args)
{
// Access strongly typed args
Console.WriteLine ("Notification: {0}", args.Notification);
}
void Setup ()
{
notification = UIScreen.Notifications.ObserveModeDidChange (Callback);
}
void Teardown ()
{
notification.Dispose ();
}]]></code>
</example>
<para>The following example shows how to use the notification with the DefaultCenter API:</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
UIScreen.ModeDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification UIScreen", notification); }
// Method style
void Callback (NSNotification notification)
{
Console.WriteLine ("Received a notification UIScreen", notification);
}
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (UIScreen.ModeDidChangeNotification, Callback);
}
]]></code>
</example>
</remarks>
</Docs>
</Member>
<Member MemberName="NativeBounds">
<MemberSignature Language="C#" Value="public virtual CoreGraphics.CGRect NativeBounds { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype CoreGraphics.CGRect NativeBounds" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.NativeBounds" />
<MemberSignature Language="F#" Value="member this.NativeBounds : CoreGraphics.CGRect" Usage="UIKit.UIScreen.NativeBounds" />
<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, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("nativeBounds")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>CoreGraphics.CGRect</ReturnType>
</ReturnValue>
<Docs>
<summary>Bounding rectangle for the screen, measured in pixels.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="NativeScale">
<MemberSignature Language="C#" Value="public virtual nfloat NativeScale { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.nfloat NativeScale" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.NativeScale" />
<MemberSignature Language="F#" Value="member this.NativeScale : nfloat" Usage="UIKit.UIScreen.NativeScale" />
<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, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("nativeScale")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nfloat</ReturnType>
</ReturnValue>
<Docs>
<summary>Physical screen native scale factor.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OverscanCompensation">
<MemberSignature Language="C#" Value="public virtual UIKit.UIScreenOverscanCompensation OverscanCompensation { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype UIKit.UIScreenOverscanCompensation OverscanCompensation" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.OverscanCompensation" />
<MemberSignature Language="F#" Value="member this.OverscanCompensation : UIKit.UIScreenOverscanCompensation with get, set" Usage="UIKit.UIScreen.OverscanCompensation" />
<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("overscanCompensation")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setOverscanCompensation:")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIScreenOverscanCompensation</ReturnType>
</ReturnValue>
<Docs>
<summary>The technique used to compensate for overscan on an external screen.</summary>
<value>The default value is <see cref="F:UIKit.UIScreenOverscanCompensation.Scale" />.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OverscanCompensationInsets">
<MemberSignature Language="C#" Value="public virtual UIKit.UIEdgeInsets OverscanCompensationInsets { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype UIKit.UIEdgeInsets OverscanCompensationInsets" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.OverscanCompensationInsets" />
<MemberSignature Language="F#" Value="member this.OverscanCompensationInsets : UIKit.UIEdgeInsets" Usage="UIKit.UIScreen.OverscanCompensationInsets" />
<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, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("overscanCompensationInsets")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIEdgeInsets</ReturnType>
</ReturnValue>
<Docs>
<summary>Edge insets needed to avoid clipping.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PreferredMode">
<MemberSignature Language="C#" Value="public virtual UIKit.UIScreenMode PreferredMode { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UIScreenMode PreferredMode" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.PreferredMode" />
<MemberSignature Language="F#" Value="member this.PreferredMode : UIKit.UIScreenMode" Usage="UIKit.UIScreen.PreferredMode" />
<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.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("preferredMode", ObjCRuntime.ArgumentSemantic.Strong)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIScreenMode</ReturnType>
</ReturnValue>
<Docs>
<summary>The preferred display mode for this UIScreen. Read-only.</summary>
<value>
</value>
<remarks>To be added.</remarks>
<altmember cref="P:UIKit.UIScreen.AvailableModes" />
<altmember cref="P:UIKit.UIScreen.CurrentMode" />
</Docs>
</Member>
<Member MemberName="Scale">
<MemberSignature Language="C#" Value="public virtual nfloat Scale { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.nfloat Scale" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.Scale" />
<MemberSignature Language="F#" Value="member this.Scale : nfloat" Usage="UIKit.UIScreen.Scale" />
<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("scale")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.nfloat</ReturnType>
</ReturnValue>
<Docs>
<summary>The natural scale factor of this UIScreen. Read-only.</summary>
<value>1.0 for standard-resolution displays, 2.0 for Retina displays.</value>
<remarks>
<para>This property holds the scale necessary to convert between "logical" coordinate space (measured in points) and the screen's coordinate space. On standard-resolution displays, the value is 1.0. On Retina displays, this value is 2.0, so a logical point comprises 4 pixels.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="Screens">
<MemberSignature Language="C#" Value="public static UIKit.UIScreen[] Screens { get; }" />
<MemberSignature Language="ILAsm" Value=".property class UIKit.UIScreen[] Screens" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.Screens" />
<MemberSignature Language="F#" Value="member this.Screens : UIKit.UIScreen[]" Usage="UIKit.UIScreen.Screens" />
<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("screens")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIScreen[]</ReturnType>
</ReturnValue>
<Docs>
<summary>All the screens attached the device.</summary>
<value>The main screen is always at index 0.</value>
<remarks>The main screen is always at index 0 in this array.</remarks>
</Docs>
</Member>
<Member MemberName="SnapshotView">
<MemberSignature Language="C#" Value="public virtual UIKit.UIView SnapshotView (bool afterScreenUpdates);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class UIKit.UIView SnapshotView(bool afterScreenUpdates) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIScreen.SnapshotView(System.Boolean)" />
<MemberSignature Language="F#" Value="abstract member SnapshotView : bool -&gt; UIKit.UIView&#xA;override this.SnapshotView : bool -&gt; UIKit.UIView" Usage="uIScreen.SnapshotView afterScreenUpdates" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("snapshotViewAfterScreenUpdates:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UIView</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="afterScreenUpdates" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="afterScreenUpdates">To be added.</param>
<summary>Creates a snapshot of the current screen's contents.</summary>
<returns>A new <see cref="T:UIKit.UIView" /> based on the current screen contents.</returns>
<remarks>
<para>The <see cref="T:UIKit.UIView" /> created by this method will contain an image based on the screen's current contents. Application developers can manipulate the resulting <see cref="T:UIKit.UIView" /> normally, except that attempts to manipulate the <format type="text/html"><a href="https://docs.microsoft.com/en-us/search/index?search=T:UIKit.CoreAnimation.CGImage&amp;scope=Xamarin" title="T:UIKit.CoreAnimation.CGImage">T:UIKit.CoreAnimation.CGImage</a></format> of it's <see cref="P:UIKit.UIView.Layer" />'s <see cref="P:CoreAnimation.CALayer.Contents" /> will silently fail.</para>
</remarks>
</Docs>
</Member>
<Member MemberName="SupportsFocus">
<MemberSignature Language="C#" Value="public virtual bool SupportsFocus { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool SupportsFocus" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.SupportsFocus" />
<MemberSignature Language="F#" Value="member this.SupportsFocus : bool" Usage="UIKit.UIScreen.SupportsFocus" />
<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, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("supportsFocus")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a Boolean value that controls whether the screen supports focus input.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TraitCollection">
<MemberSignature Language="C#" Value="public virtual UIKit.UITraitCollection TraitCollection { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class UIKit.UITraitCollection TraitCollection" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.TraitCollection" />
<MemberSignature Language="F#" Value="member this.TraitCollection : UIKit.UITraitCollection" Usage="UIKit.UIScreen.TraitCollection" />
<MemberType>Property</MemberType>
<Implements>
<InterfaceMember>P:UIKit.IUITraitEnvironment.TraitCollection</InterfaceMember>
</Implements>
<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, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("traitCollection")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>UIKit.UITraitCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>Characteristics of the display, such as it's idiom, scale, and size class.</summary>
<value>A UITraitCollection that relates to the display.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TraitCollectionDidChange">
<MemberSignature Language="C#" Value="public virtual void TraitCollectionDidChange (UIKit.UITraitCollection previousTraitCollection);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void TraitCollectionDidChange(class UIKit.UITraitCollection previousTraitCollection) cil managed" />
<MemberSignature Language="DocId" Value="M:UIKit.UIScreen.TraitCollectionDidChange(UIKit.UITraitCollection)" />
<MemberSignature Language="F#" Value="abstract member TraitCollectionDidChange : UIKit.UITraitCollection -&gt; unit&#xA;override this.TraitCollectionDidChange : UIKit.UITraitCollection -&gt; unit" Usage="uIScreen.TraitCollectionDidChange previousTraitCollection" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:UIKit.IUITraitEnvironment.TraitCollectionDidChange(UIKit.UITraitCollection)</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<AssemblyName>Xamarin.iOS</AssemblyName>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>Foundation.Export("traitCollectionDidChange:")</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>
<Attribute>
<AttributeName>ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="previousTraitCollection" Type="UIKit.UITraitCollection" />
</Parameters>
<Docs>
<param name="previousTraitCollection">The previous set of traits. When this method is invoked, the <see cref="P:UIKit.UIViewController.TraitCollection" /> property has already been updated to reflect the new active traits.</param>
<summary>Method invoked when the trait collection for the view controller changed.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="WantsSoftwareDimming">
<MemberSignature Language="C#" Value="public virtual bool WantsSoftwareDimming { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool WantsSoftwareDimming" />
<MemberSignature Language="DocId" Value="P:UIKit.UIScreen.WantsSoftwareDimming" />
<MemberSignature Language="F#" Value="member this.WantsSoftwareDimming : bool with get, set" Usage="UIKit.UIScreen.WantsSoftwareDimming" />
<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.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: Foundation.Export("wantsSoftwareDimming")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>get: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: Foundation.Export("setWantsSoftwareDimming:")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>set: ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Whether this UIScreen can be dimmed lower than hardware capacity by software emulation.</summary>
<value>The default value is <see langword="false" />.</value>
<remarks>
<para>Setting this value to <see langword="true" /> may have a performance impact.</para>
</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.