Edit

Share via


UISegmentedControl.SetWidth(nfloat, nint) Method

Definition

Sets the width for a particular segment.

[Foundation.Export("setWidth:forSegmentAtIndex:")]
public virtual void SetWidth (nfloat width, nint segment);
abstract member SetWidth : nfloat * nint -> unit
override this.SetWidth : nfloat * nint -> unit

Parameters

width
nfloat

The segment width to set..

segment
System.System.IntPtr System.nativeint

The segment index..

Attributes

Remarks

The default value of 0.0 will cause the segment to be automatically sized.

Applies to