UISegmentedControl.SegmentWidth(nint) Method
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.
Returns the with of a particular segment.
[Foundation.Export("widthForSegmentAtIndex:")]
public virtual nfloat SegmentWidth (nint segment);
abstract member SegmentWidth : nint -> nfloat
override this.SegmentWidth : nint -> nfloat
Parameters
- segment
- System.System.IntPtr System.nativeint
The index of the segment.
Returns
The segment width.
- Attributes
Remarks
If the value is 0.0, the segmented control will automatically sizes the segment.