MonobjcMonobjc Documented Class Library
NSStateMask Enumeration
NamespacesMonobjc.AppKitNSStateMask

These constants specify what happens when a button is pressed or is displaying its alternate state. These contents are used by the highlightsBy and showsStateBy methods of NSButtonCell.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[FlagsAttribute]
public enum NSStateMask
<FlagsAttribute> _
Public Enumeration NSStateMask
[FlagsAttribute]
public enum class NSStateMask
Members
MemberDescription
NSNoCellMask

The button cell doesn’t change.

Available in Mac OS X v10.0 and later.


NSContentsCellMask

The button cell displays its alternate icon and/or title.

Available in Mac OS X v10.0 and later.


NSPushInCellMask

The button cell “pushes in” if it has a border.

Available in Mac OS X v10.0 and later.


NSChangeGrayCellMask

The button cell swaps the “control color” (the controlColor method of NSColor) and white pixels on its background and icon.

Available in Mac OS X v10.0 and later.


NSChangeBackgroundCellMask

Same as NSChangeGrayCellMask, but only background pixels are changed.

Available in Mac OS X v10.0 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)