NSSegmentDistribution Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how a segmented control sizes and distributes its segments across its width.
[ObjCRuntime.Native]
public enum NSSegmentDistribution
[<ObjCRuntime.Native>]
type NSSegmentDistribution =
- Inheritance
-
NSSegmentDistribution
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| Fit | 0 | Sizes each segment to fit its content, without necessarily filling the control's width. |
| Fill | 1 | Resizes segments to fill the control's width, distributing extra space equally among dynamically sized segments. This is the default distribution. |
| FillEqually | 2 | Resizes all segments equally to fill the control's width. |
| FillProportionally | 3 | Resizes segments proportionally, based on their initial sizes, to fill the control's width. |