MonobjcMonobjc Documented Class Library
NSButtonReturn Enumeration
Namespaces ► Monobjc.AppKit ► NSButtonReturn

An alert’s return values for buttons are position dependent. The following constants describe the return values for the first three buttons on an alert (assuming a language that reads left to right).

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSButtonReturn
Public Enumeration NSButtonReturn
public enum class NSButtonReturn
Members
MemberDescription
NSAlertFirstButtonReturn

The user clicked the first (rightmost) button on the dialog or sheet.

Available in Mac OS X v10.3 and later.


NSAlertSecondButtonReturn

The user clicked the second button from the right edge of the dialog or sheet.

Available in Mac OS X v10.3 and later.


NSAlertThirdButtonReturn

The user clicked the third button from the right edge of the dialog or sheet.

Available in Mac OS X v10.3 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)