The NSTokenStyle constants define how tokens are displayed and editable in the NSTokenFieldCell. These values are used by tokenStyle, setTokenStyle: and the delegate method tokenFieldCell:styleForRepresentedObject:.
Available in Mac OS X v10.4 and later.
| C# | Visual Basic | Visual C++ |
public enum NSTokenStyle
Public Enumeration NSTokenStyle
public enum class NSTokenStyle
| Member | Description |
|---|---|
| NSDefaultTokenStyle | Style best used for keyword type tokens. Available in Mac OS X v10.4 and later. |
| NSPlainTextTokenStyle | Style to use for data you want represented as plain-text and without any token background. Available in Mac OS X v10.4 and later. |
| NSRoundedTokenStyle | Style best used for address type tokens. Available in Mac OS X v10.4 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)