UISegmentedControl.SelectedSegment Property
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.
The index of the selected segment.
public virtual nint SelectedSegment { [Foundation.Export("selectedSegmentIndex")] get; [Foundation.Export("setSelectedSegmentIndex:")] set; }
member this.SelectedSegment : nint with get, set
Property Value
System.System.IntPtr
System.nativeint
- Attributes
Remarks
Set to -1 to turn off the currently selected segment. If Momentary == true the SelectedSegment property is ignored.