Modifica

Condividi tramite


UISegmentedControl.SegmentWidth(nint) Method

Definition

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.

Applies to