UISegmentedControl.IsEnabled(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.
Returns if a particular segment is enabled.
[Foundation.Export("isEnabledForSegmentAtIndex:")]
public virtual bool IsEnabled (nint segment);
abstract member IsEnabled : nint -> bool
override this.IsEnabled : nint -> bool
Parameters
- segment
- System.System.IntPtr System.nativeint
The index of the segment.
Returns
Returns true if the segment is enabled.
- Attributes
Remarks
Segments are enabled by default.