The following constants specify the visual style used to display the segmented control. They are used by setSegmentStyle:.
Available in Mac OS X v10.5 and later.
C# | Visual Basic | Visual C++ |
public enum NSSegmentStyle
Public Enumeration NSSegmentStyle
public enum class NSSegmentStyle
Member | Description |
---|---|
NSSegmentStyleAutomatic | The appearance of the segmented control is automatically determined based on the type of window in which the control is displayed and the position within the window. Available in Mac OS X v10.5 and later. |
NSSegmentStyleRounded | The control is displayed using the rounded style. See Figure 1 for examples. Available in Mac OS X v10.5 and later. |
NSSegmentStyleTexturedRounded | The control is displayed using the textured rounded style. See Figure 1 for examples. Available in Mac OS X v10.5 and later. |
NSSegmentStyleRoundRect | The control is displayed using the round rect style. See Figure 1 for examples. Available in Mac OS X v10.5 and later. |
NSSegmentStyleTexturedSquare | The control is displayed using the textured square style. See Figure 1 for examples. Available in Mac OS X v10.5 and later. |
NSSegmentStyleCapsule | The control is displayed using the capsule style. See Figure 1 for examples. Available in Mac OS X v10.5 and later. |
NSSegmentStyleSmallSquare | The control is displayed using the small square style. See Figure 1 for examples. Available in Mac OS X v10.5 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)