MonobjcMonobjc Documented Class Library
SetButtonType Method (aType)

Sets how the receiver button highlights while pressed and how it shows its state.

Original signature is '- (void)setButtonType:(NSButtonType)aType'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetButtonType(
	NSButtonType aType
Public Overridable Sub SetButtonType ( _
	aType As NSButtonType _
virtual void SetButtonType(
	NSButtonType aType
aType (NSButtonType)
A constant specifying the type of the button—one of the constants described in the Constants section of NSButtonCell.
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)