Share via


INSUserInterfaceCompression Interface

Definition

This interface represents the Objective-C protocol NSUserInterfaceCompression.

[Foundation.Protocol(Name="NSUserInterfaceCompression", WrapperType=typeof(AppKit.NSUserInterfaceCompressionWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Compress", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSUserInterfaceCompressionOptions[]) }, Selector="compressWithPrioritizedCompressionOptions:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetMinimumSize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSUserInterfaceCompressionOptions[]) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="minimumSizeWithPrioritizedCompressionOptions:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="activeCompressionOptions", IsProperty=true, IsRequired=true, IsStatic=false, Name="ActiveCompressionOptions", PropertyType=typeof(AppKit.NSUserInterfaceCompressionOptions), Selector="activeCompressionOptions")]
public interface INSUserInterfaceCompression : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NSUserInterfaceCompression", WrapperType=typeof(AppKit.NSUserInterfaceCompressionWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="Compress", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSUserInterfaceCompressionOptions[]) }, Selector="compressWithPrioritizedCompressionOptions:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetMinimumSize", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(AppKit.NSUserInterfaceCompressionOptions[]) }, ReturnType=typeof(CoreGraphics.CGSize), Selector="minimumSizeWithPrioritizedCompressionOptions:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="activeCompressionOptions", IsProperty=true, IsRequired=true, IsStatic=false, Name="ActiveCompressionOptions", PropertyType=typeof(AppKit.NSUserInterfaceCompressionOptions), Selector="activeCompressionOptions")>]
type INSUserInterfaceCompression = 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
ActiveCompressionOptions
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
Compress(NSUserInterfaceCompressionOptions[])
GetMinimumSize(NSUserInterfaceCompressionOptions[])

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to