Table of Contents

Class NSControl

Namespace
CarinaStudio.MacOS.AppKit
Assembly
CarinaStudio.AppBase.MacOS.dll

NSControl.

public class NSControl : NSView, IDisposable, IEquatable<NSObject>
Inheritance
NSControl
Implements
Derived
Inherited Members
Extension Methods

Constructors

NSControl(Class, IntPtr, bool)

Initialize new NSControl instance.

protected NSControl(Class cls, IntPtr handle, bool ownsInstance)

Parameters

cls Class

Class of instance.

handle nint

Handle of instance.

ownsInstance bool

True to owns the instance.

NSControl(IntPtr, NSRect)

Initialize new NSControl instance.

protected NSControl(IntPtr handle, NSRect frame)

Parameters

handle nint

Handle of allocated instance.

frame NSRect

Frame.

NSControl(IntPtr, bool, bool)

Initialize new NSControl instance.

protected NSControl(IntPtr handle, bool verifyClass, bool ownsInstance)

Parameters

handle nint

Handle of instance.

verifyClass bool

True to verify whether instance is NSControl or not.

ownsInstance bool

True to owns the instance.

Properties

IsEnabled

Get or set whether control is enabled or not.

public bool IsEnabled { get; set; }

Property Value

bool