net9.0-macos
namespace AppKit
{
[Protocol(Name = "NSAppearanceCustomization", WrapperType = typeof(NSAppearanceCustomizationWrapper))]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.Retain, GetterSelector = "effectiveAppearance", IsProperty = true, IsRequired = true, IsStatic = false, Name = "EffectiveAppearance", PropertyType = typeof(NSAppearance), Selector = "effectiveAppearance")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.Retain, GetterSelector = "appearance", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Appearance", PropertyType = typeof(NSAppearance), Selector = "appearance", SetterSelector = "setAppearance:")]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("maccatalyst")]
public interface INSAppearanceCustomization : INativeObject, IDisposable
{
[Preserve(Conditional = true)]
NSAppearance? Appearance
{
[Export("appearance", ArgumentSemantic.Retain)]
get;
[Export("setAppearance:", ArgumentSemantic.Retain)]
set;
}
}
}
Assembly | Microsoft.macOS , Version=14.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
.NET | 6.0-macos7.0-macos8.0-macos9.0-macos |
OS Platforms | For the selected framework the property getter is only supported on the following OS platforms:
For the selected framework the property setter is only supported on the following OS platforms:
|