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
clsClassClass of instance.
handlenintHandle of instance.
ownsInstanceboolTrue to owns the instance.
NSControl(IntPtr, NSRect)
Initialize new NSControl instance.
protected NSControl(IntPtr handle, NSRect frame)
Parameters
NSControl(IntPtr, bool, bool)
Initialize new NSControl instance.
protected NSControl(IntPtr handle, bool verifyClass, bool ownsInstance)
Parameters
handlenintHandle of instance.
verifyClassboolTrue to verify whether instance is NSControl or not.
ownsInstanceboolTrue to owns the instance.
Properties
IsEnabled
Get or set whether control is enabled or not.
public bool IsEnabled { get; set; }