UISegmentedControl.SetWidth(nfloat, 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.
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.