net9.0-ios17.2
namespace UIKit
{
    [Protocol(Name = "UIMutableTraits", WrapperType = typeof(UIMutableTraitsWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetValue", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NFloat), typeof(IUICGFloatTraitDefinition) }, Selector = "setCGFloatValue:forTrait:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetValue", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(IntPtr), typeof(IUINSIntegerTraitDefinition) }, Selector = "setNSIntegerValue:forTrait:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "SetObject", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSObject), typeof(IUIObjectTraitDefinition) }, Selector = "setObject:forTrait:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetValue", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IUICGFloatTraitDefinition) }, ReturnType = typeof(NFloat), Selector = "valueForCGFloatTrait:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetValue", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IUINSIntegerTraitDefinition) }, ReturnType = typeof(IntPtr), Selector = "valueForNSIntegerTrait:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetObject", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(IUIObjectTraitDefinition) }, ReturnType = typeof(NSObject), Selector = "objectForTrait:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "userInterfaceIdiom", IsProperty = true, IsRequired = true, IsStatic = false, Name = "UserInterfaceIdiom", PropertyType = typeof(UIUserInterfaceIdiom), Selector = "userInterfaceIdiom", SetterSelector = "setUserInterfaceIdiom:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "userInterfaceStyle", IsProperty = true, IsRequired = true, IsStatic = false, Name = "UserInterfaceStyle", PropertyType = typeof(UIUserInterfaceStyle), Selector = "userInterfaceStyle", SetterSelector = "setUserInterfaceStyle:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "layoutDirection", IsProperty = true, IsRequired = true, IsStatic = false, Name = "LayoutDirection", PropertyType = typeof(UITraitEnvironmentLayoutDirection), Selector = "layoutDirection", SetterSelector = "setLayoutDirection:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "displayScale", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DisplayScale", PropertyType = typeof(NFloat), Selector = "displayScale", SetterSelector = "setDisplayScale:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "horizontalSizeClass", IsProperty = true, IsRequired = true, IsStatic = false, Name = "HorizontalSizeClass", PropertyType = typeof(UIUserInterfaceSizeClass), Selector = "horizontalSizeClass", SetterSelector = "setHorizontalSizeClass:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "verticalSizeClass", IsProperty = true, IsRequired = true, IsStatic = false, Name = "VerticalSizeClass", PropertyType = typeof(UIUserInterfaceSizeClass), Selector = "verticalSizeClass", SetterSelector = "setVerticalSizeClass:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "forceTouchCapability", IsProperty = true, IsRequired = true, IsStatic = false, Name = "ForceTouchCapability", PropertyType = typeof(UIForceTouchCapability), Selector = "forceTouchCapability", SetterSelector = "setForceTouchCapability:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "preferredContentSizeCategory", IsProperty = true, IsRequired = true, IsStatic = false, Name = "PreferredContentSizeCategory", PropertyType = typeof(string), Selector = "preferredContentSizeCategory", SetterSelector = "setPreferredContentSizeCategory:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "displayGamut", IsProperty = true, IsRequired = true, IsStatic = false, Name = "DisplayGamut", PropertyType = typeof(UIDisplayGamut), Selector = "displayGamut", SetterSelector = "setDisplayGamut:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "accessibilityContrast", IsProperty = true, IsRequired = true, IsStatic = false, Name = "AccessibilityContrast", PropertyType = typeof(UIAccessibilityContrast), Selector = "accessibilityContrast", SetterSelector = "setAccessibilityContrast:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "userInterfaceLevel", IsProperty = true, IsRequired = true, IsStatic = false, Name = "UserInterfaceLevel", PropertyType = typeof(UIUserInterfaceLevel), Selector = "userInterfaceLevel", SetterSelector = "setUserInterfaceLevel:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "legibilityWeight", IsProperty = true, IsRequired = true, IsStatic = false, Name = "LegibilityWeight", PropertyType = typeof(UILegibilityWeight), Selector = "legibilityWeight", SetterSelector = "setLegibilityWeight:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "activeAppearance", IsProperty = true, IsRequired = true, IsStatic = false, Name = "ActiveAppearance", PropertyType = typeof(UIUserInterfaceActiveAppearance), Selector = "activeAppearance", SetterSelector = "setActiveAppearance:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "toolbarItemPresentationSize", IsProperty = true, IsRequired = true, IsStatic = false, Name = "ToolbarItemPresentationSize", PropertyType = typeof(UINSToolbarItemPresentationSize), Selector = "toolbarItemPresentationSize", SetterSelector = "setToolbarItemPresentationSize:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "imageDynamicRange", IsProperty = true, IsRequired = true, IsStatic = false, Name = "ImageDynamicRange", PropertyType = typeof(UIImageDynamicRange), Selector = "imageDynamicRange", SetterSelector = "setImageDynamicRange:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "sceneCaptureState", IsProperty = true, IsRequired = true, IsStatic = false, Name = "SceneCaptureState", PropertyType = typeof(UISceneCaptureState), Selector = "sceneCaptureState", SetterSelector = "setSceneCaptureState:")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "typesettingLanguage", IsProperty = true, IsRequired = true, IsStatic = false, Name = "TypesettingLanguage", PropertyType = typeof(string), Selector = "typesettingLanguage", SetterSelector = "setTypesettingLanguage:")]
    [SupportedOSPlatform("tvos17.0")]
    [SupportedOSPlatform("ios17.0")]
    [SupportedOSPlatform("maccatalyst17.0")]
    public interface IUIMutableTraits : INativeObject, IDisposable
}
nuget.org
0.0 %
Reference this API
.NET 8.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
iOS 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2
Mac Catalyst 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2
tvOS 10.010.110.211.011.111.211.311.412.012.112.212.312.413.013.213.313.414.014.214.314.414.515.015.215.416.016.116.417.017.2
Information specific to net9.0-ios17.2
Assembly

Microsoft.iOS , Version=17.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • iOS >= 17
  • Mac Catalyst >= 17
  • tvOS >= 17
  • Built-in API
  • Package-provided API

11/26/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙