UISegmentedControl.SetEnabled(Boolean, 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.
Enables or disables a given segment.
[Foundation.Export("setEnabled:forSegmentAtIndex:")]
public virtual void SetEnabled (bool enabled, nint segment);
abstract member SetEnabled : bool * nint -> unit
override this.SetEnabled : bool * nint -> unit
Parameters
- enabled
- Boolean
Boolean indicating if a segment is should be enabled.
- segment
- System.System.IntPtr System.nativeint
The index of the segment.
- Attributes