-
-
Save vs-mobiletools-engineering-service2/2923d3b035fda2c601c675818f6126fb to your computer and use it in GitHub Desktop.
generator-diff/generator.diff
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
index 11b52b1..5944e37 100644 | |
--- a/old/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.AssemblyInfo.cs | |
@@ -13,7 +13,7 @@ using System.Reflection; | |
[assembly: System.Reflection.AssemblyCompanyAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] | |
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] | |
-[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+cb34348455712741ad2b5fcc9c18800df88d4643")] | |
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e64f4429bc88173b308902964a8bf2ebf4894725")] | |
[assembly: System.Reflection.AssemblyProductAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyTitleAttribute("bgen")] | |
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] | |
diff --git a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
index 56c172b..6e54984 100644 | |
--- a/old/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
+++ b/new/dotnet/IDE/obj/common/bgen/bgen.sourcelink.json | |
@@ -1 +1 @@ | |
-{"documents":{"/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/cb34348455712741ad2b5fcc9c18800df88d4643/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/d1ed5a2dbb0e8f3d91b9bb91e0c921ae90403b7d/*"}} | |
\ No newline at end of file | |
+{"documents":{"/Users/builder/azdo/_work/1/s/xamarin-macios/*":"https://raw.githubusercontent.com/xamarin/xamarin-macios/e64f4429bc88173b308902964a8bf2ebf4894725/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/api-tools/*":"https://raw.githubusercontent.com/xamarin/api-tools/1fbbe003a141231439c08b23989d3dc910bd6182/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/macios-binaries/*":"https://raw.githubusercontent.com/xamarin/macios-binaries/7813391e75d7373ee073ef2d5716e3c607c8636a/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/MonoTouch.Dialog/*":"https://raw.githubusercontent.com/xamarin/MonoTouch.Dialog/77b3337dbbc9e3e2f1b06dab3d37d2822488b0b3/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/opentk/*":"https://raw.githubusercontent.com/mono/opentk/396bc90c7ac2e7ce442840a5e8bd91e5e79b381e/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/Touch.Unit/*":"https://raw.githubusercontent.com/xamarin/Touch.Unit/92a072683b69b2f61f235a7a249c2c7f261236d4/*","/Users/builder/azdo/_work/1/s/xamarin-macios/external/Xamarin.MacDev/*":"https://raw.githubusercontent.com/xamarin/Xamarin.MacDev/d1ed5a2dbb0e8f3d91b9bb91e0c921ae90403b7d/*"}} | |
\ No newline at end of file | |
diff --git a/old/dotnet/ios/SourceLink.json b/new/dotnet/ios/SourceLink.json | |
index 57c6a44..1b0c1b6 100644 | |
--- a/old/dotnet/ios/SourceLink.json | |
+++ b/new/dotnet/ios/SourceLink.json | |
@@ -1,5 +1,5 @@ | |
{ | |
"documents": { | |
- "/Users/builder/azdo/_work/1/a/change-detection/tmp/src/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/cb34348455712741ad2b5fcc9c18800df88d4643/src*" | |
+ "/Users/builder/azdo/_work/1/s/xamarin-macios/src*": "https://raw.githubusercontent.com/xamarin/xamarin-macios/e64f4429bc88173b308902964a8bf2ebf4894725/src*" | |
} | |
} | |
diff --git a/old/dotnet/ios/doc/Microsoft.iOS.xml b/new/dotnet/ios/doc/Microsoft.iOS.xml | |
index 317ce3c..b6bc9f6 100644 | |
--- a/old/dotnet/ios/doc/Microsoft.iOS.xml | |
+++ b/new/dotnet/ios/doc/Microsoft.iOS.xml | |
@@ -987,6 +987,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:ARKit.ARCoachingOverlayView.ARCoachingOverlayViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:ARKit.ARCoachingOverlayView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:ARKit.ARCoachingOverlayView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:ARKit.ARCoachingOverlayView.Appearance" /> property or by calling <see cref="M:ARKit.ARCoachingOverlayView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:ARKit.ARCoachingOverlayView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:ARKit.ARCoachingOverlayView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:ARKit.ARCoachingOverlayView" />, they should use the <see cref="M:ARKit.ARCoachingOverlayView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARCoachingOverlayView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARCoachingOverlayView.ARCoachingOverlayViewAppearance" /> for the subclass of <see cref="T:ARKit.ARCoachingOverlayView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:ARKit.ARCoachingOverlayView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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:ARKit.ARCoachingOverlayView.Appearance" /> property, or the <see cref="M:ARKit.ARCoachingOverlayView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = ARCoachingOverlayView.GetAppearance<MyARCoachingOverlayViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARCoachingOverlayView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:ARKit.ARCoachingOverlayView" /> 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 <see cref="T:ARKit.ARCoachingOverlayView" />, they should use the <see cref="M:ARKit.ARCoachingOverlayView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:ARKit.ARCoachingOverlayView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARCoachingOverlayView.ARCoachingOverlayViewAppearance" /> for <see cref="T:ARKit.ARCoachingOverlayView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARCoachingOverlayView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:ARKit.ARCoachingOverlayView" />, they should use the <see cref="M:ARKit.ARCoachingOverlayView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARCoachingOverlayView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARCoachingOverlayView.ARCoachingOverlayViewAppearance" /> for <see cref="T:ARKit.ARCoachingOverlayView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARCoachingOverlayView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:ARKit.ARCoachingOverlayView" />, they should use the <see cref="M:ARKit.ARCoachingOverlayView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARCoachingOverlayView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARCoachingOverlayView.ARCoachingOverlayViewAppearance" /> for the subclass of <see cref="T:ARKit.ARCoachingOverlayView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:ARKit.ARCoachingOverlayView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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:ARKit.ARCoachingOverlayView.Appearance" /> property, or the <see cref="M:ARKit.ARCoachingOverlayView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARCoachingOverlayView.GetAppearance<MyARCoachingOverlayViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARCoachingOverlayView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARCoachingOverlayView.ARCoachingOverlayViewAppearance" /> for the subclass of <see cref="T:ARKit.ARCoachingOverlayView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:ARKit.ARCoachingOverlayView" />.</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> | |
+ <returns> | |
+ <para>An 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:ARKit.ARCoachingOverlayView.Appearance" /> property, or the <see cref="M:ARKit.ARCoachingOverlayView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARCoachingOverlayView.GetAppearance<MyARCoachingOverlayViewSubclass> (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> | |
+ </member> | |
<member name="M:ARKit.ARCoachingOverlayViewDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
@@ -3516,6 +3648,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:ARKit.ARSCNView.ARSCNViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:ARKit.ARSCNView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:ARKit.ARSCNView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:ARKit.ARSCNView.Appearance" /> property or by calling <see cref="M:ARKit.ARSCNView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:ARKit.ARSCNView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:ARKit.ARSCNView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:ARKit.ARSCNView" />, they should use the <see cref="M:ARKit.ARSCNView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARSCNView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARSCNView.ARSCNViewAppearance" /> for the subclass of <see cref="T:ARKit.ARSCNView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:ARKit.ARSCNView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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:ARKit.ARSCNView.Appearance" /> property, or the <see cref="M:ARKit.ARSCNView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = ARSCNView.GetAppearance<MyARSCNViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARSCNView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:ARKit.ARSCNView" /> 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 <see cref="T:ARKit.ARSCNView" />, they should use the <see cref="M:ARKit.ARSCNView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:ARKit.ARSCNView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARSCNView.ARSCNViewAppearance" /> for <see cref="T:ARKit.ARSCNView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARSCNView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:ARKit.ARSCNView" />, they should use the <see cref="M:ARKit.ARSCNView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARSCNView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARSCNView.ARSCNViewAppearance" /> for <see cref="T:ARKit.ARSCNView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARSCNView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:ARKit.ARSCNView" />, they should use the <see cref="M:ARKit.ARSCNView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARSCNView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARSCNView.ARSCNViewAppearance" /> for the subclass of <see cref="T:ARKit.ARSCNView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:ARKit.ARSCNView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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:ARKit.ARSCNView.Appearance" /> property, or the <see cref="M:ARKit.ARSCNView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARSCNView.GetAppearance<MyARSCNViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARSCNView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARSCNView.ARSCNViewAppearance" /> for the subclass of <see cref="T:ARKit.ARSCNView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:ARKit.ARSCNView" />.</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> | |
+ <returns> | |
+ <para>An 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:ARKit.ARSCNView.Appearance" /> property, or the <see cref="M:ARKit.ARSCNView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARSCNView.GetAppearance<MyARSCNViewSubclass> (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> | |
+ </member> | |
<member name="M:ARKit.ARSCNViewDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
@@ -3837,139 +4101,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:ARKit.ARSKViewDelegate.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="T:ARKit.ARSKView.ARSKViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:ARKit.ARSKView" />.</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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:ARKit.ARSKView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:ARKit.ARSKView.Appearance" /> property or by calling <see cref="M:ARKit.ARSKView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:ARKit.ARSKView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:ARKit.ARSKView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:ARKit.ARSKView" />, they should use the <see cref="M:ARKit.ARSKView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARSKView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARSKView.ARSKViewAppearance" /> for the subclass of <see cref="T:ARKit.ARSKView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:ARKit.ARSKView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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:ARKit.ARSKView.Appearance" /> property, or the <see cref="M:ARKit.ARSKView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTheme = ARSKView.GetAppearance<MyARSKViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:ARKit.ARSKViewDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:ARKit.ARSKView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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> | |
- 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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:ARKit.ARSKView" /> 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 <see cref="T:ARKit.ARSKView" />, they should use the <see cref="M:ARKit.ARSKView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
</member> | |
- <member name="P:ARKit.ARTrackedRaycast.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="M:ARKit.ARSKView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARSKView.ARSKViewAppearance" /> for <see cref="T:ARKit.ARSKView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARSKView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:ARKit.ARSKView" />, they should use the <see cref="M:ARKit.ARSKView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:ARKit.ARTrackedRaycast.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="M:ARKit.ARSKView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARSKView.ARSKViewAppearance" /> for <see cref="T:ARKit.ARSKView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARSKView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:ARKit.ARSKView" />, they should use the <see cref="M:ARKit.ARSKView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:ARKit.ARTrackedRaycast.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:ARKit.ARSKView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARSKView.ARSKViewAppearance" /> for the subclass of <see cref="T:ARKit.ARSKView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:ARKit.ARSKView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <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:ARKit.ARSKView.Appearance" /> property, or the <see cref="M:ARKit.ARSKView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARSKView.GetAppearance<MyARSKViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="P:ARKit.ARVideoFormat.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="M:ARKit.ARSKView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:ARKit.ARSKView.ARSKViewAppearance" /> for the subclass of <see cref="T:ARKit.ARSKView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:ARKit.ARSKView" />.</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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </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:ARKit.ARSKView.Appearance" /> property, or the <see cref="M:ARKit.ARSKView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ARSKView.GetAppearance<MyARSKViewSubclass> (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> | |
</member> | |
- <member name="M:ARKit.ARVideoFormat.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:ARKit.ARSKViewDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4016,7 +4280,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:ARKit.ARVideoFormat.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:ARKit.ARSKViewDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4026,7 +4290,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:ARKit.ARWorldMap.ClassHandle"> | |
+ <member name="P:ARKit.ARTrackedRaycast.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4035,16 +4299,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:ARKit.ARWorldMap.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
- <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
- </remarks> | |
- </member> | |
- <member name="M:ARKit.ARWorldMap.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:ARKit.ARTrackedRaycast.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4091,7 +4346,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:ARKit.ARWorldMap.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:ARKit.ARTrackedRaycast.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4101,7 +4356,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:ARKit.ARWorldTrackingConfiguration.ClassHandle"> | |
+ <member name="P:ARKit.ARVideoFormat.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4110,7 +4365,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:ARKit.ARWorldTrackingConfiguration.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:ARKit.ARVideoFormat.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4157,7 +4412,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:ARKit.ARWorldTrackingConfiguration.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:ARKit.ARVideoFormat.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4167,7 +4422,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAssetDownloadStorageManagementPolicy.ClassHandle"> | |
+ <member name="P:ARKit.ARWorldMap.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4176,7 +4431,16 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAssetDownloadStorageManagementPolicy.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:ARKit.ARWorldMap.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:ARKit.ARWorldMap.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4223,7 +4487,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAssetDownloadStorageManagementPolicy.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:ARKit.ARWorldMap.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4233,7 +4497,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVMutableAssetDownloadStorageManagementPolicy.ClassHandle"> | |
+ <member name="P:ARKit.ARWorldTrackingConfiguration.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4242,7 +4506,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVMutableAssetDownloadStorageManagementPolicy.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:ARKit.ARWorldTrackingConfiguration.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4289,7 +4553,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVMutableAssetDownloadStorageManagementPolicy.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:ARKit.ARWorldTrackingConfiguration.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4299,7 +4563,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAssetDownloadTask.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAssetDownloadStorageManagementPolicy.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4308,7 +4572,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAssetDownloadTask.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAssetDownloadStorageManagementPolicy.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4355,7 +4619,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAssetDownloadTask.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAssetDownloadStorageManagementPolicy.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4365,7 +4629,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAssetDownloadUrlSession.ClassHandle"> | |
+ <member name="P:AVFoundation.AVMutableAssetDownloadStorageManagementPolicy.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4374,7 +4638,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAssetDownloadUrlSession.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVMutableAssetDownloadStorageManagementPolicy.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4421,7 +4685,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAssetDownloadUrlSession.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVMutableAssetDownloadStorageManagementPolicy.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4431,7 +4695,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAssetResourceLoadingDataRequest.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAssetDownloadTask.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4440,7 +4704,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAssetResourceLoadingDataRequest.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAssetDownloadTask.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4487,7 +4751,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAssetResourceLoadingDataRequest.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAssetDownloadTask.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4497,7 +4761,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAudioBuffer.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAssetDownloadUrlSession.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4506,7 +4770,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioBuffer.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAssetDownloadUrlSession.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4553,7 +4817,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioBuffer.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAssetDownloadUrlSession.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4563,7 +4827,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAudioChannelLayout.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAssetResourceLoadingDataRequest.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4572,16 +4836,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioChannelLayout.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
- <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
- </remarks> | |
- </member> | |
- <member name="M:AVFoundation.AVAudioChannelLayout.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAssetResourceLoadingDataRequest.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4628,7 +4883,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioChannelLayout.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAssetResourceLoadingDataRequest.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4638,7 +4893,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAudioFormat.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAudioBuffer.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4647,16 +4902,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioFormat.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
- <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
- </remarks> | |
- </member> | |
- <member name="M:AVFoundation.AVAudioFormat.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAudioBuffer.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4703,7 +4949,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioFormat.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAudioBuffer.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4713,7 +4959,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAudioPlayer.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAudioChannelLayout.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4722,73 +4968,16 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioPlayer.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
- <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
- <example> | |
- <code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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> | |
- </member> | |
- <member name="M:AVFoundation.AVAudioPlayer.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:AVFoundation.AVAudioChannelLayout.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
<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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAudioRecorder.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:AVFoundation.AVAudioRecorder.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAudioChannelLayout.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4835,7 +5024,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioRecorder.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAudioChannelLayout.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4845,7 +5034,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAudioSessionDataSourceDescription.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAudioFormat.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4854,7 +5043,16 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioSessionDataSourceDescription.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAudioFormat.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AVFoundation.AVAudioFormat.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4901,7 +5099,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioSessionDataSourceDescription.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAudioFormat.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4911,7 +5109,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAudioSessionPortDescription.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAudioPlayer.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4920,7 +5118,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioSessionPortDescription.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAudioPlayer.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -4967,7 +5165,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioSessionPortDescription.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAudioPlayer.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -4977,7 +5175,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVAudioSinkNode.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAudioRecorder.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -4986,7 +5184,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioSinkNode.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAudioRecorder.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -5033,7 +5231,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioSinkNode.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAudioRecorder.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -5043,24 +5241,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="T:AVFoundation.AVAudioSourceNodeRenderHandler3"> | |
- <summary>The delegate that will be called in a callback from <see cref="T:AudioToolbox.AVAudioSourceNode" />.</summary> | |
- <returns>An OSStatus result code. Return 0 to indicate success.</returns> | |
- <param name="isSilence">Indicates whether the supplied audio data only contains silence.</param> | |
- <param name="timestamp">The timestamp the audio renders (HAL time).</param> | |
- <param name="frameCount">The number of frames of audio to supply.</param> | |
- <param name="outputData">The <see cref="T:AudioToolbox.AudioBuffers" /> that contains the supplied audio data when the callback returns.</param> | |
- </member> | |
- <member name="M:AVFoundation.AVAudioSourceNode.#ctor(AVFoundation.AVAudioSourceNodeRenderHandler3)"> | |
- <summary>Creates an <see cref="T:AudioToolbox.AVAudioSourceNode" /> with the specified callback to render audio.</summary> | |
- <param name="renderHandler">The callback that will be called to supply audio data.</param> | |
- </member> | |
- <member name="M:AVFoundation.AVAudioSourceNode.#ctor(AVFoundation.AVAudioFormat,AVFoundation.AVAudioSourceNodeRenderHandler3)"> | |
- <summary>Creates an <see cref="T:AudioToolbox.AVAudioSourceNode" /> with the specified callback to render audio.</summary> | |
- <param name="format">The format of the PCM audio data the callback supplies.</param> | |
- <param name="renderHandler">The callback that will be called to supply audio data.</param> | |
- </member> | |
- <member name="P:AVFoundation.AVAudioSourceNode.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAudioSessionDataSourceDescription.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -5069,7 +5250,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioSourceNode.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAudioSessionDataSourceDescription.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -5116,7 +5297,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioSourceNode.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAudioSessionDataSourceDescription.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -5126,16 +5307,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVAudioSourceNode.#ctor(AVFoundation.AVAudioSourceNodeRenderHandlerRaw)"> | |
- <summary>Creates an <see cref="T:AudioToolbox.AVAudioSourceNode" /> with the specified callback to render audio.</summary> | |
- <param name="renderHandler">The callback that will be called to supply audio data.</param> | |
- </member> | |
- <member name="M:AVFoundation.AVAudioSourceNode.#ctor(AVFoundation.AVAudioFormat,AVFoundation.AVAudioSourceNodeRenderHandlerRaw)"> | |
- <summary>Creates an <see cref="T:AudioToolbox.AVAudioSourceNode" /> with the specified callback to render audio.</summary> | |
- <param name="format">The format of the PCM audio data the callback supplies.</param> | |
- <param name="renderHandler">The callback that will be called to supply audio data.</param> | |
- </member> | |
- <member name="P:AVFoundation.AVCaptureDeviceInput.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAudioSessionPortDescription.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -5144,7 +5316,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVCaptureDeviceInput.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAudioSessionPortDescription.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -5191,7 +5363,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVCaptureDeviceInput.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAudioSessionPortDescription.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -5201,7 +5373,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVCaptureFileOutput.ClassHandle"> | |
+ <member name="P:AVFoundation.AVAudioSinkNode.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -5210,7 +5382,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVCaptureFileOutput.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAudioSinkNode.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -5257,7 +5429,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVCaptureFileOutput.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAudioSinkNode.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -5267,7 +5439,24 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVCaptureMetadataOutput.ClassHandle"> | |
+ <member name="T:AVFoundation.AVAudioSourceNodeRenderHandler3"> | |
+ <summary>The delegate that will be called in a callback from <see cref="T:AudioToolbox.AVAudioSourceNode" />.</summary> | |
+ <returns>An OSStatus result code. Return 0 to indicate success.</returns> | |
+ <param name="isSilence">Indicates whether the supplied audio data only contains silence.</param> | |
+ <param name="timestamp">The timestamp the audio renders (HAL time).</param> | |
+ <param name="frameCount">The number of frames of audio to supply.</param> | |
+ <param name="outputData">The <see cref="T:AudioToolbox.AudioBuffers" /> that contains the supplied audio data when the callback returns.</param> | |
+ </member> | |
+ <member name="M:AVFoundation.AVAudioSourceNode.#ctor(AVFoundation.AVAudioSourceNodeRenderHandler3)"> | |
+ <summary>Creates an <see cref="T:AudioToolbox.AVAudioSourceNode" /> with the specified callback to render audio.</summary> | |
+ <param name="renderHandler">The callback that will be called to supply audio data.</param> | |
+ </member> | |
+ <member name="M:AVFoundation.AVAudioSourceNode.#ctor(AVFoundation.AVAudioFormat,AVFoundation.AVAudioSourceNodeRenderHandler3)"> | |
+ <summary>Creates an <see cref="T:AudioToolbox.AVAudioSourceNode" /> with the specified callback to render audio.</summary> | |
+ <param name="format">The format of the PCM audio data the callback supplies.</param> | |
+ <param name="renderHandler">The callback that will be called to supply audio data.</param> | |
+ </member> | |
+ <member name="P:AVFoundation.AVAudioSourceNode.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -5276,7 +5465,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVCaptureMetadataOutput.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVAudioSourceNode.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -5323,7 +5512,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVCaptureMetadataOutput.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVAudioSourceNode.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -5333,7 +5522,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVCaptureSynchronizedDataCollection.ClassHandle"> | |
+ <member name="M:AVFoundation.AVAudioSourceNode.#ctor(AVFoundation.AVAudioSourceNodeRenderHandlerRaw)"> | |
+ <summary>Creates an <see cref="T:AudioToolbox.AVAudioSourceNode" /> with the specified callback to render audio.</summary> | |
+ <param name="renderHandler">The callback that will be called to supply audio data.</param> | |
+ </member> | |
+ <member name="M:AVFoundation.AVAudioSourceNode.#ctor(AVFoundation.AVAudioFormat,AVFoundation.AVAudioSourceNodeRenderHandlerRaw)"> | |
+ <summary>Creates an <see cref="T:AudioToolbox.AVAudioSourceNode" /> with the specified callback to render audio.</summary> | |
+ <param name="format">The format of the PCM audio data the callback supplies.</param> | |
+ <param name="renderHandler">The callback that will be called to supply audio data.</param> | |
+ </member> | |
+ <member name="P:AVFoundation.AVCaptureDeviceInput.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -5342,7 +5540,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVCaptureSynchronizedDataCollection.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVCaptureDeviceInput.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -5389,7 +5587,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVCaptureSynchronizedDataCollection.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:AVFoundation.AVCaptureDeviceInput.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -5399,7 +5597,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:AVFoundation.AVCaptureVideoPreviewLayer.ClassHandle"> | |
+ <member name="P:AVFoundation.AVCaptureFileOutput.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -5408,16 +5606,214 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:AVFoundation.AVCaptureVideoPreviewLayer.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
- <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
- </remarks> | |
- </member> | |
- <member name="M:AVFoundation.AVCaptureVideoPreviewLayer.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVFoundation.AVCaptureFileOutput.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureFileOutput.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:AVFoundation.AVCaptureMetadataOutput.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureMetadataOutput.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureMetadataOutput.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:AVFoundation.AVCaptureSynchronizedDataCollection.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureSynchronizedDataCollection.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureSynchronizedDataCollection.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:AVFoundation.AVCaptureVideoPreviewLayer.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureVideoPreviewLayer.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AVFoundation.AVCaptureVideoPreviewLayer.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -24050,73 +24446,205 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:AVKit.AVRoutePickerViewDelegate.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="T:AVKit.AVRoutePickerView.AVRoutePickerViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:AVKit.AVRoutePickerView" />.</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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:AVKit.AVRoutePickerView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:AVKit.AVRoutePickerView.Appearance" /> property or by calling <see cref="M:AVKit.AVRoutePickerView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:AVKit.AVRoutePickerView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:AVKit.AVRoutePickerView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:AVKit.AVRoutePickerView" />, they should use the <see cref="M:AVKit.AVRoutePickerView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AVKit.AVRoutePickerView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:AVKit.AVRoutePickerView.AVRoutePickerViewAppearance" /> for the subclass of <see cref="T:AVKit.AVRoutePickerView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AVKit.AVRoutePickerView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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:AVKit.AVRoutePickerView.Appearance" /> property, or the <see cref="M:AVKit.AVRoutePickerView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTheme = AVRoutePickerView.GetAppearance<MyAVRoutePickerViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:AVKit.AVRoutePickerViewDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:AVKit.AVRoutePickerView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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> | |
- 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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:AVKit.AVRoutePickerView" /> 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 <see cref="T:AVKit.AVRoutePickerView" />, they should use the <see cref="M:AVKit.AVRoutePickerView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
</member> | |
- <member name="P:AVRouting.AVCustomDeviceRoute.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="M:AVKit.AVRoutePickerView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:AVKit.AVRoutePickerView.AVRoutePickerViewAppearance" /> for <see cref="T:AVKit.AVRoutePickerView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = AVRoutePickerView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:AVKit.AVRoutePickerView" />, they should use the <see cref="M:AVKit.AVRoutePickerView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:AVRouting.AVCustomDeviceRoute.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:AVKit.AVRoutePickerView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:AVKit.AVRoutePickerView.AVRoutePickerViewAppearance" /> for <see cref="T:AVKit.AVRoutePickerView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = AVRoutePickerView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:AVKit.AVRoutePickerView" />, they should use the <see cref="M:AVKit.AVRoutePickerView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AVKit.AVRoutePickerView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:AVKit.AVRoutePickerView.AVRoutePickerViewAppearance" /> for the subclass of <see cref="T:AVKit.AVRoutePickerView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AVKit.AVRoutePickerView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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:AVKit.AVRoutePickerView.Appearance" /> property, or the <see cref="M:AVKit.AVRoutePickerView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = AVRoutePickerView.GetAppearance<MyAVRoutePickerViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AVKit.AVRoutePickerView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:AVKit.AVRoutePickerView.AVRoutePickerViewAppearance" /> for the subclass of <see cref="T:AVKit.AVRoutePickerView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AVKit.AVRoutePickerView" />.</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> | |
+ <returns> | |
+ <para>An 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:AVKit.AVRoutePickerView.Appearance" /> property, or the <see cref="M:AVKit.AVRoutePickerView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = AVRoutePickerView.GetAppearance<MyAVRoutePickerViewSubclass> (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> | |
+ </member> | |
+ <member name="M:AVKit.AVRoutePickerViewDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:AVKit.AVRoutePickerViewDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:AVRouting.AVCustomDeviceRoute.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AVRouting.AVCustomDeviceRoute.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -25759,6 +26287,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:AddressBookUI.ABPeoplePickerNavigationController.ABPeoplePickerNavigationControllerAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:AddressBookUI.ABPeoplePickerNavigationController.Appearance" /> property or by calling <see cref="M:AddressBookUI.ABPeoplePickerNavigationController.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:AddressBookUI.ABPeoplePickerNavigationController.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />, they should use the <see cref="M:AddressBookUI.ABPeoplePickerNavigationController.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AddressBookUI.ABPeoplePickerNavigationController.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:AddressBookUI.ABPeoplePickerNavigationController.ABPeoplePickerNavigationControllerAppearance" /> for the subclass of <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />.</typeparam> | |
+ <returns> | |
+ <para>An 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:AddressBookUI.ABPeoplePickerNavigationController.Appearance" /> property, or the <see cref="M:AddressBookUI.ABPeoplePickerNavigationController.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = ABPeoplePickerNavigationController.GetAppearance<MyABPeoplePickerNavigationControllerSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AddressBookUI.ABPeoplePickerNavigationController.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" /> 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 <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />, they should use the <see cref="M:AddressBookUI.ABPeoplePickerNavigationController.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:AddressBookUI.ABPeoplePickerNavigationController.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:AddressBookUI.ABPeoplePickerNavigationController.ABPeoplePickerNavigationControllerAppearance" /> for <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ABPeoplePickerNavigationController.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />, they should use the <see cref="M:AddressBookUI.ABPeoplePickerNavigationController.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AddressBookUI.ABPeoplePickerNavigationController.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:AddressBookUI.ABPeoplePickerNavigationController.ABPeoplePickerNavigationControllerAppearance" /> for <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ABPeoplePickerNavigationController.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />, they should use the <see cref="M:AddressBookUI.ABPeoplePickerNavigationController.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AddressBookUI.ABPeoplePickerNavigationController.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:AddressBookUI.ABPeoplePickerNavigationController.ABPeoplePickerNavigationControllerAppearance" /> for the subclass of <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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:AddressBookUI.ABPeoplePickerNavigationController.Appearance" /> property, or the <see cref="M:AddressBookUI.ABPeoplePickerNavigationController.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ABPeoplePickerNavigationController.GetAppearance<MyABPeoplePickerNavigationControllerSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:AddressBookUI.ABPeoplePickerNavigationController.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:AddressBookUI.ABPeoplePickerNavigationController.ABPeoplePickerNavigationControllerAppearance" /> for the subclass of <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:AddressBookUI.ABPeoplePickerNavigationController" />.</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> | |
+ <returns> | |
+ <para>An 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:AddressBookUI.ABPeoplePickerNavigationController.Appearance" /> property, or the <see cref="M:AddressBookUI.ABPeoplePickerNavigationController.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = ABPeoplePickerNavigationController.GetAppearance<MyABPeoplePickerNavigationControllerSubclass> (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> | |
+ </member> | |
<member name="P:AddressBookUI.ABPersonViewController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -26420,140 +27080,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIAlertView.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="T:UIKit.UIActionSheet.UIActionSheetAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIActionSheet" />.</summary> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIActionSheet" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIActionSheet.Appearance" /> property or by calling <see cref="M:UIKit.UIActionSheet.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:UIKit.UIAlertView.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
+ <member name="P:UIKit.UIActionSheet.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIActionSheet" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIActionSheet" />, they should use the <see cref="M:UIKit.UIActionSheet.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uialertview/1620779-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIAlertView.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="M:UIKit.UIActionSheet.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIActionSheet.UIActionSheetAppearance" /> for the subclass of <see cref="T:UIKit.UIActionSheet" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIActionSheet" />.</typeparam> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <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.UIActionSheet.Appearance" /> property, or the <see cref="M:UIKit.UIActionSheet.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTheme = UIActionSheet.GetAppearance<MyUIActionSheetSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIAlertView.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIActionSheet.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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> | |
- 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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIActionSheet" /> 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 <see cref="T:UIKit.UIActionSheet" />, they should use the <see cref="M:UIKit.UIActionSheet.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
</member> | |
- <member name="M:UIKit.UIAppearance.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="M:UIKit.UIActionSheet.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIActionSheet.UIActionSheetAppearance" /> for <see cref="T:UIKit.UIActionSheet" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIActionSheet.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIActionSheet" />, they should use the <see cref="M:UIKit.UIActionSheet.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIAppearance.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIActionSheet.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIActionSheet.UIActionSheetAppearance" /> for <see cref="T:UIKit.UIActionSheet" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIActionSheet.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIActionSheet" />, they should use the <see cref="M:UIKit.UIActionSheet.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIApplication.ClassHandle"> | |
+ <member name="M:UIKit.UIActionSheet.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIActionSheet.UIActionSheetAppearance" /> for the subclass of <see cref="T:UIKit.UIActionSheet" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIActionSheet" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIActionSheet.Appearance" /> property, or the <see cref="M:UIKit.UIActionSheet.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIActionSheet.GetAppearance<MyUIActionSheetSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIActionSheet.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIActionSheet.UIActionSheetAppearance" /> for the subclass of <see cref="T:UIKit.UIActionSheet" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIActionSheet" />.</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> | |
+ <returns> | |
+ <para>An 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.UIActionSheet.Appearance" /> property, or the <see cref="M:UIKit.UIActionSheet.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIActionSheet.GetAppearance<MyUIActionSheetSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UIAlertView.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -26562,7 +27221,272 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIApplication.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIAlertView.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uialertview/1620779-initwithcoder</appledoc> | |
+ </member> | |
+ <member name="M:UIKit.UIAlertView.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIAlertView.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="T:UIKit.UIAlertView.UIAlertViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIAlertView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIAlertView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIAlertView.Appearance" /> property or by calling <see cref="M:UIKit.UIAlertView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIAlertView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIAlertView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIAlertView" />, they should use the <see cref="M:UIKit.UIAlertView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIAlertView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIAlertView.UIAlertViewAppearance" /> for the subclass of <see cref="T:UIKit.UIAlertView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIAlertView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIAlertView.Appearance" /> property, or the <see cref="M:UIKit.UIAlertView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIAlertView.GetAppearance<MyUIAlertViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIAlertView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIAlertView" /> 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 <see cref="T:UIKit.UIAlertView" />, they should use the <see cref="M:UIKit.UIAlertView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIAlertView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIAlertView.UIAlertViewAppearance" /> for <see cref="T:UIKit.UIAlertView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIAlertView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIAlertView" />, they should use the <see cref="M:UIKit.UIAlertView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIAlertView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIAlertView.UIAlertViewAppearance" /> for <see cref="T:UIKit.UIAlertView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIAlertView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIAlertView" />, they should use the <see cref="M:UIKit.UIAlertView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIAlertView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIAlertView.UIAlertViewAppearance" /> for the subclass of <see cref="T:UIKit.UIAlertView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIAlertView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIAlertView.Appearance" /> property, or the <see cref="M:UIKit.UIAlertView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIAlertView.GetAppearance<MyUIAlertViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIAlertView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIAlertView.UIAlertViewAppearance" /> for the subclass of <see cref="T:UIKit.UIAlertView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIAlertView" />.</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> | |
+ <returns> | |
+ <para>An 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.UIAlertView.Appearance" /> property, or the <see cref="M:UIKit.UIAlertView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIAlertView.GetAppearance<MyUIAlertViewSubclass> (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> | |
+ </member> | |
+ <member name="M:UIKit.UIAppearance.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIAppearance.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIApplication.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIApplication.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -27365,6 +28289,145 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UIBarButtonItem.UIBarButtonItemAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIBarButtonItem" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIBarButtonItem" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIBarButtonItem.Appearance" /> property or by calling <see cref="M:UIKit.UIBarButtonItem.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIBarButtonItem.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIBarButtonItem" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIBarButtonItem" />, they should use the <see cref="M:UIKit.UIBarButtonItem.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIBarButtonItem.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIBarButtonItem.UIBarButtonItemAppearance" /> for the subclass of <see cref="T:UIKit.UIBarButtonItem" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIBarButtonItem" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIBarButtonItem.Appearance" /> property, or the <see cref="M:UIKit.UIBarButtonItem.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIBarButtonItem.GetAppearance<MyUIBarButtonItemSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIBarButtonItem.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIBarButtonItem" /> 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 <see cref="T:UIKit.UIBarButtonItem" />, they should use the <see cref="M:UIKit.UIBarButtonItem.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIBarButtonItem.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIBarButtonItem.UIBarButtonItemAppearance" /> for <see cref="T:UIKit.UIBarButtonItem" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIBarButtonItem.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIBarButtonItem" />, they should use the <see cref="M:UIKit.UIBarButtonItem.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIBarButtonItem.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIBarButtonItem.UIBarButtonItemAppearance" /> for <see cref="T:UIKit.UIBarButtonItem" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIBarButtonItem.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIBarButtonItem" />, they should use the <see cref="M:UIKit.UIBarButtonItem.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIBarButtonItem.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIBarButtonItem.UIBarButtonItemAppearance" /> for the subclass of <see cref="T:UIKit.UIBarButtonItem" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIBarButtonItem" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIBarButtonItem.Appearance" /> property, or the <see cref="M:UIKit.UIBarButtonItem.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIBarButtonItem.GetAppearance<MyUIBarButtonItemSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIBarButtonItem.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIBarButtonItem.UIBarButtonItemAppearance" /> for the subclass of <see cref="T:UIKit.UIBarButtonItem" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIBarButtonItem" />.</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> | |
+ <returns> | |
+ <para>An 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.UIBarButtonItem.Appearance" /> property, or the <see cref="M:UIKit.UIBarButtonItem.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIBarButtonItem.GetAppearance<MyUIBarButtonItemSubclass> (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> | |
+ </member> | |
+ <member name="T:UIKit.UIBarItem.UIBarItemAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIBarItem" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIBarItem" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIBarItem.Appearance" /> property or by calling <see cref="M:UIKit.UIBarItem.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
<member name="P:UIKit.UIBarItem.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -27441,6 +28504,131 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:UIKit.UIBarItem.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIBarItem" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIBarItem" />, they should use the <see cref="M:UIKit.UIBarItem.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIBarItem.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIBarItem.UIBarItemAppearance" /> for the subclass of <see cref="T:UIKit.UIBarItem" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIBarItem" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIBarItem.Appearance" /> property, or the <see cref="M:UIKit.UIBarItem.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIBarItem.GetAppearance<MyUIBarItemSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIBarItem.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIBarItem" /> 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 <see cref="T:UIKit.UIBarItem" />, they should use the <see cref="M:UIKit.UIBarItem.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIBarItem.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIBarItem.UIBarItemAppearance" /> for <see cref="T:UIKit.UIBarItem" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIBarItem.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIBarItem" />, they should use the <see cref="M:UIKit.UIBarItem.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIBarItem.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIBarItem.UIBarItemAppearance" /> for <see cref="T:UIKit.UIBarItem" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIBarItem.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIBarItem" />, they should use the <see cref="M:UIKit.UIBarItem.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIBarItem.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIBarItem.UIBarItemAppearance" /> for the subclass of <see cref="T:UIKit.UIBarItem" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIBarItem" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIBarItem.Appearance" /> property, or the <see cref="M:UIKit.UIBarItem.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIBarItem.GetAppearance<MyUIBarItemSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIBarItem.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIBarItem.UIBarItemAppearance" /> for the subclass of <see cref="T:UIKit.UIBarItem" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIBarItem" />.</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> | |
+ <returns> | |
+ <para>An 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.UIBarItem.Appearance" /> property, or the <see cref="M:UIKit.UIBarItem.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIBarItem.GetAppearance<MyUIBarItemSubclass> (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> | |
+ </member> | |
<member name="T:UIKit.UIBarItem.Notifications"> | |
<summary>Notifications posted by the <see cref="T:UIKit.UIBarItem" /> class.</summary> | |
<remarks> | |
@@ -28614,6 +29802,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UIButton.UIButtonAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIButton" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIButton" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIButton.Appearance" /> property or by calling <see cref="M:UIKit.UIButton.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIButton.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIButton" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIButton" />, they should use the <see cref="M:UIKit.UIButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIButton.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIButton.UIButtonAppearance" /> for the subclass of <see cref="T:UIKit.UIButton" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIButton" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIButton.Appearance" /> property, or the <see cref="M:UIKit.UIButton.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIButton.GetAppearance<MyUIButtonSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIButton.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIButton" /> 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 <see cref="T:UIKit.UIButton" />, they should use the <see cref="M:UIKit.UIButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIButton.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIButton.UIButtonAppearance" /> for <see cref="T:UIKit.UIButton" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIButton.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIButton" />, they should use the <see cref="M:UIKit.UIButton.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIButton.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIButton.UIButtonAppearance" /> for <see cref="T:UIKit.UIButton" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIButton.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIButton" />, they should use the <see cref="M:UIKit.UIButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIButton.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIButton.UIButtonAppearance" /> for the subclass of <see cref="T:UIKit.UIButton" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIButton" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIButton.Appearance" /> property, or the <see cref="M:UIKit.UIButton.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIButton.GetAppearance<MyUIButtonSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIButton.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIButton.UIButtonAppearance" /> for the subclass of <see cref="T:UIKit.UIButton" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIButton" />.</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> | |
+ <returns> | |
+ <para>An 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.UIButton.Appearance" /> property, or the <see cref="M:UIKit.UIButton.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIButton.GetAppearance<MyUIButtonSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UICellAccessory.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -28766,6 +30086,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UICollectionView.UICollectionViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UICollectionView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UICollectionView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UICollectionView.Appearance" /> property or by calling <see cref="M:UIKit.UICollectionView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UICollectionView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UICollectionView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionView" />, they should use the <see cref="M:UIKit.UICollectionView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionView.UICollectionViewAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UICollectionView.Appearance" /> property, or the <see cref="M:UIKit.UICollectionView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UICollectionView.GetAppearance<MyUICollectionViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UICollectionView" /> 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 <see cref="T:UIKit.UICollectionView" />, they should use the <see cref="M:UIKit.UICollectionView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionView.UICollectionViewAppearance" /> for <see cref="T:UIKit.UICollectionView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionView" />, they should use the <see cref="M:UIKit.UICollectionView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionView.UICollectionViewAppearance" /> for <see cref="T:UIKit.UICollectionView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionView" />, they should use the <see cref="M:UIKit.UICollectionView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionView.UICollectionViewAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UICollectionView.Appearance" /> property, or the <see cref="M:UIKit.UICollectionView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionView.GetAppearance<MyUICollectionViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionView.UICollectionViewAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionView" />.</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> | |
+ <returns> | |
+ <para>An 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.UICollectionView.Appearance" /> property, or the <see cref="M:UIKit.UICollectionView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionView.GetAppearance<MyUICollectionViewSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UICollectionViewLayout.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -29059,6 +30511,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UIControl.UIControlAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIControl" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIControl" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIControl.Appearance" /> property or by calling <see cref="M:UIKit.UIControl.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIControl.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIControl" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIControl" />, they should use the <see cref="M:UIKit.UIControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIControl.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIControl.UIControlAppearance" /> for the subclass of <see cref="T:UIKit.UIControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIControl" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIControl.Appearance" /> property, or the <see cref="M:UIKit.UIControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIControl.GetAppearance<MyUIControlSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIControl.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIControl" /> 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 <see cref="T:UIKit.UIControl" />, they should use the <see cref="M:UIKit.UIControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIControl.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIControl.UIControlAppearance" /> for <see cref="T:UIKit.UIControl" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIControl.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIControl" />, they should use the <see cref="M:UIKit.UIControl.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIControl.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIControl.UIControlAppearance" /> for <see cref="T:UIKit.UIControl" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIControl.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIControl" />, they should use the <see cref="M:UIKit.UIControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIControl.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIControl.UIControlAppearance" /> for the subclass of <see cref="T:UIKit.UIControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIControl" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIControl.Appearance" /> property, or the <see cref="M:UIKit.UIControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIControl.GetAppearance<MyUIControlSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIControl.UIControlAppearance" /> for the subclass of <see cref="T:UIKit.UIControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIControl" />.</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> | |
+ <returns> | |
+ <para>An 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.UIControl.Appearance" /> property, or the <see cref="M:UIKit.UIControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIControl.GetAppearance<MyUIControlSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UIDevice.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -31805,6 +33389,13 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UINavigationBar.UINavigationBarAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UINavigationBar" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UINavigationBar" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UINavigationBar.Appearance" /> property or by calling <see cref="M:UIKit.UINavigationBar.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
<member name="P:UIKit.UINavigationBar.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -31881,6 +33472,131 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:UIKit.UINavigationBar.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UINavigationBar" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UINavigationBar" />, they should use the <see cref="M:UIKit.UINavigationBar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UINavigationBar.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UINavigationBar.UINavigationBarAppearance" /> for the subclass of <see cref="T:UIKit.UINavigationBar" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UINavigationBar" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UINavigationBar.Appearance" /> property, or the <see cref="M:UIKit.UINavigationBar.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UINavigationBar.GetAppearance<MyUINavigationBarSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UINavigationBar.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UINavigationBar" /> 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 <see cref="T:UIKit.UINavigationBar" />, they should use the <see cref="M:UIKit.UINavigationBar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UINavigationBar.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UINavigationBar.UINavigationBarAppearance" /> for <see cref="T:UIKit.UINavigationBar" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UINavigationBar.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UINavigationBar" />, they should use the <see cref="M:UIKit.UINavigationBar.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UINavigationBar.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UINavigationBar.UINavigationBarAppearance" /> for <see cref="T:UIKit.UINavigationBar" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UINavigationBar.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UINavigationBar" />, they should use the <see cref="M:UIKit.UINavigationBar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UINavigationBar.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UINavigationBar.UINavigationBarAppearance" /> for the subclass of <see cref="T:UIKit.UINavigationBar" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UINavigationBar" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UINavigationBar.Appearance" /> property, or the <see cref="M:UIKit.UINavigationBar.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UINavigationBar.GetAppearance<MyUINavigationBarSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UINavigationBar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UINavigationBar.UINavigationBarAppearance" /> for the subclass of <see cref="T:UIKit.UINavigationBar" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UINavigationBar" />.</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> | |
+ <returns> | |
+ <para>An 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.UINavigationBar.Appearance" /> property, or the <see cref="M:UIKit.UINavigationBar.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UINavigationBar.GetAppearance<MyUINavigationBarSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UINavigationController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -32260,73 +33976,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIPopoverController.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="T:UIKit.UIPickerView.UIPickerViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIPickerView" />.</summary> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIPickerView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIPickerView.Appearance" /> property or by calling <see cref="M:UIKit.UIPickerView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:UIKit.UIPopoverController.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="P:UIKit.UIPickerView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIPickerView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPickerView" />, they should use the <see cref="M:UIKit.UIPickerView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPickerView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPickerView.UIPickerViewAppearance" /> for the subclass of <see cref="T:UIKit.UIPickerView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIPickerView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIPickerView.Appearance" /> property, or the <see cref="M:UIKit.UIPickerView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTheme = UIPickerView.GetAppearance<MyUIPickerViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIPopoverController.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIPickerView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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> | |
- 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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIPickerView" /> 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 <see cref="T:UIKit.UIPickerView" />, they should use the <see cref="M:UIKit.UIPickerView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
</member> | |
- <member name="P:UIKit.UIPopoverPresentationController.ClassHandle"> | |
+ <member name="M:UIKit.UIPickerView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPickerView.UIPickerViewAppearance" /> for <see cref="T:UIKit.UIPickerView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPickerView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPickerView" />, they should use the <see cref="M:UIKit.UIPickerView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPickerView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPickerView.UIPickerViewAppearance" /> for <see cref="T:UIKit.UIPickerView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPickerView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPickerView" />, they should use the <see cref="M:UIKit.UIPickerView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPickerView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPickerView.UIPickerViewAppearance" /> for the subclass of <see cref="T:UIKit.UIPickerView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIPickerView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIPickerView.Appearance" /> property, or the <see cref="M:UIKit.UIPickerView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPickerView.GetAppearance<MyUIPickerViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPickerView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPickerView.UIPickerViewAppearance" /> for the subclass of <see cref="T:UIKit.UIPickerView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIPickerView" />.</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> | |
+ <returns> | |
+ <para>An 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.UIPickerView.Appearance" /> property, or the <see cref="M:UIKit.UIPickerView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPickerView.GetAppearance<MyUIPickerViewSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UIPopoverController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -32335,7 +34117,73 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIPopoverPresentationController.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIPopoverController.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIPopoverController.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIPopoverPresentationController.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPopoverPresentationController.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -32765,6 +34613,13 @@ | |
</example> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UISearchBar.UISearchBarAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UISearchBar" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UISearchBar" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UISearchBar.Appearance" /> property or by calling <see cref="M:UIKit.UISearchBar.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
<member name="P:UIKit.UISearchBar.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -32841,6 +34696,131 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:UIKit.UISearchBar.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UISearchBar" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UISearchBar" />, they should use the <see cref="M:UIKit.UISearchBar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UISearchBar.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UISearchBar.UISearchBarAppearance" /> for the subclass of <see cref="T:UIKit.UISearchBar" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UISearchBar" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UISearchBar.Appearance" /> property, or the <see cref="M:UIKit.UISearchBar.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UISearchBar.GetAppearance<MyUISearchBarSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UISearchBar.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UISearchBar" /> 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 <see cref="T:UIKit.UISearchBar" />, they should use the <see cref="M:UIKit.UISearchBar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UISearchBar.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UISearchBar.UISearchBarAppearance" /> for <see cref="T:UIKit.UISearchBar" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UISearchBar.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UISearchBar" />, they should use the <see cref="M:UIKit.UISearchBar.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UISearchBar.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UISearchBar.UISearchBarAppearance" /> for <see cref="T:UIKit.UISearchBar" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UISearchBar.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UISearchBar" />, they should use the <see cref="M:UIKit.UISearchBar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UISearchBar.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UISearchBar.UISearchBarAppearance" /> for the subclass of <see cref="T:UIKit.UISearchBar" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UISearchBar" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UISearchBar.Appearance" /> property, or the <see cref="M:UIKit.UISearchBar.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UISearchBar.GetAppearance<MyUISearchBarSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UISearchBar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UISearchBar.UISearchBarAppearance" /> for the subclass of <see cref="T:UIKit.UISearchBar" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UISearchBar" />.</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> | |
+ <returns> | |
+ <para>An 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.UISearchBar.Appearance" /> property, or the <see cref="M:UIKit.UISearchBar.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UISearchBar.GetAppearance<MyUISearchBarSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UISearchController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -32983,6 +34963,13 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UISegmentedControl.UISegmentedControlAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UISegmentedControl" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UISegmentedControl" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UISegmentedControl.Appearance" /> property or by calling <see cref="M:UIKit.UISegmentedControl.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
<member name="P:UIKit.UISegmentedControl.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -33059,6 +35046,131 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="P:UIKit.UISegmentedControl.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UISegmentedControl" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UISegmentedControl" />, they should use the <see cref="M:UIKit.UISegmentedControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UISegmentedControl.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UISegmentedControl.UISegmentedControlAppearance" /> for the subclass of <see cref="T:UIKit.UISegmentedControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UISegmentedControl" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UISegmentedControl.Appearance" /> property, or the <see cref="M:UIKit.UISegmentedControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UISegmentedControl.GetAppearance<MyUISegmentedControlSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UISegmentedControl.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UISegmentedControl" /> 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 <see cref="T:UIKit.UISegmentedControl" />, they should use the <see cref="M:UIKit.UISegmentedControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UISegmentedControl.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UISegmentedControl.UISegmentedControlAppearance" /> for <see cref="T:UIKit.UISegmentedControl" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UISegmentedControl.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UISegmentedControl" />, they should use the <see cref="M:UIKit.UISegmentedControl.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UISegmentedControl.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UISegmentedControl.UISegmentedControlAppearance" /> for <see cref="T:UIKit.UISegmentedControl" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UISegmentedControl.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UISegmentedControl" />, they should use the <see cref="M:UIKit.UISegmentedControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UISegmentedControl.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UISegmentedControl.UISegmentedControlAppearance" /> for the subclass of <see cref="T:UIKit.UISegmentedControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UISegmentedControl" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UISegmentedControl.Appearance" /> property, or the <see cref="M:UIKit.UISegmentedControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UISegmentedControl.GetAppearance<MyUISegmentedControlSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UISegmentedControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UISegmentedControl.UISegmentedControlAppearance" /> for the subclass of <see cref="T:UIKit.UISegmentedControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UISegmentedControl" />.</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> | |
+ <returns> | |
+ <para>An 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.UISegmentedControl.Appearance" /> property, or the <see cref="M:UIKit.UISegmentedControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UISegmentedControl.GetAppearance<MyUISegmentedControlSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UITableView.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -33135,6 +35247,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UITableView.UITableViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UITableView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UITableView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UITableView.Appearance" /> property or by calling <see cref="M:UIKit.UITableView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UITableView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UITableView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITableView" />, they should use the <see cref="M:UIKit.UITableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITableView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITableView.UITableViewAppearance" /> for the subclass of <see cref="T:UIKit.UITableView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITableView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UITableView.Appearance" /> property, or the <see cref="M:UIKit.UITableView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UITableView.GetAppearance<MyUITableViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITableView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UITableView" /> 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 <see cref="T:UIKit.UITableView" />, they should use the <see cref="M:UIKit.UITableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UITableView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITableView.UITableViewAppearance" /> for <see cref="T:UIKit.UITableView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITableView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITableView" />, they should use the <see cref="M:UIKit.UITableView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITableView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITableView.UITableViewAppearance" /> for <see cref="T:UIKit.UITableView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITableView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITableView" />, they should use the <see cref="M:UIKit.UITableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITableView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITableView.UITableViewAppearance" /> for the subclass of <see cref="T:UIKit.UITableView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITableView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UITableView.Appearance" /> property, or the <see cref="M:UIKit.UITableView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITableView.GetAppearance<MyUITableViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITableView.UITableViewAppearance" /> for the subclass of <see cref="T:UIKit.UITableView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITableView" />.</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> | |
+ <returns> | |
+ <para>An 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.UITableView.Appearance" /> property, or the <see cref="M:UIKit.UITableView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITableView.GetAppearance<MyUITableViewSubclass> (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> | |
+ </member> | |
<member name="T:UIKit.UITableView.Notifications"> | |
<summary>Notifications posted by the <see cref="T:UIKit.UITableView" /> class.</summary> | |
<remarks> | |
@@ -33257,6 +35501,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UITableViewCell.UITableViewCellAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UITableViewCell" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UITableViewCell" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UITableViewCell.Appearance" /> property or by calling <see cref="M:UIKit.UITableViewCell.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UITableViewCell.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UITableViewCell" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITableViewCell" />, they should use the <see cref="M:UIKit.UITableViewCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITableViewCell.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITableViewCell.UITableViewCellAppearance" /> for the subclass of <see cref="T:UIKit.UITableViewCell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITableViewCell" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UITableViewCell.Appearance" /> property, or the <see cref="M:UIKit.UITableViewCell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UITableViewCell.GetAppearance<MyUITableViewCellSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITableViewCell.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UITableViewCell" /> 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 <see cref="T:UIKit.UITableViewCell" />, they should use the <see cref="M:UIKit.UITableViewCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UITableViewCell.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITableViewCell.UITableViewCellAppearance" /> for <see cref="T:UIKit.UITableViewCell" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITableViewCell.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITableViewCell" />, they should use the <see cref="M:UIKit.UITableViewCell.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITableViewCell.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITableViewCell.UITableViewCellAppearance" /> for <see cref="T:UIKit.UITableViewCell" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITableViewCell.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITableViewCell" />, they should use the <see cref="M:UIKit.UITableViewCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITableViewCell.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITableViewCell.UITableViewCellAppearance" /> for the subclass of <see cref="T:UIKit.UITableViewCell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITableViewCell" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UITableViewCell.Appearance" /> property, or the <see cref="M:UIKit.UITableViewCell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITableViewCell.GetAppearance<MyUITableViewCellSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITableViewCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITableViewCell.UITableViewCellAppearance" /> for the subclass of <see cref="T:UIKit.UITableViewCell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITableViewCell" />.</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> | |
+ <returns> | |
+ <para>An 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.UITableViewCell.Appearance" /> property, or the <see cref="M:UIKit.UITableViewCell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITableViewCell.GetAppearance<MyUITableViewCellSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UITextField.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -33333,6 +35709,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UITextField.UITextFieldAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UITextField" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UITextField" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UITextField.Appearance" /> property or by calling <see cref="M:UIKit.UITextField.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UITextField.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UITextField" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITextField" />, they should use the <see cref="M:UIKit.UITextField.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITextField.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITextField.UITextFieldAppearance" /> for the subclass of <see cref="T:UIKit.UITextField" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITextField" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UITextField.Appearance" /> property, or the <see cref="M:UIKit.UITextField.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UITextField.GetAppearance<MyUITextFieldSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITextField.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UITextField" /> 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 <see cref="T:UIKit.UITextField" />, they should use the <see cref="M:UIKit.UITextField.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UITextField.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITextField.UITextFieldAppearance" /> for <see cref="T:UIKit.UITextField" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITextField.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITextField" />, they should use the <see cref="M:UIKit.UITextField.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITextField.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITextField.UITextFieldAppearance" /> for <see cref="T:UIKit.UITextField" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITextField.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITextField" />, they should use the <see cref="M:UIKit.UITextField.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITextField.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITextField.UITextFieldAppearance" /> for the subclass of <see cref="T:UIKit.UITextField" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITextField" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UITextField.Appearance" /> property, or the <see cref="M:UIKit.UITextField.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITextField.GetAppearance<MyUITextFieldSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITextField.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITextField.UITextFieldAppearance" /> for the subclass of <see cref="T:UIKit.UITextField" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITextField" />.</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> | |
+ <returns> | |
+ <para>An 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.UITextField.Appearance" /> property, or the <see cref="M:UIKit.UITextField.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITextField.GetAppearance<MyUITextFieldSubclass> (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> | |
+ </member> | |
<member name="T:UIKit.UITextField.Notifications"> | |
<summary>Notifications posted by the <see cref="T:UIKit.UITextField" /> class.</summary> | |
<remarks> | |
@@ -33572,6 +36080,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UITextView.UITextViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UITextView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UITextView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UITextView.Appearance" /> property or by calling <see cref="M:UIKit.UITextView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UITextView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UITextView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITextView" />, they should use the <see cref="M:UIKit.UITextView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITextView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITextView.UITextViewAppearance" /> for the subclass of <see cref="T:UIKit.UITextView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITextView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UITextView.Appearance" /> property, or the <see cref="M:UIKit.UITextView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UITextView.GetAppearance<MyUITextViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITextView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UITextView" /> 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 <see cref="T:UIKit.UITextView" />, they should use the <see cref="M:UIKit.UITextView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UITextView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITextView.UITextViewAppearance" /> for <see cref="T:UIKit.UITextView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITextView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITextView" />, they should use the <see cref="M:UIKit.UITextView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITextView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITextView.UITextViewAppearance" /> for <see cref="T:UIKit.UITextView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITextView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UITextView" />, they should use the <see cref="M:UIKit.UITextView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITextView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITextView.UITextViewAppearance" /> for the subclass of <see cref="T:UIKit.UITextView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITextView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UITextView.Appearance" /> property, or the <see cref="M:UIKit.UITextView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITextView.GetAppearance<MyUITextViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UITextView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UITextView.UITextViewAppearance" /> for the subclass of <see cref="T:UIKit.UITextView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UITextView" />.</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> | |
+ <returns> | |
+ <para>An 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.UITextView.Appearance" /> property, or the <see cref="M:UIKit.UITextView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UITextView.GetAppearance<MyUITextViewSubclass> (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> | |
+ </member> | |
<member name="T:UIKit.UITextView.Notifications"> | |
<summary>Notifications posted by the <see cref="T:UIKit.UITextView" /> class.</summary> | |
<remarks> | |
@@ -33810,6 +36450,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UIToolbar.UIToolbarAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIToolbar" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIToolbar" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIToolbar.Appearance" /> property or by calling <see cref="M:UIKit.UIToolbar.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIToolbar.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIToolbar" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIToolbar" />, they should use the <see cref="M:UIKit.UIToolbar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIToolbar.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIToolbar.UIToolbarAppearance" /> for the subclass of <see cref="T:UIKit.UIToolbar" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIToolbar" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIToolbar.Appearance" /> property, or the <see cref="M:UIKit.UIToolbar.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIToolbar.GetAppearance<MyUIToolbarSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIToolbar.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIToolbar" /> 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 <see cref="T:UIKit.UIToolbar" />, they should use the <see cref="M:UIKit.UIToolbar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIToolbar.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIToolbar.UIToolbarAppearance" /> for <see cref="T:UIKit.UIToolbar" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIToolbar.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIToolbar" />, they should use the <see cref="M:UIKit.UIToolbar.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIToolbar.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIToolbar.UIToolbarAppearance" /> for <see cref="T:UIKit.UIToolbar" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIToolbar.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIToolbar" />, they should use the <see cref="M:UIKit.UIToolbar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIToolbar.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIToolbar.UIToolbarAppearance" /> for the subclass of <see cref="T:UIKit.UIToolbar" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIToolbar" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIToolbar.Appearance" /> property, or the <see cref="M:UIKit.UIToolbar.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIToolbar.GetAppearance<MyUIToolbarSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIToolbar.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIToolbar.UIToolbarAppearance" /> for the subclass of <see cref="T:UIKit.UIToolbar" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIToolbar" />.</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> | |
+ <returns> | |
+ <para>An 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.UIToolbar.Appearance" /> property, or the <see cref="M:UIKit.UIToolbar.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIToolbar.GetAppearance<MyUIToolbarSubclass> (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> | |
+ </member> | |
<member name="M:UIKit.IUITraitChangeObservable.RegisterForTraitChanges(System.Type[],System.Action{UIKit.IUITraitEnvironment,UIKit.UITraitCollection})"> | |
<summary> | |
Registers a callback handler that will be executed when one of the specified traits changes. | |
@@ -34172,6 +36944,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UIView.UIViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIView.Appearance" /> property or by calling <see cref="M:UIKit.UIView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIView" />, they should use the <see cref="M:UIKit.UIView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIView.UIViewAppearance" /> for the subclass of <see cref="T:UIKit.UIView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIView.Appearance" /> property, or the <see cref="M:UIKit.UIView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIView.GetAppearance<MyUIViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIView" /> 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 <see cref="T:UIKit.UIView" />, they should use the <see cref="M:UIKit.UIView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIView.UIViewAppearance" /> for <see cref="T:UIKit.UIView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIView" />, they should use the <see cref="M:UIKit.UIView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIView.UIViewAppearance" /> for <see cref="T:UIKit.UIView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIView" />, they should use the <see cref="M:UIKit.UIView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIView.UIViewAppearance" /> for the subclass of <see cref="T:UIKit.UIView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIView.Appearance" /> property, or the <see cref="M:UIKit.UIView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIView.GetAppearance<MyUIViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIView.UIViewAppearance" /> for the subclass of <see cref="T:UIKit.UIView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIView" />.</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> | |
+ <returns> | |
+ <para>An 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.UIView.Appearance" /> property, or the <see cref="M:UIKit.UIView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIView.GetAppearance<MyUIViewSubclass> (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> | |
+ </member> | |
<member name="T:UIKit.UIView.Notifications"> | |
<summary>Notifications posted by the <see cref="T:UIKit.UIView" /> class.</summary> | |
<remarks> | |
@@ -35390,6 +38294,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UIWindow.UIWindowAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIWindow" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIWindow" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIWindow.Appearance" /> property or by calling <see cref="M:UIKit.UIWindow.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIWindow.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIWindow" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIWindow" />, they should use the <see cref="M:UIKit.UIWindow.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIWindow.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIWindow.UIWindowAppearance" /> for the subclass of <see cref="T:UIKit.UIWindow" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIWindow" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIWindow.Appearance" /> property, or the <see cref="M:UIKit.UIWindow.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIWindow.GetAppearance<MyUIWindowSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIWindow.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIWindow" /> 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 <see cref="T:UIKit.UIWindow" />, they should use the <see cref="M:UIKit.UIWindow.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIWindow.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIWindow.UIWindowAppearance" /> for <see cref="T:UIKit.UIWindow" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIWindow.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIWindow" />, they should use the <see cref="M:UIKit.UIWindow.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIWindow.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIWindow.UIWindowAppearance" /> for <see cref="T:UIKit.UIWindow" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIWindow.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIWindow" />, they should use the <see cref="M:UIKit.UIWindow.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIWindow.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIWindow.UIWindowAppearance" /> for the subclass of <see cref="T:UIKit.UIWindow" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIWindow" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIWindow.Appearance" /> property, or the <see cref="M:UIKit.UIWindow.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIWindow.GetAppearance<MyUIWindowSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIWindow.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIWindow.UIWindowAppearance" /> for the subclass of <see cref="T:UIKit.UIWindow" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIWindow" />.</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> | |
+ <returns> | |
+ <para>An 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.UIWindow.Appearance" /> property, or the <see cref="M:UIKit.UIWindow.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIWindow.GetAppearance<MyUIWindowSubclass> (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> | |
+ </member> | |
<member name="T:UIKit.UIWindow.Notifications"> | |
<summary>Notifications posted by the <see cref="T:UIKit.UIWindow" /> class.</summary> | |
<remarks> | |
@@ -39934,6 +42970,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UIActivityIndicatorView.UIActivityIndicatorViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIActivityIndicatorView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIActivityIndicatorView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIActivityIndicatorView.Appearance" /> property or by calling <see cref="M:UIKit.UIActivityIndicatorView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIActivityIndicatorView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIActivityIndicatorView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIActivityIndicatorView" />, they should use the <see cref="M:UIKit.UIActivityIndicatorView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIActivityIndicatorView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIActivityIndicatorView.UIActivityIndicatorViewAppearance" /> for the subclass of <see cref="T:UIKit.UIActivityIndicatorView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIActivityIndicatorView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIActivityIndicatorView.Appearance" /> property, or the <see cref="M:UIKit.UIActivityIndicatorView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIActivityIndicatorView.GetAppearance<MyUIActivityIndicatorViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIActivityIndicatorView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIActivityIndicatorView" /> 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 <see cref="T:UIKit.UIActivityIndicatorView" />, they should use the <see cref="M:UIKit.UIActivityIndicatorView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIActivityIndicatorView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIActivityIndicatorView.UIActivityIndicatorViewAppearance" /> for <see cref="T:UIKit.UIActivityIndicatorView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIActivityIndicatorView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIActivityIndicatorView" />, they should use the <see cref="M:UIKit.UIActivityIndicatorView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIActivityIndicatorView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIActivityIndicatorView.UIActivityIndicatorViewAppearance" /> for <see cref="T:UIKit.UIActivityIndicatorView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIActivityIndicatorView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIActivityIndicatorView" />, they should use the <see cref="M:UIKit.UIActivityIndicatorView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIActivityIndicatorView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIActivityIndicatorView.UIActivityIndicatorViewAppearance" /> for the subclass of <see cref="T:UIKit.UIActivityIndicatorView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIActivityIndicatorView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIActivityIndicatorView.Appearance" /> property, or the <see cref="M:UIKit.UIActivityIndicatorView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIActivityIndicatorView.GetAppearance<MyUIActivityIndicatorViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIActivityIndicatorView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIActivityIndicatorView.UIActivityIndicatorViewAppearance" /> for the subclass of <see cref="T:UIKit.UIActivityIndicatorView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIActivityIndicatorView" />.</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> | |
+ <returns> | |
+ <para>An 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.UIActivityIndicatorView.Appearance" /> property, or the <see cref="M:UIKit.UIActivityIndicatorView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIActivityIndicatorView.GetAppearance<MyUIActivityIndicatorViewSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UIActivityItemProvider.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -41851,6 +45019,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UICalendarView.UICalendarViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UICalendarView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UICalendarView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UICalendarView.Appearance" /> property or by calling <see cref="M:UIKit.UICalendarView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UICalendarView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UICalendarView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICalendarView" />, they should use the <see cref="M:UIKit.UICalendarView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICalendarView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICalendarView.UICalendarViewAppearance" /> for the subclass of <see cref="T:UIKit.UICalendarView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICalendarView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UICalendarView.Appearance" /> property, or the <see cref="M:UIKit.UICalendarView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UICalendarView.GetAppearance<MyUICalendarViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICalendarView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UICalendarView" /> 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 <see cref="T:UIKit.UICalendarView" />, they should use the <see cref="M:UIKit.UICalendarView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UICalendarView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICalendarView.UICalendarViewAppearance" /> for <see cref="T:UIKit.UICalendarView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICalendarView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICalendarView" />, they should use the <see cref="M:UIKit.UICalendarView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICalendarView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICalendarView.UICalendarViewAppearance" /> for <see cref="T:UIKit.UICalendarView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICalendarView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICalendarView" />, they should use the <see cref="M:UIKit.UICalendarView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICalendarView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICalendarView.UICalendarViewAppearance" /> for the subclass of <see cref="T:UIKit.UICalendarView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICalendarView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UICalendarView.Appearance" /> property, or the <see cref="M:UIKit.UICalendarView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICalendarView.GetAppearance<MyUICalendarViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICalendarView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICalendarView.UICalendarViewAppearance" /> for the subclass of <see cref="T:UIKit.UICalendarView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICalendarView" />.</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> | |
+ <returns> | |
+ <para>An 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.UICalendarView.Appearance" /> property, or the <see cref="M:UIKit.UICalendarView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICalendarView.GetAppearance<MyUICalendarViewSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UICalendarViewDecoration.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -43273,6 +46573,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UICollectionReusableView.UICollectionReusableViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UICollectionReusableView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UICollectionReusableView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UICollectionReusableView.Appearance" /> property or by calling <see cref="M:UIKit.UICollectionReusableView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UICollectionReusableView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UICollectionReusableView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionReusableView" />, they should use the <see cref="M:UIKit.UICollectionReusableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionReusableView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionReusableView.UICollectionReusableViewAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionReusableView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionReusableView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UICollectionReusableView.Appearance" /> property, or the <see cref="M:UIKit.UICollectionReusableView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UICollectionReusableView.GetAppearance<MyUICollectionReusableViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionReusableView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UICollectionReusableView" /> 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 <see cref="T:UIKit.UICollectionReusableView" />, they should use the <see cref="M:UIKit.UICollectionReusableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionReusableView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionReusableView.UICollectionReusableViewAppearance" /> for <see cref="T:UIKit.UICollectionReusableView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionReusableView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionReusableView" />, they should use the <see cref="M:UIKit.UICollectionReusableView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionReusableView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionReusableView.UICollectionReusableViewAppearance" /> for <see cref="T:UIKit.UICollectionReusableView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionReusableView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionReusableView" />, they should use the <see cref="M:UIKit.UICollectionReusableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionReusableView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionReusableView.UICollectionReusableViewAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionReusableView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionReusableView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UICollectionReusableView.Appearance" /> property, or the <see cref="M:UIKit.UICollectionReusableView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionReusableView.GetAppearance<MyUICollectionReusableViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionReusableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionReusableView.UICollectionReusableViewAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionReusableView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionReusableView" />.</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> | |
+ <returns> | |
+ <para>An 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.UICollectionReusableView.Appearance" /> property, or the <see cref="M:UIKit.UICollectionReusableView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionReusableView.GetAppearance<MyUICollectionReusableViewSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UICollectionViewCell.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -43348,148 +46780,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewCellRegistration.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="T:UIKit.UICollectionViewCell.UICollectionViewCellAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UICollectionViewCell" />.</summary> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UICollectionViewCell" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UICollectionViewCell.Appearance" /> property or by calling <see cref="M:UIKit.UICollectionViewCell.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewCellRegistration.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="P:UIKit.UICollectionViewCell.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UICollectionViewCell" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionViewCell" />, they should use the <see cref="M:UIKit.UICollectionViewCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewCell.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionViewCell.UICollectionViewCellAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionViewCell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionViewCell" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UICollectionViewCell.Appearance" /> property, or the <see cref="M:UIKit.UICollectionViewCell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTheme = UICollectionViewCell.GetAppearance<MyUICollectionViewCellSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewCellRegistration.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UICollectionViewCell.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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> | |
- 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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UICollectionViewCell" /> 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 <see cref="T:UIKit.UICollectionViewCell" />, they should use the <see cref="M:UIKit.UICollectionViewCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
</member> | |
- <member name="P:UIKit.UICollectionViewCompositionalLayout.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="M:UIKit.UICollectionViewCell.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionViewCell.UICollectionViewCellAppearance" /> for <see cref="T:UIKit.UICollectionViewCell" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionViewCell.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionViewCell" />, they should use the <see cref="M:UIKit.UICollectionViewCell.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewCompositionalLayout.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
+ <member name="M:UIKit.UICollectionViewCell.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionViewCell.UICollectionViewCellAppearance" /> for <see cref="T:UIKit.UICollectionViewCell" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionViewCell.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionViewCell" />, they should use the <see cref="M:UIKit.UICollectionViewCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewCompositionalLayout.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="M:UIKit.UICollectionViewCell.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionViewCell.UICollectionViewCellAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionViewCell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionViewCell" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <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.UICollectionViewCell.Appearance" /> property, or the <see cref="M:UIKit.UICollectionViewCell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionViewCell.GetAppearance<MyUICollectionViewCellSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewCompositionalLayout.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UICollectionViewCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionViewCell.UICollectionViewCellAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionViewCell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionViewCell" />.</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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <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.UICollectionViewCell.Appearance" /> property, or the <see cref="M:UIKit.UICollectionViewCell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionViewCell.GetAppearance<MyUICollectionViewCellSubclass> (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> | |
</member> | |
- <member name="P:UIKit.UICollectionViewCompositionalLayoutConfiguration.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewCellRegistration.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -43498,7 +46921,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewCompositionalLayoutConfiguration.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewCellRegistration.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -43545,7 +46968,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewCompositionalLayoutConfiguration.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewCellRegistration.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -43555,7 +46978,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewController.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewCompositionalLayout.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -43564,7 +46987,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewController.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UICollectionViewCompositionalLayout.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -43572,9 +46995,8 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uicollectionviewcontroller/1623981-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UICollectionViewController.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewCompositionalLayout.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -43621,7 +47043,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewCompositionalLayout.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -43631,7 +47053,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDataSource.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UICollectionViewCompositionalLayoutConfiguration.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewCompositionalLayoutConfiguration.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -43678,121 +47109,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDataSource.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
- <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UICollectionViewDelegate.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
- <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
- <example> | |
- <code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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> | |
- </member> | |
- <member name="M:UIKit.UICollectionViewDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
- <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UICollectionViewDelegateFlowLayout.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
- <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
- <example> | |
- <code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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> | |
- </member> | |
- <member name="M:UIKit.UICollectionViewDelegateFlowLayout.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewCompositionalLayoutConfiguration.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -43802,7 +47119,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewDiffableDataSource`2.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -43811,7 +47128,17 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDiffableDataSource`2.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewController.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uicollectionviewcontroller/1623981-initwithcoder</appledoc> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewController.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -43858,7 +47185,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDiffableDataSource`2.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -43868,16 +47195,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewDiffableDataSourceReorderingHandlers`2.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UICollectionViewDiffableDataSourceReorderingHandlers`2.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewDataSource.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -43924,7 +47242,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDiffableDataSourceReorderingHandlers`2.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewDataSource.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -43934,16 +47252,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewDiffableDataSourceSectionSnapshotHandlers`1.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UICollectionViewDiffableDataSourceSectionSnapshotHandlers`1.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -43990,7 +47299,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDiffableDataSourceSectionSnapshotHandlers`1.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44000,7 +47309,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDragDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewDelegateFlowLayout.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44047,7 +47356,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDragDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewDelegateFlowLayout.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44057,7 +47366,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDropDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UICollectionViewDiffableDataSource`2.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewDiffableDataSource`2.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44104,7 +47422,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDropDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewDiffableDataSource`2.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44114,7 +47432,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewDropPlaceholder.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewDiffableDataSourceReorderingHandlers`2.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -44123,7 +47441,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDropPlaceholder.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewDiffableDataSourceReorderingHandlers`2.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44170,7 +47488,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDropPlaceholder.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewDiffableDataSourceReorderingHandlers`2.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44180,7 +47498,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewDropProposal.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewDiffableDataSourceSectionSnapshotHandlers`1.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -44189,7 +47507,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDropProposal.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewDiffableDataSourceSectionSnapshotHandlers`1.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44236,7 +47554,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewDropProposal.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewDiffableDataSourceSectionSnapshotHandlers`1.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44246,25 +47564,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewFlowLayout.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UICollectionViewFlowLayout.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
- <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UICollectionViewFlowLayout.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewDragDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44311,7 +47611,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewFlowLayout.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewDragDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44321,16 +47621,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewFlowLayoutInvalidationContext.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UICollectionViewFlowLayoutInvalidationContext.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewDropDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44377,7 +47668,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewFlowLayoutInvalidationContext.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewDropDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44387,7 +47678,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewFocusUpdateContext.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewDropPlaceholder.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -44396,7 +47687,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewFocusUpdateContext.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewDropPlaceholder.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44443,7 +47734,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewFocusUpdateContext.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewDropPlaceholder.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44453,7 +47744,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewLayoutInvalidationContext.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewDropProposal.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -44462,7 +47753,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewLayoutInvalidationContext.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewDropProposal.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44509,7 +47800,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewLayoutInvalidationContext.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewDropProposal.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44519,7 +47810,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewListCell.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewFlowLayout.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -44528,7 +47819,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewListCell.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UICollectionViewFlowLayout.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -44537,7 +47828,7 @@ | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewListCell.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewFlowLayout.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44584,7 +47875,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewListCell.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewFlowLayout.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44594,7 +47885,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewPlaceholder.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewFlowLayoutInvalidationContext.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -44603,7 +47894,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewPlaceholder.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewFlowLayoutInvalidationContext.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44650,7 +47941,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewPlaceholder.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewFlowLayoutInvalidationContext.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44660,7 +47951,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewSource.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UICollectionViewFocusUpdateContext.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewFocusUpdateContext.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44707,7 +48007,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewSource.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewFocusUpdateContext.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44717,7 +48017,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewSupplementaryRegistration.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewLayoutInvalidationContext.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -44726,7 +48026,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewSupplementaryRegistration.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewLayoutInvalidationContext.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44773,7 +48073,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewSupplementaryRegistration.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewLayoutInvalidationContext.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44783,7 +48083,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewTransitionLayout.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewListCell.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -44792,7 +48092,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewTransitionLayout.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UICollectionViewListCell.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -44800,9 +48100,8 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uicollectionviewtransitionlayout/1622192-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UICollectionViewTransitionLayout.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewListCell.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44849,7 +48148,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewTransitionLayout.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewListCell.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44859,7 +48158,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollectionViewUpdateItem.ClassHandle"> | |
+ <member name="T:UIKit.UICollectionViewListCell.UICollectionViewListCellAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UICollectionViewListCell" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UICollectionViewListCell" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UICollectionViewListCell.Appearance" /> property or by calling <see cref="M:UIKit.UICollectionViewListCell.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UICollectionViewListCell.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UICollectionViewListCell" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionViewListCell" />, they should use the <see cref="M:UIKit.UICollectionViewListCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewListCell.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionViewListCell.UICollectionViewListCellAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionViewListCell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionViewListCell" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UICollectionViewListCell.Appearance" /> property, or the <see cref="M:UIKit.UICollectionViewListCell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UICollectionViewListCell.GetAppearance<MyUICollectionViewListCellSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewListCell.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UICollectionViewListCell" /> 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 <see cref="T:UIKit.UICollectionViewListCell" />, they should use the <see cref="M:UIKit.UICollectionViewListCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewListCell.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionViewListCell.UICollectionViewListCellAppearance" /> for <see cref="T:UIKit.UICollectionViewListCell" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionViewListCell.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionViewListCell" />, they should use the <see cref="M:UIKit.UICollectionViewListCell.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewListCell.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionViewListCell.UICollectionViewListCellAppearance" /> for <see cref="T:UIKit.UICollectionViewListCell" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionViewListCell.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UICollectionViewListCell" />, they should use the <see cref="M:UIKit.UICollectionViewListCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewListCell.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionViewListCell.UICollectionViewListCellAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionViewListCell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionViewListCell" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UICollectionViewListCell.Appearance" /> property, or the <see cref="M:UIKit.UICollectionViewListCell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionViewListCell.GetAppearance<MyUICollectionViewListCellSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewListCell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UICollectionViewListCell.UICollectionViewListCellAppearance" /> for the subclass of <see cref="T:UIKit.UICollectionViewListCell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UICollectionViewListCell" />.</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> | |
+ <returns> | |
+ <para>An 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.UICollectionViewListCell.Appearance" /> property, or the <see cref="M:UIKit.UICollectionViewListCell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UICollectionViewListCell.GetAppearance<MyUICollectionViewListCellSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UICollectionViewPlaceholder.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -44868,7 +48299,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewUpdateItem.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewPlaceholder.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44915,7 +48346,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollectionViewUpdateItem.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewPlaceholder.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44925,16 +48356,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICollisionBehavior.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UICollisionBehavior.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewSource.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -44981,7 +48403,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollisionBehavior.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewSource.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -44991,7 +48413,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollisionBehaviorDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UICollectionViewSupplementaryRegistration.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewSupplementaryRegistration.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45038,7 +48469,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICollisionBehaviorDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewSupplementaryRegistration.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45048,7 +48479,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIColorPickerViewController.ClassHandle"> | |
+ <member name="P:UIKit.UICollectionViewTransitionLayout.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -45057,7 +48488,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIColorPickerViewController.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UICollectionViewTransitionLayout.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -45065,8 +48496,9 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uicollectionviewtransitionlayout/1622192-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIColorPickerViewController.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollectionViewTransitionLayout.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45113,7 +48545,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIColorPickerViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewTransitionLayout.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45123,7 +48555,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIColorPickerViewControllerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UICollectionViewUpdateItem.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollectionViewUpdateItem.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45170,7 +48611,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIColorPickerViewControllerDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollectionViewUpdateItem.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45180,7 +48621,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIColorWell.ClassHandle"> | |
+ <member name="P:UIKit.UICollisionBehavior.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -45189,16 +48630,64 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIColorWell.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
+ <member name="M:UIKit.UICollisionBehavior.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
</member> | |
- <member name="M:UIKit.UIColorWell.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICollisionBehavior.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UICollisionBehaviorDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45245,7 +48734,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIColorWell.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICollisionBehaviorDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45255,7 +48744,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICommand.ClassHandle"> | |
+ <member name="P:UIKit.UIColorPickerViewController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -45264,7 +48753,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICommand.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIColorPickerViewController.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -45272,9 +48761,8 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uicommand/3175309-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UICommand.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIColorPickerViewController.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45321,7 +48809,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICommand.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIColorPickerViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45331,7 +48819,64 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICommandAlternate.ClassHandle"> | |
+ <member name="M:UIKit.UIColorPickerViewControllerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIColorPickerViewControllerDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIColorWell.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -45340,7 +48885,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICommandAlternate.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIColorWell.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -45348,9 +48893,8 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uicommandalternate/3175316-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UICommandAlternate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIColorWell.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45397,7 +48941,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICommandAlternate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIColorWell.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45407,64 +48951,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentContainer.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="T:UIKit.UIColorWell.UIColorWellAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIColorWell" />.</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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIColorWell" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIColorWell.Appearance" /> property or by calling <see cref="M:UIKit.UIColorWell.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIColorWell.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIColorWell" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIColorWell" />, they should use the <see cref="M:UIKit.UIColorWell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIColorWell.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIColorWell.UIColorWellAppearance" /> for the subclass of <see cref="T:UIKit.UIColorWell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIColorWell" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIColorWell.Appearance" /> property, or the <see cref="M:UIKit.UIColorWell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTheme = UIColorWell.GetAppearance<MyUIColorWellSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentContainer.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIColorWell.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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> | |
- 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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIColorWell" /> 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 <see cref="T:UIKit.UIColorWell" />, they should use the <see cref="M:UIKit.UIColorWell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
</member> | |
- <member name="P:UIKit.UIContentUnavailableButtonProperties.ClassHandle"> | |
+ <member name="M:UIKit.UIColorWell.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIColorWell.UIColorWellAppearance" /> for <see cref="T:UIKit.UIColorWell" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIColorWell.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIColorWell" />, they should use the <see cref="M:UIKit.UIColorWell.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIColorWell.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIColorWell.UIColorWellAppearance" /> for <see cref="T:UIKit.UIColorWell" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIColorWell.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIColorWell" />, they should use the <see cref="M:UIKit.UIColorWell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIColorWell.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIColorWell.UIColorWellAppearance" /> for the subclass of <see cref="T:UIKit.UIColorWell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIColorWell" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIColorWell.Appearance" /> property, or the <see cref="M:UIKit.UIColorWell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIColorWell.GetAppearance<MyUIColorWellSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIColorWell.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIColorWell.UIColorWellAppearance" /> for the subclass of <see cref="T:UIKit.UIColorWell" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIColorWell" />.</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> | |
+ <returns> | |
+ <para>An 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.UIColorWell.Appearance" /> property, or the <see cref="M:UIKit.UIColorWell.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIColorWell.GetAppearance<MyUIColorWellSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UICommand.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -45473,7 +49092,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableButtonProperties.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UICommand.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -45481,8 +49100,9 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uicommand/3175309-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableButtonProperties.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICommand.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45529,7 +49149,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableButtonProperties.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICommand.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45539,7 +49159,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIContentUnavailableConfiguration.ClassHandle"> | |
+ <member name="P:UIKit.UICommandAlternate.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -45548,7 +49168,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableConfiguration.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UICommandAlternate.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -45556,8 +49176,9 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uicommandalternate/3175316-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableConfiguration.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICommandAlternate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45604,7 +49225,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableConfiguration.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICommandAlternate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45614,26 +49235,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIContentUnavailableConfigurationState.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UIContentUnavailableConfigurationState.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
- <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
- </remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uicontentunavailableconfigurationstate/4173106-initwithcoder</appledoc> | |
- </member> | |
- <member name="M:UIKit.UIContentUnavailableConfigurationState.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIContentContainer.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45680,7 +49282,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableConfigurationState.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIContentContainer.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45690,7 +49292,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIContentUnavailableImageProperties.ClassHandle"> | |
+ <member name="P:UIKit.UIContentUnavailableButtonProperties.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -45699,7 +49301,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableImageProperties.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIContentUnavailableButtonProperties.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -45708,7 +49310,7 @@ | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableImageProperties.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIContentUnavailableButtonProperties.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45755,7 +49357,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableImageProperties.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIContentUnavailableButtonProperties.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45765,7 +49367,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIContentUnavailableTextProperties.ClassHandle"> | |
+ <member name="P:UIKit.UIContentUnavailableConfiguration.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -45774,7 +49376,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableTextProperties.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIContentUnavailableConfiguration.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -45783,7 +49385,7 @@ | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableTextProperties.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIContentUnavailableConfiguration.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45830,7 +49432,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableTextProperties.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIContentUnavailableConfiguration.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45840,7 +49442,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIContentUnavailableView.ClassHandle"> | |
+ <member name="P:UIKit.UIContentUnavailableConfigurationState.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -45849,7 +49451,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableView.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIContentUnavailableConfigurationState.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -45857,9 +49459,9 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uicontentunavailableview/4173126-initwithcoder</appledoc> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uicontentunavailableconfigurationstate/4173106-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableView.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIContentUnavailableConfigurationState.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45906,7 +49508,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContentUnavailableView.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIContentUnavailableConfigurationState.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45916,7 +49518,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIContextMenuConfiguration.ClassHandle"> | |
+ <member name="P:UIKit.UIContentUnavailableImageProperties.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -45925,7 +49527,16 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContextMenuConfiguration.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIContentUnavailableImageProperties.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIContentUnavailableImageProperties.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -45972,7 +49583,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContextMenuConfiguration.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIContentUnavailableImageProperties.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -45982,7 +49593,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIContextMenuInteraction.ClassHandle"> | |
+ <member name="P:UIKit.UIContentUnavailableTextProperties.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -45991,7 +49602,16 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContextMenuInteraction.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIContentUnavailableTextProperties.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIContentUnavailableTextProperties.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46038,7 +49658,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContextMenuInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIContentUnavailableTextProperties.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46048,7 +49668,26 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContextMenuInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UIContentUnavailableView.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIContentUnavailableView.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uicontentunavailableview/4173126-initwithcoder</appledoc> | |
+ </member> | |
+ <member name="M:UIKit.UIContentUnavailableView.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46095,7 +49734,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContextMenuInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIContentUnavailableView.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46105,7 +49744,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIContextualAction.ClassHandle"> | |
+ <member name="T:UIKit.UIContentUnavailableView.UIContentUnavailableViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIContentUnavailableView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIContentUnavailableView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIContentUnavailableView.Appearance" /> property or by calling <see cref="M:UIKit.UIContentUnavailableView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIContentUnavailableView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIContentUnavailableView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIContentUnavailableView" />, they should use the <see cref="M:UIKit.UIContentUnavailableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIContentUnavailableView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIContentUnavailableView.UIContentUnavailableViewAppearance" /> for the subclass of <see cref="T:UIKit.UIContentUnavailableView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIContentUnavailableView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIContentUnavailableView.Appearance" /> property, or the <see cref="M:UIKit.UIContentUnavailableView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIContentUnavailableView.GetAppearance<MyUIContentUnavailableViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIContentUnavailableView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIContentUnavailableView" /> 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 <see cref="T:UIKit.UIContentUnavailableView" />, they should use the <see cref="M:UIKit.UIContentUnavailableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIContentUnavailableView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIContentUnavailableView.UIContentUnavailableViewAppearance" /> for <see cref="T:UIKit.UIContentUnavailableView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIContentUnavailableView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIContentUnavailableView" />, they should use the <see cref="M:UIKit.UIContentUnavailableView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIContentUnavailableView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIContentUnavailableView.UIContentUnavailableViewAppearance" /> for <see cref="T:UIKit.UIContentUnavailableView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIContentUnavailableView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIContentUnavailableView" />, they should use the <see cref="M:UIKit.UIContentUnavailableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIContentUnavailableView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIContentUnavailableView.UIContentUnavailableViewAppearance" /> for the subclass of <see cref="T:UIKit.UIContentUnavailableView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIContentUnavailableView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIContentUnavailableView.Appearance" /> property, or the <see cref="M:UIKit.UIContentUnavailableView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIContentUnavailableView.GetAppearance<MyUIContentUnavailableViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIContentUnavailableView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIContentUnavailableView.UIContentUnavailableViewAppearance" /> for the subclass of <see cref="T:UIKit.UIContentUnavailableView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIContentUnavailableView" />.</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> | |
+ <returns> | |
+ <para>An 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.UIContentUnavailableView.Appearance" /> property, or the <see cref="M:UIKit.UIContentUnavailableView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIContentUnavailableView.GetAppearance<MyUIContentUnavailableViewSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UIContextMenuConfiguration.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -46114,7 +49885,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContextualAction.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIContextMenuConfiguration.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46161,7 +49932,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIContextualAction.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIContextMenuConfiguration.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46171,7 +49942,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICoordinateSpace.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UIContextMenuInteraction.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIContextMenuInteraction.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46218,7 +49998,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICoordinateSpace.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIContextMenuInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46228,26 +50008,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UICubicTimingParameters.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UICubicTimingParameters.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
- <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
- </remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uicubictimingparameters/1649910-initwithcoder</appledoc> | |
- </member> | |
- <member name="M:UIKit.UICubicTimingParameters.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIContextMenuInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46294,7 +50055,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UICubicTimingParameters.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIContextMenuInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46304,7 +50065,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDatePicker.ClassHandle"> | |
+ <member name="P:UIKit.UIContextualAction.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -46313,17 +50074,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDatePicker.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
- <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
- </remarks> | |
- <appledoc>https://developer.apple.com/documentation/foundation/nscoding/1416145-initwithcoder</appledoc> | |
- </member> | |
- <member name="M:UIKit.UIDatePicker.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIContextualAction.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46370,7 +50121,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDatePicker.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIContextualAction.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46380,25 +50131,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDeferredMenuElement.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UIDeferredMenuElement.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
- <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UIDeferredMenuElement.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICoordinateSpace.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46445,7 +50178,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDeferredMenuElement.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICoordinateSpace.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46455,7 +50188,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDictationPhrase.ClassHandle"> | |
+ <member name="P:UIKit.UICubicTimingParameters.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -46464,7 +50197,17 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDictationPhrase.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UICubicTimingParameters.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uicubictimingparameters/1649910-initwithcoder</appledoc> | |
+ </member> | |
+ <member name="M:UIKit.UICubicTimingParameters.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46511,7 +50254,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDictationPhrase.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UICubicTimingParameters.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46521,7 +50264,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDocument.ClassHandle"> | |
+ <member name="P:UIKit.UIDatePicker.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -46530,7 +50273,17 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocument.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDatePicker.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ <appledoc>https://developer.apple.com/documentation/foundation/nscoding/1416145-initwithcoder</appledoc> | |
+ </member> | |
+ <member name="M:UIKit.UIDatePicker.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46577,7 +50330,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocument.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDatePicker.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46587,53 +50340,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="T:UIKit.UIDocument.Notifications"> | |
- <summary>Notifications posted by the <see cref="T:UIKit.UIDocument" /> class.</summary> | |
+ <member name="T:UIKit.UIDatePicker.UIDatePickerAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIDatePicker" />.</summary> | |
<remarks> | |
- <para>This class contains various helper methods that allow developers to observe events posted in the notification hub (<see cref="T:Foundation.NSNotificationCenter" />).</para> | |
- <para>The methods defined in this class post events that invoke the provided method or lambda with a <see cref="T:Foundation.NSNotificationEventArgs" /> parameter, which contains strongly typed properties for the notification arguments.</para> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIDatePicker" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIDatePicker.Appearance" /> property or by calling <see cref="M:UIKit.UIDatePicker.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocument.Notifications.ObserveStateChanged(System.EventHandler{Foundation.NSNotificationEventArgs})"> | |
- <summary>Strongly typed notification for the <see cref="P:UIKit.UIDocument.StateChangedNotification" /> constant.</summary> | |
- <param name="handler">The handler that responds to the notification when it occurs.</param> | |
- <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns> | |
+ <member name="P:UIKit.UIDatePicker.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
<remarks> | |
- <para>This method can be used to subscribe to <see cref="P:UIKit.UIDocument.StateChangedNotification" /> notifications.</para> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIDatePicker" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIDatePicker" />, they should use the <see cref="M:UIKit.UIDatePicker.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDatePicker.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIDatePicker.UIDatePickerAppearance" /> for the subclass of <see cref="T:UIKit.UIDatePicker" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIDatePicker" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIDatePicker.Appearance" /> property, or the <see cref="M:UIKit.UIDatePicker.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // Listen to all notifications posted for any object | |
- var token = UIDocument.Notifications.ObserveStateChanged ((notification) => { | |
- Console.WriteLine ("Observed StateChangedNotification!"); | |
- }; | |
- | |
- // Stop listening for notifications | |
- token.Dispose (); | |
+ var myTheme = UIDatePicker.GetAppearance<MyUIDatePickerSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocument.Notifications.ObserveStateChanged(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})"> | |
- <summary>Strongly typed notification for the <see cref="P:UIKit.UIDocument.StateChangedNotification" /> constant.</summary> | |
- <param name="objectToObserve">The specific object to observe.</param> | |
- <param name="handler">The handler that responds to the notification when it occurs.</param> | |
- <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns> | |
+ <member name="M:UIKit.UIDatePicker.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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>This method can be used to subscribe to <see cref="P:UIKit.UIDocument.StateChangedNotification" /> notifications.</para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIDatePicker" /> 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 <see cref="T:UIKit.UIDatePicker" />, they should use the <see cref="M:UIKit.UIDatePicker.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // Listen to all notifications posted for a single object | |
- var token = UIDocument.Notifications.ObserveStateChanged (objectToObserve, (notification) => { | |
- Console.WriteLine ($"Observed StateChangedNotification for {nameof (objectToObserve)}!"); | |
- }; | |
- | |
- // Stop listening for notifications | |
- token.Dispose (); | |
+ 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> | |
</member> | |
- <member name="P:UIKit.UIDocumentBrowserAction.ClassHandle"> | |
+ <member name="M:UIKit.UIDatePicker.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIDatePicker.UIDatePickerAppearance" /> for <see cref="T:UIKit.UIDatePicker" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIDatePicker.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIDatePicker" />, they should use the <see cref="M:UIKit.UIDatePicker.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDatePicker.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIDatePicker.UIDatePickerAppearance" /> for <see cref="T:UIKit.UIDatePicker" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIDatePicker.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIDatePicker" />, they should use the <see cref="M:UIKit.UIDatePicker.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDatePicker.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIDatePicker.UIDatePickerAppearance" /> for the subclass of <see cref="T:UIKit.UIDatePicker" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIDatePicker" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIDatePicker.Appearance" /> property, or the <see cref="M:UIKit.UIDatePicker.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIDatePicker.GetAppearance<MyUIDatePickerSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDatePicker.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIDatePicker.UIDatePickerAppearance" /> for the subclass of <see cref="T:UIKit.UIDatePicker" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIDatePicker" />.</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> | |
+ <returns> | |
+ <para>An 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.UIDatePicker.Appearance" /> property, or the <see cref="M:UIKit.UIDatePicker.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIDatePicker.GetAppearance<MyUIDatePickerSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UIDeferredMenuElement.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -46642,7 +50481,16 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentBrowserAction.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDeferredMenuElement.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDeferredMenuElement.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46689,7 +50537,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentBrowserAction.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDeferredMenuElement.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46699,7 +50547,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDocumentBrowserTransitionController.ClassHandle"> | |
+ <member name="P:UIKit.UIDictationPhrase.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -46708,7 +50556,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentBrowserTransitionController.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDictationPhrase.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46755,7 +50603,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentBrowserTransitionController.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDictationPhrase.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46765,7 +50613,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentBrowserViewControllerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UIDocument.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDocument.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46812,7 +50669,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentBrowserViewControllerDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocument.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46822,7 +50679,53 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDocumentInteractionController.ClassHandle"> | |
+ <member name="T:UIKit.UIDocument.Notifications"> | |
+ <summary>Notifications posted by the <see cref="T:UIKit.UIDocument" /> class.</summary> | |
+ <remarks> | |
+ <para>This class contains various helper methods that allow developers to observe events posted in the notification hub (<see cref="T:Foundation.NSNotificationCenter" />).</para> | |
+ <para>The methods defined in this class post events that invoke the provided method or lambda with a <see cref="T:Foundation.NSNotificationEventArgs" /> parameter, which contains strongly typed properties for the notification arguments.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDocument.Notifications.ObserveStateChanged(System.EventHandler{Foundation.NSNotificationEventArgs})"> | |
+ <summary>Strongly typed notification for the <see cref="P:UIKit.UIDocument.StateChangedNotification" /> constant.</summary> | |
+ <param name="handler">The handler that responds to the notification when it occurs.</param> | |
+ <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns> | |
+ <remarks> | |
+ <para>This method can be used to subscribe to <see cref="P:UIKit.UIDocument.StateChangedNotification" /> notifications.</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // Listen to all notifications posted for any object | |
+ var token = UIDocument.Notifications.ObserveStateChanged ((notification) => { | |
+ Console.WriteLine ("Observed StateChangedNotification!"); | |
+ }; | |
+ | |
+ // Stop listening for notifications | |
+ token.Dispose (); | |
+ ]]></code> | |
+ </example> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDocument.Notifications.ObserveStateChanged(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})"> | |
+ <summary>Strongly typed notification for the <see cref="P:UIKit.UIDocument.StateChangedNotification" /> constant.</summary> | |
+ <param name="objectToObserve">The specific object to observe.</param> | |
+ <param name="handler">The handler that responds to the notification when it occurs.</param> | |
+ <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns> | |
+ <remarks> | |
+ <para>This method can be used to subscribe to <see cref="P:UIKit.UIDocument.StateChangedNotification" /> notifications.</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // Listen to all notifications posted for a single object | |
+ var token = UIDocument.Notifications.ObserveStateChanged (objectToObserve, (notification) => { | |
+ Console.WriteLine ($"Observed StateChangedNotification for {nameof (objectToObserve)}!"); | |
+ }; | |
+ | |
+ // Stop listening for notifications | |
+ token.Dispose (); | |
+ ]]></code> | |
+ </example> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIDocumentBrowserAction.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -46831,7 +50734,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentInteractionController.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDocumentBrowserAction.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46878,7 +50781,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentInteractionController.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocumentBrowserAction.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46888,7 +50791,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentInteractionControllerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UIDocumentBrowserTransitionController.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDocumentBrowserTransitionController.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46935,7 +50847,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentInteractionControllerDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocumentBrowserTransitionController.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -46945,7 +50857,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentMenuDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDocumentBrowserViewControllerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -46992,7 +50904,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentMenuDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocumentBrowserViewControllerDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47002,7 +50914,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDocumentMenuViewController.ClassHandle"> | |
+ <member name="P:UIKit.UIDocumentInteractionController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -47011,17 +50923,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentMenuViewController.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
- <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
- </remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uidocumentmenuviewcontroller/1614182-initwithcoder</appledoc> | |
- </member> | |
- <member name="M:UIKit.UIDocumentMenuViewController.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDocumentInteractionController.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47068,7 +50970,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentMenuViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocumentInteractionController.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47078,7 +50980,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentPickerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDocumentInteractionControllerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47125,7 +51027,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentPickerDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocumentInteractionControllerDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47135,25 +51037,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDocumentPickerExtensionViewController.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UIDocumentPickerExtensionViewController.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
- <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UIDocumentPickerExtensionViewController.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDocumentMenuDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47200,7 +51084,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentPickerExtensionViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocumentMenuDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47210,7 +51094,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDocumentPickerViewController.ClassHandle"> | |
+ <member name="P:UIKit.UIDocumentMenuViewController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -47219,7 +51103,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentPickerViewController.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIDocumentMenuViewController.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -47227,9 +51111,9 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uidocumentpickerviewcontroller/1618686-initwithcoder</appledoc> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uidocumentmenuviewcontroller/1614182-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIDocumentPickerViewController.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDocumentMenuViewController.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47276,7 +51160,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentPickerViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocumentMenuViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47286,16 +51170,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDocumentProperties.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UIDocumentProperties.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDocumentPickerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47342,7 +51217,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocumentProperties.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocumentPickerDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47352,7 +51227,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDocViewController.ClassHandle"> | |
+ <member name="P:UIKit.UIDocumentPickerExtensionViewController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -47361,7 +51236,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocViewController.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIDocumentPickerExtensionViewController.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -47370,7 +51245,7 @@ | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocViewController.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDocumentPickerExtensionViewController.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47417,7 +51292,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDocViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocumentPickerExtensionViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47427,7 +51302,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDragInteraction.ClassHandle"> | |
+ <member name="P:UIKit.UIDocumentPickerViewController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -47436,64 +51311,17 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDragInteraction.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
- <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
- <example> | |
- <code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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> | |
- </member> | |
- <member name="M:UIKit.UIDragInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIDocumentPickerViewController.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
<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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uidocumentpickerviewcontroller/1618686-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIDragInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDocumentPickerViewController.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47540,7 +51368,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDragInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocumentPickerViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47550,7 +51378,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDragItem.ClassHandle"> | |
+ <member name="P:UIKit.UIDocumentProperties.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -47559,7 +51387,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDragItem.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDocumentProperties.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47606,7 +51434,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDragItem.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocumentProperties.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47616,7 +51444,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDragPreview.ClassHandle"> | |
+ <member name="P:UIKit.UIDocViewController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -47625,7 +51453,16 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDragPreview.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDocViewController.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDocViewController.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47672,7 +51509,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDragPreview.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDocViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47682,7 +51519,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDragPreviewParameters.ClassHandle"> | |
+ <member name="P:UIKit.UIDragInteraction.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -47691,7 +51528,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDragPreviewParameters.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDragInteraction.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47738,7 +51575,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDragPreviewParameters.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDragInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47748,16 +51585,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDragPreviewTarget.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UIDragPreviewTarget.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDragInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47804,7 +51632,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDragPreviewTarget.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDragInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47814,7 +51642,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDropInteraction.ClassHandle"> | |
+ <member name="P:UIKit.UIDragItem.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -47823,7 +51651,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDropInteraction.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDragItem.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47870,7 +51698,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDropInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDragItem.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47880,7 +51708,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDropInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UIDragPreview.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDragPreview.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47927,7 +51764,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDropInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDragPreview.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -47937,7 +51774,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDropProposal.ClassHandle"> | |
+ <member name="P:UIKit.UIDragPreviewParameters.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -47946,7 +51783,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDropProposal.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDragPreviewParameters.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -47993,7 +51830,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDropProposal.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDragPreviewParameters.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48003,7 +51840,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDynamicAnimatorDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UIDragPreviewTarget.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDragPreviewTarget.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48050,7 +51896,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDynamicAnimatorDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDragPreviewTarget.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48060,7 +51906,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDynamicBehavior.ClassHandle"> | |
+ <member name="P:UIKit.UIDropInteraction.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -48069,7 +51915,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDynamicBehavior.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDropInteraction.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48116,7 +51962,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDynamicBehavior.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDropInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48126,7 +51972,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDynamicItem.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDropInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48173,7 +52019,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDynamicItem.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDropInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48183,7 +52029,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDynamicItemBehavior.ClassHandle"> | |
+ <member name="P:UIKit.UIDropProposal.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -48192,7 +52038,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDynamicItemBehavior.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDropProposal.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48239,7 +52085,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDynamicItemBehavior.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDropProposal.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48249,16 +52095,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIDynamicItemGroup.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UIDynamicItemGroup.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDynamicAnimatorDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48305,7 +52142,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIDynamicItemGroup.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDynamicAnimatorDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48315,7 +52152,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIEditMenuConfiguration.ClassHandle"> | |
+ <member name="P:UIKit.UIDynamicBehavior.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -48324,7 +52161,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIEditMenuConfiguration.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDynamicBehavior.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48371,7 +52208,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIEditMenuConfiguration.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDynamicBehavior.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48381,7 +52218,64 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIEditMenuInteraction.ClassHandle"> | |
+ <member name="M:UIKit.UIDynamicItem.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIDynamicItem.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIDynamicItemBehavior.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -48390,7 +52284,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIEditMenuInteraction.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIDynamicItemBehavior.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48437,7 +52331,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIEditMenuInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDynamicItemBehavior.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48447,7 +52341,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIEditMenuInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UIDynamicItemGroup.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIDynamicItemGroup.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48494,7 +52397,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIEditMenuInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIDynamicItemGroup.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48504,7 +52407,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIEventAttribution.ClassHandle"> | |
+ <member name="P:UIKit.UIEditMenuConfiguration.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -48513,7 +52416,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIEventAttribution.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIEditMenuConfiguration.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48560,7 +52463,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIEventAttribution.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIEditMenuConfiguration.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48570,7 +52473,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIEventAttributionView.ClassHandle"> | |
+ <member name="P:UIKit.UIEditMenuInteraction.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -48579,16 +52482,64 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIEventAttributionView.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
+ <member name="M:UIKit.UIEditMenuInteraction.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
</member> | |
- <member name="M:UIKit.UIEventAttributionView.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIEditMenuInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIEditMenuInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48635,7 +52586,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIEventAttributionView.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIEditMenuInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48645,7 +52596,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIFeedbackGenerator.ClassHandle"> | |
+ <member name="P:UIKit.UIEventAttribution.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -48654,7 +52605,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFeedbackGenerator.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIEventAttribution.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48701,7 +52652,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFeedbackGenerator.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIEventAttribution.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48711,7 +52662,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIFieldBehavior.ClassHandle"> | |
+ <member name="P:UIKit.UIEventAttributionView.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -48720,7 +52671,16 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFieldBehavior.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIEventAttributionView.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIEventAttributionView.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48767,7 +52727,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFieldBehavior.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIEventAttributionView.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48777,7 +52737,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIFindInteraction.ClassHandle"> | |
+ <member name="T:UIKit.UIEventAttributionView.UIEventAttributionViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIEventAttributionView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIEventAttributionView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIEventAttributionView.Appearance" /> property or by calling <see cref="M:UIKit.UIEventAttributionView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIEventAttributionView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIEventAttributionView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIEventAttributionView" />, they should use the <see cref="M:UIKit.UIEventAttributionView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIEventAttributionView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIEventAttributionView.UIEventAttributionViewAppearance" /> for the subclass of <see cref="T:UIKit.UIEventAttributionView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIEventAttributionView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIEventAttributionView.Appearance" /> property, or the <see cref="M:UIKit.UIEventAttributionView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIEventAttributionView.GetAppearance<MyUIEventAttributionViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIEventAttributionView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIEventAttributionView" /> 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 <see cref="T:UIKit.UIEventAttributionView" />, they should use the <see cref="M:UIKit.UIEventAttributionView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIEventAttributionView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIEventAttributionView.UIEventAttributionViewAppearance" /> for <see cref="T:UIKit.UIEventAttributionView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIEventAttributionView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIEventAttributionView" />, they should use the <see cref="M:UIKit.UIEventAttributionView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIEventAttributionView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIEventAttributionView.UIEventAttributionViewAppearance" /> for <see cref="T:UIKit.UIEventAttributionView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIEventAttributionView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIEventAttributionView" />, they should use the <see cref="M:UIKit.UIEventAttributionView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIEventAttributionView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIEventAttributionView.UIEventAttributionViewAppearance" /> for the subclass of <see cref="T:UIKit.UIEventAttributionView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIEventAttributionView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIEventAttributionView.Appearance" /> property, or the <see cref="M:UIKit.UIEventAttributionView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIEventAttributionView.GetAppearance<MyUIEventAttributionViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIEventAttributionView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIEventAttributionView.UIEventAttributionViewAppearance" /> for the subclass of <see cref="T:UIKit.UIEventAttributionView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIEventAttributionView" />.</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> | |
+ <returns> | |
+ <para>An 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.UIEventAttributionView.Appearance" /> property, or the <see cref="M:UIKit.UIEventAttributionView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIEventAttributionView.GetAppearance<MyUIEventAttributionViewSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UIFeedbackGenerator.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -48786,7 +52878,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFindInteraction.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIFeedbackGenerator.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48833,7 +52925,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFindInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIFeedbackGenerator.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48843,7 +52935,16 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFindInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="P:UIKit.UIFieldBehavior.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIFieldBehavior.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48890,7 +52991,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFindInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIFieldBehavior.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48900,7 +53001,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIFindSession.ClassHandle"> | |
+ <member name="P:UIKit.UIFindInteraction.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -48909,7 +53010,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFindSession.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIFindInteraction.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -48956,7 +53057,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFindSession.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIFindInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -48966,16 +53067,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIFocusAnimationCoordinator.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
- <remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
- </member> | |
- <member name="M:UIKit.UIFocusAnimationCoordinator.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIFindInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -49022,7 +53114,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFocusAnimationCoordinator.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIFindInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -49032,7 +53124,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIFocusDebugger.ClassHandle"> | |
+ <member name="P:UIKit.UIFindSession.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -49041,7 +53133,139 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIFocusDebugger.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIFindSession.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIFindSession.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIFocusAnimationCoordinator.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIFocusAnimationCoordinator.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIFocusAnimationCoordinator.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIFocusDebugger.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIFocusDebugger.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -51323,139 +55547,148 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIImpactFeedbackGenerator.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="T:UIKit.UIImageView.UIImageViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIImageView" />.</summary> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIImageView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIImageView.Appearance" /> property or by calling <see cref="M:UIKit.UIImageView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:UIKit.UIImpactFeedbackGenerator.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="P:UIKit.UIImageView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIImageView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIImageView" />, they should use the <see cref="M:UIKit.UIImageView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIImageView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIImageView.UIImageViewAppearance" /> for the subclass of <see cref="T:UIKit.UIImageView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIImageView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIImageView.Appearance" /> property, or the <see cref="M:UIKit.UIImageView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTheme = UIImageView.GetAppearance<MyUIImageViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIImpactFeedbackGenerator.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIImageView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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> | |
- 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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIImageView" /> 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 <see cref="T:UIKit.UIImageView" />, they should use the <see cref="M:UIKit.UIImageView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
</member> | |
- <member name="P:UIKit.UIIndirectScribbleInteraction.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="M:UIKit.UIImageView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIImageView.UIImageViewAppearance" /> for <see cref="T:UIKit.UIImageView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIImageView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIImageView" />, they should use the <see cref="M:UIKit.UIImageView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:UIKit.UIIndirectScribbleInteraction.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="M:UIKit.UIImageView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIImageView.UIImageViewAppearance" /> for <see cref="T:UIKit.UIImageView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIImageView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIImageView" />, they should use the <see cref="M:UIKit.UIImageView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIIndirectScribbleInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIImageView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIImageView.UIImageViewAppearance" /> for the subclass of <see cref="T:UIKit.UIImageView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIImageView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <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.UIImageView.Appearance" /> property, or the <see cref="M:UIKit.UIImageView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIImageView.GetAppearance<MyUIImageViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIIndirectScribbleInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIImageView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIImageView.UIImageViewAppearance" /> for the subclass of <see cref="T:UIKit.UIImageView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIImageView" />.</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> | |
+ <returns> | |
+ <para>An 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.UIImageView.Appearance" /> property, or the <see cref="M:UIKit.UIImageView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIImageView.GetAppearance<MyUIImageViewSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UIImpactFeedbackGenerator.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIImpactFeedbackGenerator.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -51502,7 +55735,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIIndirectScribbleInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIImpactFeedbackGenerator.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -51512,7 +55745,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIInputView.ClassHandle"> | |
+ <member name="P:UIKit.UIIndirectScribbleInteraction.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -51521,17 +55754,64 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIInputView.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
+ <member name="M:UIKit.UIIndirectScribbleInteraction.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uiinputview/1619475-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIInputView.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIIndirectScribbleInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIIndirectScribbleInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -51578,7 +55858,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIInputView.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIIndirectScribbleInteractionDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -51588,7 +55868,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIInputViewController.ClassHandle"> | |
+ <member name="P:UIKit.UIInputView.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -51597,7 +55877,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIInputViewController.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIInputView.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -51605,8 +55885,9 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uiinputview/1619475-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIInputViewController.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIInputView.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -51653,7 +55934,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIInputViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIInputView.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -51663,7 +55944,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIInterpolatingMotionEffect.ClassHandle"> | |
+ <member name="T:UIKit.UIInputView.UIInputViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIInputView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIInputView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIInputView.Appearance" /> property or by calling <see cref="M:UIKit.UIInputView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIInputView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIInputView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIInputView" />, they should use the <see cref="M:UIKit.UIInputView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIInputView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIInputView.UIInputViewAppearance" /> for the subclass of <see cref="T:UIKit.UIInputView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIInputView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIInputView.Appearance" /> property, or the <see cref="M:UIKit.UIInputView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIInputView.GetAppearance<MyUIInputViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIInputView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIInputView" /> 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 <see cref="T:UIKit.UIInputView" />, they should use the <see cref="M:UIKit.UIInputView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIInputView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIInputView.UIInputViewAppearance" /> for <see cref="T:UIKit.UIInputView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIInputView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIInputView" />, they should use the <see cref="M:UIKit.UIInputView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIInputView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIInputView.UIInputViewAppearance" /> for <see cref="T:UIKit.UIInputView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIInputView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIInputView" />, they should use the <see cref="M:UIKit.UIInputView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIInputView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIInputView.UIInputViewAppearance" /> for the subclass of <see cref="T:UIKit.UIInputView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIInputView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIInputView.Appearance" /> property, or the <see cref="M:UIKit.UIInputView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIInputView.GetAppearance<MyUIInputViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIInputView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIInputView.UIInputViewAppearance" /> for the subclass of <see cref="T:UIKit.UIInputView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIInputView" />.</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> | |
+ <returns> | |
+ <para>An 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.UIInputView.Appearance" /> property, or the <see cref="M:UIKit.UIInputView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIInputView.GetAppearance<MyUIInputViewSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UIInputViewController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -51672,7 +56085,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIInterpolatingMotionEffect.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIInputViewController.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -51680,9 +56093,8 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uiinterpolatingmotioneffect/1622368-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIInterpolatingMotionEffect.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIInputViewController.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -51729,7 +56141,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIInterpolatingMotionEffect.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIInputViewController.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -51739,7 +56151,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIKey.ClassHandle"> | |
+ <member name="P:UIKit.UIInterpolatingMotionEffect.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -51748,7 +56160,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIKey.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIInterpolatingMotionEffect.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -51756,9 +56168,9 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/foundation/nscoding/1416145-initwithcoder</appledoc> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uiinterpolatingmotioneffect/1622368-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIKey.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIInterpolatingMotionEffect.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -51805,7 +56217,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIKey.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIInterpolatingMotionEffect.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -51815,7 +56227,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIKeyboardLayoutGuide.ClassHandle"> | |
+ <member name="P:UIKit.UIKey.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -51824,7 +56236,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIKeyboardLayoutGuide.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIKey.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -51832,8 +56244,9 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
+ <appledoc>https://developer.apple.com/documentation/foundation/nscoding/1416145-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIKeyboardLayoutGuide.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIKey.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -51880,7 +56293,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIKeyboardLayoutGuide.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIKey.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -51890,7 +56303,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIKeyCommand.ClassHandle"> | |
+ <member name="P:UIKit.UIKeyboardLayoutGuide.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -51899,7 +56312,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIKeyCommand.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIKeyboardLayoutGuide.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -51907,9 +56320,8 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uikeycommand/1621115-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIKeyCommand.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIKeyboardLayoutGuide.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -51956,7 +56368,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIKeyCommand.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIKeyboardLayoutGuide.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -51966,7 +56378,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UILabel.ClassHandle"> | |
+ <member name="P:UIKit.UIKeyCommand.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -51975,7 +56387,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UILabel.#ctor(Foundation.NSCoder)"> | |
+ <member name="M:UIKit.UIKeyCommand.#ctor(Foundation.NSCoder)"> | |
<summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
<param name="coder">The unarchiver object.</param> | |
<remarks> | |
@@ -51983,9 +56395,9 @@ | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
<para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/foundation/nscoding/1416145-initwithcoder</appledoc> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uikeycommand/1621115-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UILabel.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIKeyCommand.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -52032,7 +56444,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UILabel.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIKeyCommand.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -52042,7 +56454,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UILargeContentViewerInteraction.ClassHandle"> | |
+ <member name="P:UIKit.UILabel.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -52051,7 +56463,17 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UILargeContentViewerInteraction.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UILabel.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ <appledoc>https://developer.apple.com/documentation/foundation/nscoding/1416145-initwithcoder</appledoc> | |
+ </member> | |
+ <member name="M:UIKit.UILabel.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -52098,7 +56520,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UILargeContentViewerInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UILabel.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -52108,53 +56530,251 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="T:UIKit.UILargeContentViewerInteraction.Notifications"> | |
- <summary>Notifications posted by the <see cref="T:UIKit.UILargeContentViewerInteraction" /> class.</summary> | |
+ <member name="T:UIKit.UILabel.UILabelAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UILabel" />.</summary> | |
<remarks> | |
- <para>This class contains various helper methods that allow developers to observe events posted in the notification hub (<see cref="T:Foundation.NSNotificationCenter" />).</para> | |
- <para>The methods defined in this class post events that invoke the provided method or lambda with a <see cref="T:Foundation.NSNotificationEventArgs" /> parameter, which contains strongly typed properties for the notification arguments.</para> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UILabel" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UILabel.Appearance" /> property or by calling <see cref="M:UIKit.UILabel.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UILargeContentViewerInteraction.Notifications.ObserveInteractionEnabledStatusDidChange(System.EventHandler{Foundation.NSNotificationEventArgs})"> | |
- <summary>Strongly typed notification for the <see cref="P:UIKit.UILargeContentViewerInteraction.InteractionEnabledStatusDidChangeNotification" /> constant.</summary> | |
- <param name="handler">The handler that responds to the notification when it occurs.</param> | |
- <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns> | |
+ <member name="P:UIKit.UILabel.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
<remarks> | |
- <para>This method can be used to subscribe to <see cref="P:UIKit.UILargeContentViewerInteraction.InteractionEnabledStatusDidChangeNotification" /> notifications.</para> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UILabel" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UILabel" />, they should use the <see cref="M:UIKit.UILabel.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UILabel.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UILabel.UILabelAppearance" /> for the subclass of <see cref="T:UIKit.UILabel" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UILabel" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UILabel.Appearance" /> property, or the <see cref="M:UIKit.UILabel.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // Listen to all notifications posted for any object | |
- var token = UILargeContentViewerInteraction.Notifications.ObserveInteractionEnabledStatusDidChange ((notification) => { | |
- Console.WriteLine ("Observed InteractionEnabledStatusDidChangeNotification!"); | |
- }; | |
- | |
- // Stop listening for notifications | |
- token.Dispose (); | |
+ var myTheme = UILabel.GetAppearance<MyUILabelSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UILargeContentViewerInteraction.Notifications.ObserveInteractionEnabledStatusDidChange(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})"> | |
- <summary>Strongly typed notification for the <see cref="P:UIKit.UILargeContentViewerInteraction.InteractionEnabledStatusDidChangeNotification" /> constant.</summary> | |
- <param name="objectToObserve">The specific object to observe.</param> | |
- <param name="handler">The handler that responds to the notification when it occurs.</param> | |
- <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns> | |
+ <member name="M:UIKit.UILabel.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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>This method can be used to subscribe to <see cref="P:UIKit.UILargeContentViewerInteraction.InteractionEnabledStatusDidChangeNotification" /> notifications.</para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UILabel" /> 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 <see cref="T:UIKit.UILabel" />, they should use the <see cref="M:UIKit.UILabel.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // Listen to all notifications posted for a single object | |
- var token = UILargeContentViewerInteraction.Notifications.ObserveInteractionEnabledStatusDidChange (objectToObserve, (notification) => { | |
- Console.WriteLine ($"Observed InteractionEnabledStatusDidChangeNotification for {nameof (objectToObserve)}!"); | |
- }; | |
- | |
- // Stop listening for notifications | |
- token.Dispose (); | |
+ 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> | |
</member> | |
- <member name="M:UIKit.UILargeContentViewerInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UILabel.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UILabel.UILabelAppearance" /> for <see cref="T:UIKit.UILabel" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UILabel.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UILabel" />, they should use the <see cref="M:UIKit.UILabel.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UILabel.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UILabel.UILabelAppearance" /> for <see cref="T:UIKit.UILabel" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UILabel.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UILabel" />, they should use the <see cref="M:UIKit.UILabel.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UILabel.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UILabel.UILabelAppearance" /> for the subclass of <see cref="T:UIKit.UILabel" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UILabel" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UILabel.Appearance" /> property, or the <see cref="M:UIKit.UILabel.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UILabel.GetAppearance<MyUILabelSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UILabel.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UILabel.UILabelAppearance" /> for the subclass of <see cref="T:UIKit.UILabel" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UILabel" />.</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> | |
+ <returns> | |
+ <para>An 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.UILabel.Appearance" /> property, or the <see cref="M:UIKit.UILabel.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UILabel.GetAppearance<MyUILabelSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UILargeContentViewerInteraction.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UILargeContentViewerInteraction.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UILargeContentViewerInteraction.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="T:UIKit.UILargeContentViewerInteraction.Notifications"> | |
+ <summary>Notifications posted by the <see cref="T:UIKit.UILargeContentViewerInteraction" /> class.</summary> | |
+ <remarks> | |
+ <para>This class contains various helper methods that allow developers to observe events posted in the notification hub (<see cref="T:Foundation.NSNotificationCenter" />).</para> | |
+ <para>The methods defined in this class post events that invoke the provided method or lambda with a <see cref="T:Foundation.NSNotificationEventArgs" /> parameter, which contains strongly typed properties for the notification arguments.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UILargeContentViewerInteraction.Notifications.ObserveInteractionEnabledStatusDidChange(System.EventHandler{Foundation.NSNotificationEventArgs})"> | |
+ <summary>Strongly typed notification for the <see cref="P:UIKit.UILargeContentViewerInteraction.InteractionEnabledStatusDidChangeNotification" /> constant.</summary> | |
+ <param name="handler">The handler that responds to the notification when it occurs.</param> | |
+ <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns> | |
+ <remarks> | |
+ <para>This method can be used to subscribe to <see cref="P:UIKit.UILargeContentViewerInteraction.InteractionEnabledStatusDidChangeNotification" /> notifications.</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // Listen to all notifications posted for any object | |
+ var token = UILargeContentViewerInteraction.Notifications.ObserveInteractionEnabledStatusDidChange ((notification) => { | |
+ Console.WriteLine ("Observed InteractionEnabledStatusDidChangeNotification!"); | |
+ }; | |
+ | |
+ // Stop listening for notifications | |
+ token.Dispose (); | |
+ ]]></code> | |
+ </example> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UILargeContentViewerInteraction.Notifications.ObserveInteractionEnabledStatusDidChange(Foundation.NSObject,System.EventHandler{Foundation.NSNotificationEventArgs})"> | |
+ <summary>Strongly typed notification for the <see cref="P:UIKit.UILargeContentViewerInteraction.InteractionEnabledStatusDidChangeNotification" /> constant.</summary> | |
+ <param name="objectToObserve">The specific object to observe.</param> | |
+ <param name="handler">The handler that responds to the notification when it occurs.</param> | |
+ <returns>Token object that can be used to stop receiving notifications by either disposing it or passing it to <see cref="M:Foundation.NSNotificationCenter.RemoveObservers(System.Collections.Generic.IEnumerable{Foundation.NSObject})" />.</returns> | |
+ <remarks> | |
+ <para>This method can be used to subscribe to <see cref="P:UIKit.UILargeContentViewerInteraction.InteractionEnabledStatusDidChangeNotification" /> notifications.</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // Listen to all notifications posted for a single object | |
+ var token = UILargeContentViewerInteraction.Notifications.ObserveInteractionEnabledStatusDidChange (objectToObserve, (notification) => { | |
+ Console.WriteLine ($"Observed InteractionEnabledStatusDidChangeNotification for {nameof (objectToObserve)}!"); | |
+ }; | |
+ | |
+ // Stop listening for notifications | |
+ token.Dispose (); | |
+ ]]></code> | |
+ </example> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UILargeContentViewerInteractionDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -52777,149 +57397,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UILocalizedIndexedCollation.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="T:UIKit.UIListContentView.UIListContentViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIListContentView" />.</summary> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIListContentView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIListContentView.Appearance" /> property or by calling <see cref="M:UIKit.UIListContentView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:UIKit.UILocalizedIndexedCollation.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="P:UIKit.UIListContentView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIListContentView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIListContentView" />, they should use the <see cref="M:UIKit.UIListContentView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIListContentView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIListContentView.UIListContentViewAppearance" /> for the subclass of <see cref="T:UIKit.UIListContentView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIListContentView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIListContentView.Appearance" /> property, or the <see cref="M:UIKit.UIListContentView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTheme = UIListContentView.GetAppearance<MyUIListContentViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UILocalizedIndexedCollation.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIListContentView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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> | |
- 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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIListContentView" /> 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 <see cref="T:UIKit.UIListContentView" />, they should use the <see cref="M:UIKit.UIListContentView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
</member> | |
- <member name="P:UIKit.UILocalNotification.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="M:UIKit.UIListContentView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIListContentView.UIListContentViewAppearance" /> for <see cref="T:UIKit.UIListContentView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIListContentView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIListContentView" />, they should use the <see cref="M:UIKit.UIListContentView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:UIKit.UILocalNotification.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
+ <member name="M:UIKit.UIListContentView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIListContentView.UIListContentViewAppearance" /> for <see cref="T:UIKit.UIListContentView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIListContentView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIListContentView" />, they should use the <see cref="M:UIKit.UIListContentView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/uikit/uilocalnotification/1616653-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UILocalNotification.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="M:UIKit.UIListContentView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIListContentView.UIListContentViewAppearance" /> for the subclass of <see cref="T:UIKit.UIListContentView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIListContentView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <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.UIListContentView.Appearance" /> property, or the <see cref="M:UIKit.UIListContentView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIListContentView.GetAppearance<MyUIListContentViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UILocalNotification.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIListContentView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIListContentView.UIListContentViewAppearance" /> for the subclass of <see cref="T:UIKit.UIListContentView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIListContentView" />.</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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <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.UIListContentView.Appearance" /> property, or the <see cref="M:UIKit.UIListContentView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIListContentView.GetAppearance<MyUIListContentViewSubclass> (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> | |
</member> | |
- <member name="P:UIKit.UIManagedDocument.ClassHandle"> | |
+ <member name="P:UIKit.UILocalizedIndexedCollation.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -52928,7 +57538,7 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIManagedDocument.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UILocalizedIndexedCollation.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -52975,7 +57585,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIManagedDocument.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UILocalizedIndexedCollation.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -52985,7 +57595,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIMarkupTextPrintFormatter.ClassHandle"> | |
+ <member name="P:UIKit.UILocalNotification.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -52994,7 +57604,149 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIMarkupTextPrintFormatter.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UILocalNotification.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ <appledoc>https://developer.apple.com/documentation/uikit/uilocalnotification/1616653-initwithcoder</appledoc> | |
+ </member> | |
+ <member name="M:UIKit.UILocalNotification.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UILocalNotification.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIManagedDocument.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIManagedDocument.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIManagedDocument.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIMarkupTextPrintFormatter.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIMarkupTextPrintFormatter.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -54717,130 +59469,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIPageControlProgress.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="T:UIKit.UIPageControl.UIPageControlAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIPageControl" />.</summary> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIPageControl" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIPageControl.Appearance" /> property or by calling <see cref="M:UIKit.UIPageControl.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:UIKit.UIPageControlProgress.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="P:UIKit.UIPageControl.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIPageControl" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPageControl" />, they should use the <see cref="M:UIKit.UIPageControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPageControl.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPageControl.UIPageControlAppearance" /> for the subclass of <see cref="T:UIKit.UIPageControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIPageControl" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIPageControl.Appearance" /> property, or the <see cref="M:UIKit.UIPageControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTheme = UIPageControl.GetAppearance<MyUIPageControlSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIPageControlProgress.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIPageControl.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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> | |
- 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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIPageControl" /> 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 <see cref="T:UIKit.UIPageControl" />, they should use the <see cref="M:UIKit.UIPageControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
</member> | |
- <member name="M:UIKit.UIPageControlProgressDelegate.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="M:UIKit.UIPageControl.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPageControl.UIPageControlAppearance" /> for <see cref="T:UIKit.UIPageControl" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPageControl.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPageControl" />, they should use the <see cref="M:UIKit.UIPageControl.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIPageControlProgressDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIPageControl.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPageControl.UIPageControlAppearance" /> for <see cref="T:UIKit.UIPageControl" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPageControl.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPageControl" />, they should use the <see cref="M:UIKit.UIPageControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIPageControlTimerProgress.ClassHandle"> | |
+ <member name="M:UIKit.UIPageControl.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPageControl.UIPageControlAppearance" /> for the subclass of <see cref="T:UIKit.UIPageControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIPageControl" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIPageControl.Appearance" /> property, or the <see cref="M:UIKit.UIPageControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPageControl.GetAppearance<MyUIPageControlSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPageControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPageControl.UIPageControlAppearance" /> for the subclass of <see cref="T:UIKit.UIPageControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIPageControl" />.</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> | |
+ <returns> | |
+ <para>An 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.UIPageControl.Appearance" /> property, or the <see cref="M:UIKit.UIPageControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPageControl.GetAppearance<MyUIPageControlSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UIPageControlProgress.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -54849,7 +59610,130 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIPageControlTimerProgress.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIPageControlProgress.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIPageControlProgress.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPageControlProgressDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIPageControlProgressDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIPageControlTimerProgress.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPageControlTimerProgress.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -55228,6 +60112,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UIPasteControl.UIPasteControlAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIPasteControl" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIPasteControl" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIPasteControl.Appearance" /> property or by calling <see cref="M:UIKit.UIPasteControl.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIPasteControl.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIPasteControl" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPasteControl" />, they should use the <see cref="M:UIKit.UIPasteControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPasteControl.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPasteControl.UIPasteControlAppearance" /> for the subclass of <see cref="T:UIKit.UIPasteControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIPasteControl" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIPasteControl.Appearance" /> property, or the <see cref="M:UIKit.UIPasteControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIPasteControl.GetAppearance<MyUIPasteControlSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPasteControl.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIPasteControl" /> 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 <see cref="T:UIKit.UIPasteControl" />, they should use the <see cref="M:UIKit.UIPasteControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIPasteControl.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPasteControl.UIPasteControlAppearance" /> for <see cref="T:UIKit.UIPasteControl" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPasteControl.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPasteControl" />, they should use the <see cref="M:UIKit.UIPasteControl.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPasteControl.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPasteControl.UIPasteControlAppearance" /> for <see cref="T:UIKit.UIPasteControl" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPasteControl.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPasteControl" />, they should use the <see cref="M:UIKit.UIPasteControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPasteControl.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPasteControl.UIPasteControlAppearance" /> for the subclass of <see cref="T:UIKit.UIPasteControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIPasteControl" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIPasteControl.Appearance" /> property, or the <see cref="M:UIKit.UIPasteControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPasteControl.GetAppearance<MyUIPasteControlSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPasteControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPasteControl.UIPasteControlAppearance" /> for the subclass of <see cref="T:UIKit.UIPasteControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIPasteControl" />.</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> | |
+ <returns> | |
+ <para>An 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.UIPasteControl.Appearance" /> property, or the <see cref="M:UIKit.UIPasteControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPasteControl.GetAppearance<MyUIPasteControlSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UIPasteControlConfiguration.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -56624,64 +61640,196 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIPopoverControllerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="T:UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIPopoverBackgroundView" />.</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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIPopoverBackgroundView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIPopoverBackgroundView.Appearance" /> property or by calling <see cref="M:UIKit.UIPopoverBackgroundView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIPopoverBackgroundView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIPopoverBackgroundView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPopoverBackgroundView" />, they should use the <see cref="M:UIKit.UIPopoverBackgroundView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPopoverBackgroundView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" /> for the subclass of <see cref="T:UIKit.UIPopoverBackgroundView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIPopoverBackgroundView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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 this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ 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> | |
</member> | |
- <member name="M:UIKit.UIPopoverControllerDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIPopoverBackgroundView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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> | |
- 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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.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 <see cref="T:UIKit.UIPopoverBackgroundView" />, they should use the <see cref="M:UIKit.UIPopoverBackgroundView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
</member> | |
- <member name="M:UIKit.UIPopoverPresentationControllerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIPopoverBackgroundView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" /> for <see cref="T:UIKit.UIPopoverBackgroundView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPopoverBackgroundView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPopoverBackgroundView" />, they should use the <see cref="M:UIKit.UIPopoverBackgroundView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPopoverBackgroundView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" /> for <see cref="T:UIKit.UIPopoverBackgroundView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIPopoverBackgroundView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIPopoverBackgroundView" />, they should use the <see cref="M:UIKit.UIPopoverBackgroundView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPopoverBackgroundView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" /> for the subclass of <see cref="T:UIKit.UIPopoverBackgroundView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIPopoverBackgroundView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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 this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ 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> | |
+ </member> | |
+ <member name="M:UIKit.UIPopoverBackgroundView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIPopoverBackgroundView.UIPopoverBackgroundViewAppearance" /> for the subclass of <see cref="T:UIKit.UIPopoverBackgroundView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.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> | |
+ <returns> | |
+ <para>An 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 this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ 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> | |
+ </member> | |
+ <member name="M:UIKit.UIPopoverControllerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIPopoverControllerDelegate.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIPopoverPresentationControllerDelegate.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -58126,6 +63274,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UIProgressView.UIProgressViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIProgressView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIProgressView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIProgressView.Appearance" /> property or by calling <see cref="M:UIKit.UIProgressView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIProgressView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIProgressView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIProgressView" />, they should use the <see cref="M:UIKit.UIProgressView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIProgressView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIProgressView.UIProgressViewAppearance" /> for the subclass of <see cref="T:UIKit.UIProgressView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIProgressView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIProgressView.Appearance" /> property, or the <see cref="M:UIKit.UIProgressView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIProgressView.GetAppearance<MyUIProgressViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIProgressView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIProgressView" /> 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 <see cref="T:UIKit.UIProgressView" />, they should use the <see cref="M:UIKit.UIProgressView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIProgressView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIProgressView.UIProgressViewAppearance" /> for <see cref="T:UIKit.UIProgressView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIProgressView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIProgressView" />, they should use the <see cref="M:UIKit.UIProgressView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIProgressView.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIProgressView.UIProgressViewAppearance" /> for <see cref="T:UIKit.UIProgressView" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIProgressView.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIProgressView" />, they should use the <see cref="M:UIKit.UIProgressView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIProgressView.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIProgressView.UIProgressViewAppearance" /> for the subclass of <see cref="T:UIKit.UIProgressView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIProgressView" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An 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.UIProgressView.Appearance" /> property, or the <see cref="M:UIKit.UIProgressView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIProgressView.GetAppearance<MyUIProgressViewSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIProgressView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIProgressView.UIProgressViewAppearance" /> for the subclass of <see cref="T:UIKit.UIProgressView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIProgressView" />.</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> | |
+ <returns> | |
+ <para>An 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.UIProgressView.Appearance" /> property, or the <see cref="M:UIKit.UIProgressView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIProgressView.GetAppearance<MyUIProgressViewSubclass> (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> | |
+ </member> | |
<member name="P:UIKit.UIReferenceLibraryViewController.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
@@ -58277,149 +63557,139 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIRegion.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="T:UIKit.UIRefreshControl.UIRefreshControlAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIRefreshControl" />.</summary> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIRefreshControl" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIRefreshControl.Appearance" /> property or by calling <see cref="M:UIKit.UIRefreshControl.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:UIKit.UIRegion.#ctor(Foundation.NSCoder)"> | |
- <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
- <param name="coder">The unarchiver object.</param> | |
+ <member name="P:UIKit.UIRefreshControl.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
- <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIRefreshControl" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIRefreshControl" />, they should use the <see cref="M:UIKit.UIRefreshControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
</remarks> | |
- <appledoc>https://developer.apple.com/documentation/foundation/nscoding/1416145-initwithcoder</appledoc> | |
</member> | |
- <member name="M:UIKit.UIRegion.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="M:UIKit.UIRefreshControl.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIRefreshControl.UIRefreshControlAppearance" /> for the subclass of <see cref="T:UIKit.UIRefreshControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIRefreshControl" />.</typeparam> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <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.UIRefreshControl.Appearance" /> property, or the <see cref="M:UIKit.UIRefreshControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTheme = UIRefreshControl.GetAppearance<MyUIRefreshControlSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIRegion.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIRefreshControl.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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> | |
- 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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <para>The returned object represents the <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIRefreshControl" /> 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 <see cref="T:UIKit.UIRefreshControl" />, they should use the <see cref="M:UIKit.UIRefreshControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
</member> | |
- <member name="P:UIKit.UIResolvedShape.ClassHandle"> | |
- <summary>The Objective-C class handle for this class.</summary> | |
- <value>The pointer to the Objective-C class.</value> | |
+ <member name="M:UIKit.UIRefreshControl.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIRefreshControl.UIRefreshControlAppearance" /> for <see cref="T:UIKit.UIRefreshControl" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<remarks> | |
- Each managed class mirrors an unmanaged Objective-C class. | |
- This value contains the pointer to the Objective-C class. | |
- It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
- </remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIRefreshControl.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIRefreshControl" />, they should use the <see cref="M:UIKit.UIRefreshControl.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
</member> | |
- <member name="M:UIKit.UIResolvedShape.#ctor(Foundation.NSObjectFlag)"> | |
- <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
- <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <member name="M:UIKit.UIRefreshControl.GetAppearance(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIRefreshControl.UIRefreshControlAppearance" /> for <see cref="T:UIKit.UIRefreshControl" />.</summary> | |
+ <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> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
- <para> | |
- In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
- Typically the chaining would look like this: | |
- </para> | |
+ <para>The following example shows how this method works:</para> | |
<example> | |
<code lang="csharp lang-csharp"><![CDATA[ | |
- // | |
- // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
- // No actual initXxx method is invoked, that is done later in the constructor | |
- // | |
- // This is taken from the iOS SDK's source code for the UIView class: | |
- // | |
- [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); | |
- } | |
- } | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIRefreshControl.GetAppearance (myTraits, typeof (UINavigationBar), typeof (UIPopoverController)); | |
+ myTheme.TintColor = UIColor.Red; | |
]]></code> | |
</example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIRefreshControl" />, they should use the <see cref="M:UIKit.UIRefreshControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIResolvedShape.#ctor(ObjCRuntime.NativeHandle)"> | |
- <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
- <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <member name="M:UIKit.UIRefreshControl.GetAppearance``1(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIRefreshControl.UIRefreshControlAppearance" /> for the subclass of <see cref="T:UIKit.UIRefreshControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIRefreshControl" />.</typeparam> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
<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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
- </para> | |
+ <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.UIRefreshControl.Appearance" /> property, or the <see cref="M:UIKit.UIRefreshControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIRefreshControl.GetAppearance<MyUIRefreshControlSubclass> (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIResponder.ClassHandle"> | |
+ <member name="M:UIKit.UIRefreshControl.GetAppearance``1(UIKit.UITraitCollection,System.Type[])"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIRefreshControl.UIRefreshControlAppearance" /> for the subclass of <see cref="T:UIKit.UIRefreshControl" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIRefreshControl" />.</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> | |
+ <returns> | |
+ <para>An 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.UIRefreshControl.Appearance" /> property, or the <see cref="M:UIKit.UIRefreshControl.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIRefreshControl.GetAppearance<MyUIRefreshControlSubclass> (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> | |
+ </member> | |
+ <member name="P:UIKit.UIRegion.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -58428,7 +63698,17 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIResponder.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIRegion.#ctor(Foundation.NSCoder)"> | |
+ <summary>A constructor that initializes the object from the data stored in the unarchiver object.</summary> | |
+ <param name="coder">The unarchiver object.</param> | |
+ <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 <c>[Export("initWithCoder:"]</c> attribute.</para> | |
+ <para>The state of this object can also be serialized by using the <see cref="M:Foundation.INSCoding.EncodeTo(Foundation.NSCoder)" /> companion method.</para> | |
+ </remarks> | |
+ <appledoc>https://developer.apple.com/documentation/foundation/nscoding/1416145-initwithcoder</appledoc> | |
+ </member> | |
+ <member name="M:UIKit.UIRegion.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -58475,7 +63755,7 @@ | |
</example> | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIResponder.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <member name="M:UIKit.UIRegion.#ctor(ObjCRuntime.NativeHandle)"> | |
<summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
<param name="handle">Pointer (handle) to the unmanaged object.</param> | |
<remarks> | |
@@ -58485,7 +63765,7 @@ | |
</para> | |
</remarks> | |
</member> | |
- <member name="P:UIKit.UIScene.ClassHandle"> | |
+ <member name="P:UIKit.UIResolvedShape.ClassHandle"> | |
<summary>The Objective-C class handle for this class.</summary> | |
<value>The pointer to the Objective-C class.</value> | |
<remarks> | |
@@ -58494,7 +63774,139 @@ | |
It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
</remarks> | |
</member> | |
- <member name="M:UIKit.UIScene.#ctor(Foundation.NSObjectFlag)"> | |
+ <member name="M:UIKit.UIResolvedShape.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIResolvedShape.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIResponder.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIResponder.#ctor(Foundation.NSObjectFlag)"> | |
+ <summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
+ <param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
+ <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 <see cref="T:Foundation.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 this constructor, they take advantage of a direct path that goes all the way up to <see cref="T:Foundation.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 this constructor chain.</para> | |
+ <para> | |
+ In general, if the developer's constructor invokes the corresponding base implementation, then it should also call 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 <see cref="T:Foundation.NSObject" /> allocation and runtime type registration. | |
+ Typically the chaining would look like this: | |
+ </para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ // | |
+ // The NSObjectFlag constructor merely allocates the object and registers the C# class with the Objective-C runtime if necessary. | |
+ // No actual initXxx method is invoked, that is done later in the constructor | |
+ // | |
+ // This is taken from the iOS SDK's source code for the UIView class: | |
+ // | |
+ [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> | |
+ </member> | |
+ <member name="M:UIKit.UIResponder.#ctor(ObjCRuntime.NativeHandle)"> | |
+ <summary>A constructor used when creating managed representations of unmanaged objects. Called by the runtime.</summary> | |
+ <param name="handle">Pointer (handle) to the unmanaged object.</param> | |
+ <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 <see cref="M:ObjCRuntime.Runtime.GetNSObject(System.IntPtr)" /> as it will prevent two instances of a managed object pointing to the same native object. | |
+ </para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIScene.ClassHandle"> | |
+ <summary>The Objective-C class handle for this class.</summary> | |
+ <value>The pointer to the Objective-C class.</value> | |
+ <remarks> | |
+ Each managed class mirrors an unmanaged Objective-C class. | |
+ This value contains the pointer to the Objective-C class. | |
+ It is similar to calling the managed <see cref="M:ObjCRuntime.Class.GetHandle(System.String)" /> or the native <see href="https://developer.apple.com/documentation/objectivec/1418952-objc_getclass">objc_getClass</see> method with the type name. | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIScene.#ctor(Foundation.NSObjectFlag)"> | |
<summary>Constructor to call on derived classes to skip initialization and merely allocate the object.</summary> | |
<param name="t">Unused sentinel value, pass NSObjectFlag.Empty.</param> | |
<remarks> | |
@@ -59991,6 +65403,138 @@ | |
</para> | |
</remarks> | |
</member> | |
+ <member name="T:UIKit.UIScrollView.UIScrollViewAppearance"> | |
+ <summary>Appearance class for objects of type <see cref="T:UIKit.UIScrollView" />.</summary> | |
+ <remarks> | |
+ <para>This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class <see cref="T:UIKit.UIScrollView" />.</para> | |
+ <para>You can obtain an instance to this class by either accessing the static <see cref="P:UIKit.UIScrollView.Appearance" /> property or by calling <see cref="M:UIKit.UIScrollView.AppearanceWhenContainedIn(System.Type[])" /> to get a UIAppearance that is context sensitive.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="P:UIKit.UIScrollView.Appearance"> | |
+ <summary>Strongly-typed property that returns the UIAppearance class for this class.</summary> | |
+ <remarks> | |
+ <para>Setting any appearance properties on this instance will affect the appearance of all instances of <see cref="T:UIKit.UIScrollView" />.</para> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIScrollView" />, they should use the <see cref="M:UIKit.UIScrollView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIScrollView.GetAppearance``1"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIScrollView.UIScrollViewAppearance" /> for the subclass of <see cref="T:UIKit.UIScrollView" />.</summary> | |
+ <typeparam name="T">The type for which the <see cref="T:UIKit.UIAppearance" /> proxy must be returned. This is a subclass of <see cref="T:UIKit.UIScrollView" />.</typeparam> | |
+ <returns> | |
+ <para>An 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.UIScrollView.Appearance" /> property, or the <see cref="M:UIKit.UIScrollView.AppearanceWhenContainedIn(System.Type[])" /> method which only work on instances of this particular class, the proxies returned by this method can be used to change the style of subclasses.</para> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTheme = UIScrollView.GetAppearance<MyUIScrollViewSubclass> (); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>For more information, see the documentation for the <see cref="T:UIKit.UIAppearance" /> class.</para> | |
+ </remarks> | |
+ </member> | |
+ <member name="M:UIKit.UIScrollView.AppearanceWhenContainedIn(System.Type[])"> | |
+ <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 <see cref="T:UIKit.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 <see cref="T:UIKit.UIAppearance" /> proxy where developers can set appearance properties for instances of <see cref="T:UIKit.UIScrollView" /> 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 <see cref="T:UIKit.UIScrollView" />, they should use the <see cref="M:UIKit.UIScrollView.GetAppearance``1(UIKit.UITraitCollection,System.Type[])" /> method.</para> | |
+ <para>The following example shows how this 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> | |
+ </member> | |
+ <member name="M:UIKit.UIScrollView.GetAppearance(UIKit.UITraitCollection)"> | |
+ <summary>Obtains the appearance proxy <see cref="T:UIKit.UIScrollView.UIScrollViewAppearance" /> for <see cref="T:UIKit.UIScrollView" />.</summary> | |
+ <param name="traits">Trait collection to match.</param> | |
+ <returns> | |
+ <para>An appearance proxy object for the specified type.</para> | |
+ </returns> | |
+ <remarks> | |
+ <para>The following example shows how this method works:</para> | |
+ <example> | |
+ <code lang="csharp lang-csharp"><![CDATA[ | |
+ var myTraits = new UITraitCollection (); | |
+ var myTheme = UIScrollView.GetAppearance (myTraits); | |
+ myTheme.TintColor = UIColor.Red; | |
+ ]]></code> | |
+ </example> | |
+ <para>If developers want to control the appearance of subclasses of <see cref="T:UIKit.UIScrollView" />, they should use the <see cref="M:UIKit.UIScrollView.GetAppearance``1(UIKit.UITraitCollection)" /> method.</para> | |
+ <para>For more information, see the documentation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment