The NSAlert class defines the alert styles used by setAlertStyle: and alertStyle.
Available in Mac OS X v10.3 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public enum NSAlertStyle
Public Enumeration NSAlertStyle
public enum class NSAlertStyle
Members
Member | Description |
---|---|
NSWarningAlertStyle | An alert used to warn the user about a current or impending event. The purpose is more than informational but not critical. This is the default alert style. Available in Mac OS X v10.3 and later. |
NSInformationalAlertStyle | An alert used to inform the user about a current or impending event. Available in Mac OS X v10.3 and later. |
NSCriticalAlertStyle | Reserved this style for critical alerts, such as when there might be severe consequences as a result of a certain user response (for example, a “clean install” will erase all data on a volume). This style causes the icon to be badged with a caution icon. 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)