Edit

Share via


UISegmentedControl.IsEnabled(nint) Method

Definition

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.

Applies to