IUIMutableTraits Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This interface represents the Objective-C protocol UIMutableTraits.
[Foundation.Protocol(Name="UIMutableTraits", WrapperType=typeof(UIKit.UIMutableTraitsWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetValue", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.Runtime.InteropServices.NFloat), typeof(UIKit.IUICGFloatTraitDefinition) }, Selector="setCGFloatValue:forTrait:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetValue", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUICGFloatTraitDefinition) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="valueForCGFloatTrait:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetValue", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.IntPtr), typeof(UIKit.IUINSIntegerTraitDefinition) }, Selector="setNSIntegerValue:forTrait:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetValue", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUINSIntegerTraitDefinition) }, ReturnType=typeof(System.IntPtr), Selector="valueForNSIntegerTrait:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSObject), typeof(UIKit.IUIObjectTraitDefinition) }, Selector="setObject:forTrait:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetObject", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUIObjectTraitDefinition) }, ReturnType=typeof(Foundation.NSObject), Selector="objectForTrait:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="userInterfaceIdiom", IsProperty=true, IsRequired=true, IsStatic=false, Name="UserInterfaceIdiom", PropertyType=typeof(UIKit.UIUserInterfaceIdiom), Selector="userInterfaceIdiom", SetterSelector="setUserInterfaceIdiom:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="userInterfaceStyle", IsProperty=true, IsRequired=true, IsStatic=false, Name="UserInterfaceStyle", PropertyType=typeof(UIKit.UIUserInterfaceStyle), Selector="userInterfaceStyle", SetterSelector="setUserInterfaceStyle:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="layoutDirection", IsProperty=true, IsRequired=true, IsStatic=false, Name="LayoutDirection", PropertyType=typeof(UIKit.UITraitEnvironmentLayoutDirection), Selector="layoutDirection", SetterSelector="setLayoutDirection:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="displayScale", IsProperty=true, IsRequired=true, IsStatic=false, Name="DisplayScale", PropertyType=typeof(System.Runtime.InteropServices.NFloat), Selector="displayScale", SetterSelector="setDisplayScale:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="horizontalSizeClass", IsProperty=true, IsRequired=true, IsStatic=false, Name="HorizontalSizeClass", PropertyType=typeof(UIKit.UIUserInterfaceSizeClass), Selector="horizontalSizeClass", SetterSelector="setHorizontalSizeClass:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="verticalSizeClass", IsProperty=true, IsRequired=true, IsStatic=false, Name="VerticalSizeClass", PropertyType=typeof(UIKit.UIUserInterfaceSizeClass), Selector="verticalSizeClass", SetterSelector="setVerticalSizeClass:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="forceTouchCapability", IsProperty=true, IsRequired=true, IsStatic=false, Name="ForceTouchCapability", PropertyType=typeof(UIKit.UIForceTouchCapability), Selector="forceTouchCapability", SetterSelector="setForceTouchCapability:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="preferredContentSizeCategory", IsProperty=true, IsRequired=true, IsStatic=false, Name="PreferredContentSizeCategory", PropertyType=typeof(System.String), Selector="preferredContentSizeCategory", SetterSelector="setPreferredContentSizeCategory:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="displayGamut", IsProperty=true, IsRequired=true, IsStatic=false, Name="DisplayGamut", PropertyType=typeof(UIKit.UIDisplayGamut), Selector="displayGamut", SetterSelector="setDisplayGamut:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="accessibilityContrast", IsProperty=true, IsRequired=true, IsStatic=false, Name="AccessibilityContrast", PropertyType=typeof(UIKit.UIAccessibilityContrast), Selector="accessibilityContrast", SetterSelector="setAccessibilityContrast:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="userInterfaceLevel", IsProperty=true, IsRequired=true, IsStatic=false, Name="UserInterfaceLevel", PropertyType=typeof(UIKit.UIUserInterfaceLevel), Selector="userInterfaceLevel", SetterSelector="setUserInterfaceLevel:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="legibilityWeight", IsProperty=true, IsRequired=true, IsStatic=false, Name="LegibilityWeight", PropertyType=typeof(UIKit.UILegibilityWeight), Selector="legibilityWeight", SetterSelector="setLegibilityWeight:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="activeAppearance", IsProperty=true, IsRequired=true, IsStatic=false, Name="ActiveAppearance", PropertyType=typeof(UIKit.UIUserInterfaceActiveAppearance), Selector="activeAppearance", SetterSelector="setActiveAppearance:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="toolbarItemPresentationSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="ToolbarItemPresentationSize", PropertyType=typeof(UIKit.UINSToolbarItemPresentationSize), Selector="toolbarItemPresentationSize", SetterSelector="setToolbarItemPresentationSize:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="imageDynamicRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="ImageDynamicRange", PropertyType=typeof(UIKit.UIImageDynamicRange), Selector="imageDynamicRange", SetterSelector="setImageDynamicRange:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="sceneCaptureState", IsProperty=true, IsRequired=true, IsStatic=false, Name="SceneCaptureState", PropertyType=typeof(UIKit.UISceneCaptureState), Selector="sceneCaptureState", SetterSelector="setSceneCaptureState:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="typesettingLanguage", IsProperty=true, IsRequired=true, IsStatic=false, Name="TypesettingLanguage", PropertyType=typeof(System.String), Selector="typesettingLanguage", SetterSelector="setTypesettingLanguage:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="listEnvironment", IsProperty=true, IsRequired=true, IsStatic=false, Name="ListEnvironment", PropertyType=typeof(UIKit.UIListEnvironment), Selector="listEnvironment", SetterSelector="setListEnvironment:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="tabAccessoryEnvironment", IsProperty=true, IsRequired=true, IsStatic=false, Name="TabAccessoryEnvironment", PropertyType=typeof(UIKit.UITabAccessoryEnvironment), Selector="tabAccessoryEnvironment", SetterSelector="setTabAccessoryEnvironment:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="splitViewControllerLayoutEnvironment", IsProperty=true, IsRequired=true, IsStatic=false, Name="SplitViewControllerLayoutEnvironment", PropertyType=typeof(UIKit.UISplitViewControllerLayoutEnvironment), Selector="splitViewControllerLayoutEnvironment", SetterSelector="setSplitViewControllerLayoutEnvironment:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="resolvesNaturalAlignmentWithBaseWritingDirection", IsProperty=true, IsRequired=true, IsStatic=false, Name="ResolvesNaturalAlignmentWithBaseWritingDirection", PropertyType=typeof(System.Boolean), Selector="resolvesNaturalAlignmentWithBaseWritingDirection", SetterSelector="setResolvesNaturalAlignmentWithBaseWritingDirection:")]
public interface IUIMutableTraits : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="UIMutableTraits", WrapperType=typeof(UIKit.UIMutableTraitsWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetValue", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.Runtime.InteropServices.NFloat), typeof(UIKit.IUICGFloatTraitDefinition) }, Selector="setCGFloatValue:forTrait:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetValue", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUICGFloatTraitDefinition) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="valueForCGFloatTrait:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetValue", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.IntPtr), typeof(UIKit.IUINSIntegerTraitDefinition) }, Selector="setNSIntegerValue:forTrait:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetValue", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUINSIntegerTraitDefinition) }, ReturnType=typeof(System.IntPtr), Selector="valueForNSIntegerTrait:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSObject), typeof(UIKit.IUIObjectTraitDefinition) }, Selector="setObject:forTrait:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetObject", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUIObjectTraitDefinition) }, ReturnType=typeof(Foundation.NSObject), Selector="objectForTrait:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="userInterfaceIdiom", IsProperty=true, IsRequired=true, IsStatic=false, Name="UserInterfaceIdiom", PropertyType=typeof(UIKit.UIUserInterfaceIdiom), Selector="userInterfaceIdiom", SetterSelector="setUserInterfaceIdiom:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="userInterfaceStyle", IsProperty=true, IsRequired=true, IsStatic=false, Name="UserInterfaceStyle", PropertyType=typeof(UIKit.UIUserInterfaceStyle), Selector="userInterfaceStyle", SetterSelector="setUserInterfaceStyle:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="layoutDirection", IsProperty=true, IsRequired=true, IsStatic=false, Name="LayoutDirection", PropertyType=typeof(UIKit.UITraitEnvironmentLayoutDirection), Selector="layoutDirection", SetterSelector="setLayoutDirection:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="displayScale", IsProperty=true, IsRequired=true, IsStatic=false, Name="DisplayScale", PropertyType=typeof(System.Runtime.InteropServices.NFloat), Selector="displayScale", SetterSelector="setDisplayScale:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="horizontalSizeClass", IsProperty=true, IsRequired=true, IsStatic=false, Name="HorizontalSizeClass", PropertyType=typeof(UIKit.UIUserInterfaceSizeClass), Selector="horizontalSizeClass", SetterSelector="setHorizontalSizeClass:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="verticalSizeClass", IsProperty=true, IsRequired=true, IsStatic=false, Name="VerticalSizeClass", PropertyType=typeof(UIKit.UIUserInterfaceSizeClass), Selector="verticalSizeClass", SetterSelector="setVerticalSizeClass:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="forceTouchCapability", IsProperty=true, IsRequired=true, IsStatic=false, Name="ForceTouchCapability", PropertyType=typeof(UIKit.UIForceTouchCapability), Selector="forceTouchCapability", SetterSelector="setForceTouchCapability:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="preferredContentSizeCategory", IsProperty=true, IsRequired=true, IsStatic=false, Name="PreferredContentSizeCategory", PropertyType=typeof(System.String), Selector="preferredContentSizeCategory", SetterSelector="setPreferredContentSizeCategory:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="displayGamut", IsProperty=true, IsRequired=true, IsStatic=false, Name="DisplayGamut", PropertyType=typeof(UIKit.UIDisplayGamut), Selector="displayGamut", SetterSelector="setDisplayGamut:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="accessibilityContrast", IsProperty=true, IsRequired=true, IsStatic=false, Name="AccessibilityContrast", PropertyType=typeof(UIKit.UIAccessibilityContrast), Selector="accessibilityContrast", SetterSelector="setAccessibilityContrast:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="legibilityWeight", IsProperty=true, IsRequired=true, IsStatic=false, Name="LegibilityWeight", PropertyType=typeof(UIKit.UILegibilityWeight), Selector="legibilityWeight", SetterSelector="setLegibilityWeight:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="activeAppearance", IsProperty=true, IsRequired=true, IsStatic=false, Name="ActiveAppearance", PropertyType=typeof(UIKit.UIUserInterfaceActiveAppearance), Selector="activeAppearance", SetterSelector="setActiveAppearance:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="toolbarItemPresentationSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="ToolbarItemPresentationSize", PropertyType=typeof(UIKit.UINSToolbarItemPresentationSize), Selector="toolbarItemPresentationSize", SetterSelector="setToolbarItemPresentationSize:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="imageDynamicRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="ImageDynamicRange", PropertyType=typeof(UIKit.UIImageDynamicRange), Selector="imageDynamicRange", SetterSelector="setImageDynamicRange:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="sceneCaptureState", IsProperty=true, IsRequired=true, IsStatic=false, Name="SceneCaptureState", PropertyType=typeof(UIKit.UISceneCaptureState), Selector="sceneCaptureState", SetterSelector="setSceneCaptureState:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="typesettingLanguage", IsProperty=true, IsRequired=true, IsStatic=false, Name="TypesettingLanguage", PropertyType=typeof(System.String), Selector="typesettingLanguage", SetterSelector="setTypesettingLanguage:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="listEnvironment", IsProperty=true, IsRequired=true, IsStatic=false, Name="ListEnvironment", PropertyType=typeof(UIKit.UIListEnvironment), Selector="listEnvironment", SetterSelector="setListEnvironment:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="splitViewControllerLayoutEnvironment", IsProperty=true, IsRequired=true, IsStatic=false, Name="SplitViewControllerLayoutEnvironment", PropertyType=typeof(UIKit.UISplitViewControllerLayoutEnvironment), Selector="splitViewControllerLayoutEnvironment", SetterSelector="setSplitViewControllerLayoutEnvironment:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="resolvesNaturalAlignmentWithBaseWritingDirection", IsProperty=true, IsRequired=true, IsStatic=false, Name="ResolvesNaturalAlignmentWithBaseWritingDirection", PropertyType=typeof(System.Boolean), Selector="resolvesNaturalAlignmentWithBaseWritingDirection", SetterSelector="setResolvesNaturalAlignmentWithBaseWritingDirection:")]
public interface IUIMutableTraits : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIMutableTraits", WrapperType=typeof(UIKit.UIMutableTraitsWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetValue", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.Runtime.InteropServices.NFloat), typeof(UIKit.IUICGFloatTraitDefinition) }, Selector="setCGFloatValue:forTrait:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetValue", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUICGFloatTraitDefinition) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="valueForCGFloatTrait:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetValue", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.IntPtr), typeof(UIKit.IUINSIntegerTraitDefinition) }, Selector="setNSIntegerValue:forTrait:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetValue", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUINSIntegerTraitDefinition) }, ReturnType=typeof(System.IntPtr), Selector="valueForNSIntegerTrait:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSObject), typeof(UIKit.IUIObjectTraitDefinition) }, Selector="setObject:forTrait:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetObject", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUIObjectTraitDefinition) }, ReturnType=typeof(Foundation.NSObject), Selector="objectForTrait:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="userInterfaceIdiom", IsProperty=true, IsRequired=true, IsStatic=false, Name="UserInterfaceIdiom", PropertyType=typeof(UIKit.UIUserInterfaceIdiom), Selector="userInterfaceIdiom", SetterSelector="setUserInterfaceIdiom:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="userInterfaceStyle", IsProperty=true, IsRequired=true, IsStatic=false, Name="UserInterfaceStyle", PropertyType=typeof(UIKit.UIUserInterfaceStyle), Selector="userInterfaceStyle", SetterSelector="setUserInterfaceStyle:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="layoutDirection", IsProperty=true, IsRequired=true, IsStatic=false, Name="LayoutDirection", PropertyType=typeof(UIKit.UITraitEnvironmentLayoutDirection), Selector="layoutDirection", SetterSelector="setLayoutDirection:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="displayScale", IsProperty=true, IsRequired=true, IsStatic=false, Name="DisplayScale", PropertyType=typeof(System.Runtime.InteropServices.NFloat), Selector="displayScale", SetterSelector="setDisplayScale:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="horizontalSizeClass", IsProperty=true, IsRequired=true, IsStatic=false, Name="HorizontalSizeClass", PropertyType=typeof(UIKit.UIUserInterfaceSizeClass), Selector="horizontalSizeClass", SetterSelector="setHorizontalSizeClass:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="verticalSizeClass", IsProperty=true, IsRequired=true, IsStatic=false, Name="VerticalSizeClass", PropertyType=typeof(UIKit.UIUserInterfaceSizeClass), Selector="verticalSizeClass", SetterSelector="setVerticalSizeClass:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="forceTouchCapability", IsProperty=true, IsRequired=true, IsStatic=false, Name="ForceTouchCapability", PropertyType=typeof(UIKit.UIForceTouchCapability), Selector="forceTouchCapability", SetterSelector="setForceTouchCapability:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="preferredContentSizeCategory", IsProperty=true, IsRequired=true, IsStatic=false, Name="PreferredContentSizeCategory", PropertyType=typeof(System.String), Selector="preferredContentSizeCategory", SetterSelector="setPreferredContentSizeCategory:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="displayGamut", IsProperty=true, IsRequired=true, IsStatic=false, Name="DisplayGamut", PropertyType=typeof(UIKit.UIDisplayGamut), Selector="displayGamut", SetterSelector="setDisplayGamut:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="accessibilityContrast", IsProperty=true, IsRequired=true, IsStatic=false, Name="AccessibilityContrast", PropertyType=typeof(UIKit.UIAccessibilityContrast), Selector="accessibilityContrast", SetterSelector="setAccessibilityContrast:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="userInterfaceLevel", IsProperty=true, IsRequired=true, IsStatic=false, Name="UserInterfaceLevel", PropertyType=typeof(UIKit.UIUserInterfaceLevel), Selector="userInterfaceLevel", SetterSelector="setUserInterfaceLevel:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="legibilityWeight", IsProperty=true, IsRequired=true, IsStatic=false, Name="LegibilityWeight", PropertyType=typeof(UIKit.UILegibilityWeight), Selector="legibilityWeight", SetterSelector="setLegibilityWeight:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="activeAppearance", IsProperty=true, IsRequired=true, IsStatic=false, Name="ActiveAppearance", PropertyType=typeof(UIKit.UIUserInterfaceActiveAppearance), Selector="activeAppearance", SetterSelector="setActiveAppearance:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="toolbarItemPresentationSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="ToolbarItemPresentationSize", PropertyType=typeof(UIKit.UINSToolbarItemPresentationSize), Selector="toolbarItemPresentationSize", SetterSelector="setToolbarItemPresentationSize:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="imageDynamicRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="ImageDynamicRange", PropertyType=typeof(UIKit.UIImageDynamicRange), Selector="imageDynamicRange", SetterSelector="setImageDynamicRange:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="sceneCaptureState", IsProperty=true, IsRequired=true, IsStatic=false, Name="SceneCaptureState", PropertyType=typeof(UIKit.UISceneCaptureState), Selector="sceneCaptureState", SetterSelector="setSceneCaptureState:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="typesettingLanguage", IsProperty=true, IsRequired=true, IsStatic=false, Name="TypesettingLanguage", PropertyType=typeof(System.String), Selector="typesettingLanguage", SetterSelector="setTypesettingLanguage:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="listEnvironment", IsProperty=true, IsRequired=true, IsStatic=false, Name="ListEnvironment", PropertyType=typeof(UIKit.UIListEnvironment), Selector="listEnvironment", SetterSelector="setListEnvironment:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="tabAccessoryEnvironment", IsProperty=true, IsRequired=true, IsStatic=false, Name="TabAccessoryEnvironment", PropertyType=typeof(UIKit.UITabAccessoryEnvironment), Selector="tabAccessoryEnvironment", SetterSelector="setTabAccessoryEnvironment:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="splitViewControllerLayoutEnvironment", IsProperty=true, IsRequired=true, IsStatic=false, Name="SplitViewControllerLayoutEnvironment", PropertyType=typeof(UIKit.UISplitViewControllerLayoutEnvironment), Selector="splitViewControllerLayoutEnvironment", SetterSelector="setSplitViewControllerLayoutEnvironment:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="resolvesNaturalAlignmentWithBaseWritingDirection", IsProperty=true, IsRequired=true, IsStatic=false, Name="ResolvesNaturalAlignmentWithBaseWritingDirection", PropertyType=typeof(System.Boolean), Selector="resolvesNaturalAlignmentWithBaseWritingDirection", SetterSelector="setResolvesNaturalAlignmentWithBaseWritingDirection:")>]
type IUIMutableTraits = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(Name="UIMutableTraits", WrapperType=typeof(UIKit.UIMutableTraitsWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetValue", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.Runtime.InteropServices.NFloat), typeof(UIKit.IUICGFloatTraitDefinition) }, Selector="setCGFloatValue:forTrait:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetValue", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUICGFloatTraitDefinition) }, ReturnType=typeof(System.Runtime.InteropServices.NFloat), Selector="valueForCGFloatTrait:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetValue", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(System.IntPtr), typeof(UIKit.IUINSIntegerTraitDefinition) }, Selector="setNSIntegerValue:forTrait:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetValue", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUINSIntegerTraitDefinition) }, ReturnType=typeof(System.IntPtr), Selector="valueForNSIntegerTrait:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetObject", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(Foundation.NSObject), typeof(UIKit.IUIObjectTraitDefinition) }, Selector="setObject:forTrait:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetObject", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.IUIObjectTraitDefinition) }, ReturnType=typeof(Foundation.NSObject), Selector="objectForTrait:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="userInterfaceIdiom", IsProperty=true, IsRequired=true, IsStatic=false, Name="UserInterfaceIdiom", PropertyType=typeof(UIKit.UIUserInterfaceIdiom), Selector="userInterfaceIdiom", SetterSelector="setUserInterfaceIdiom:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="userInterfaceStyle", IsProperty=true, IsRequired=true, IsStatic=false, Name="UserInterfaceStyle", PropertyType=typeof(UIKit.UIUserInterfaceStyle), Selector="userInterfaceStyle", SetterSelector="setUserInterfaceStyle:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="layoutDirection", IsProperty=true, IsRequired=true, IsStatic=false, Name="LayoutDirection", PropertyType=typeof(UIKit.UITraitEnvironmentLayoutDirection), Selector="layoutDirection", SetterSelector="setLayoutDirection:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="displayScale", IsProperty=true, IsRequired=true, IsStatic=false, Name="DisplayScale", PropertyType=typeof(System.Runtime.InteropServices.NFloat), Selector="displayScale", SetterSelector="setDisplayScale:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="horizontalSizeClass", IsProperty=true, IsRequired=true, IsStatic=false, Name="HorizontalSizeClass", PropertyType=typeof(UIKit.UIUserInterfaceSizeClass), Selector="horizontalSizeClass", SetterSelector="setHorizontalSizeClass:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="verticalSizeClass", IsProperty=true, IsRequired=true, IsStatic=false, Name="VerticalSizeClass", PropertyType=typeof(UIKit.UIUserInterfaceSizeClass), Selector="verticalSizeClass", SetterSelector="setVerticalSizeClass:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="forceTouchCapability", IsProperty=true, IsRequired=true, IsStatic=false, Name="ForceTouchCapability", PropertyType=typeof(UIKit.UIForceTouchCapability), Selector="forceTouchCapability", SetterSelector="setForceTouchCapability:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="preferredContentSizeCategory", IsProperty=true, IsRequired=true, IsStatic=false, Name="PreferredContentSizeCategory", PropertyType=typeof(System.String), Selector="preferredContentSizeCategory", SetterSelector="setPreferredContentSizeCategory:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="displayGamut", IsProperty=true, IsRequired=true, IsStatic=false, Name="DisplayGamut", PropertyType=typeof(UIKit.UIDisplayGamut), Selector="displayGamut", SetterSelector="setDisplayGamut:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="accessibilityContrast", IsProperty=true, IsRequired=true, IsStatic=false, Name="AccessibilityContrast", PropertyType=typeof(UIKit.UIAccessibilityContrast), Selector="accessibilityContrast", SetterSelector="setAccessibilityContrast:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="legibilityWeight", IsProperty=true, IsRequired=true, IsStatic=false, Name="LegibilityWeight", PropertyType=typeof(UIKit.UILegibilityWeight), Selector="legibilityWeight", SetterSelector="setLegibilityWeight:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="activeAppearance", IsProperty=true, IsRequired=true, IsStatic=false, Name="ActiveAppearance", PropertyType=typeof(UIKit.UIUserInterfaceActiveAppearance), Selector="activeAppearance", SetterSelector="setActiveAppearance:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="toolbarItemPresentationSize", IsProperty=true, IsRequired=true, IsStatic=false, Name="ToolbarItemPresentationSize", PropertyType=typeof(UIKit.UINSToolbarItemPresentationSize), Selector="toolbarItemPresentationSize", SetterSelector="setToolbarItemPresentationSize:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="imageDynamicRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="ImageDynamicRange", PropertyType=typeof(UIKit.UIImageDynamicRange), Selector="imageDynamicRange", SetterSelector="setImageDynamicRange:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="sceneCaptureState", IsProperty=true, IsRequired=true, IsStatic=false, Name="SceneCaptureState", PropertyType=typeof(UIKit.UISceneCaptureState), Selector="sceneCaptureState", SetterSelector="setSceneCaptureState:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="typesettingLanguage", IsProperty=true, IsRequired=true, IsStatic=false, Name="TypesettingLanguage", PropertyType=typeof(System.String), Selector="typesettingLanguage", SetterSelector="setTypesettingLanguage:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="listEnvironment", IsProperty=true, IsRequired=true, IsStatic=false, Name="ListEnvironment", PropertyType=typeof(UIKit.UIListEnvironment), Selector="listEnvironment", SetterSelector="setListEnvironment:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="splitViewControllerLayoutEnvironment", IsProperty=true, IsRequired=true, IsStatic=false, Name="SplitViewControllerLayoutEnvironment", PropertyType=typeof(UIKit.UISplitViewControllerLayoutEnvironment), Selector="splitViewControllerLayoutEnvironment", SetterSelector="setSplitViewControllerLayoutEnvironment:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="resolvesNaturalAlignmentWithBaseWritingDirection", IsProperty=true, IsRequired=true, IsStatic=false, Name="ResolvesNaturalAlignmentWithBaseWritingDirection", PropertyType=typeof(System.Boolean), Selector="resolvesNaturalAlignmentWithBaseWritingDirection", SetterSelector="setResolvesNaturalAlignmentWithBaseWritingDirection:")>]
type IUIMutableTraits = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Remarks
A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.
A class may also implement members from this interface to implement members from the protocol.
Properties
| Name | Description |
|---|---|
| AccessibilityContrast | |
| ActiveAppearance | |
| DisplayGamut | |
| DisplayScale | |
| ForceTouchCapability | |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| HorizontalSizeClass | |
| ImageDynamicRange | |
| LayoutDirection | |
| LegibilityWeight | |
| ListEnvironment | |
| PreferredContentSizeCategory | |
| ResolvesNaturalAlignmentWithBaseWritingDirection | |
| SceneCaptureState | |
| SplitViewControllerLayoutEnvironment | |
| TabAccessoryEnvironment | |
| ToolbarItemPresentationSize | |
| TypesettingLanguage | |
| UserInterfaceIdiom | |
| UserInterfaceLevel | |
| UserInterfaceStyle | |
| VerticalSizeClass | |
Methods
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |