UISegmentedControl.ApportionsSegmentWidthsByContent Property

Definition

Allow the segment control to adjust the width of each segment based upon each content width.

public virtual bool ApportionsSegmentWidthsByContent { [Foundation.Export("apportionsSegmentWidthsByContent")] get; [Foundation.Export("setApportionsSegmentWidthsByContent:")] set; }
member this.ApportionsSegmentWidthsByContent : bool with get, set

Property Value

Attributes

Remarks

If set to true and the segment width is 0, the segment control will attempt to adjust the size of the segment to fit its content.

Applies to