The members of UIKit.UISegmentedControl are listed below.
See Also: Inherited members from UIKit.UIControl
Default constructor that initializes a new instance of this class with no parameters. | ||
Initializes the UISegmentedControl with the specified frame. | ||
A constructor that initializes the object from the data stored in the unarchiver object. | ||
Creates a UISegmentedControl by passing an array containing strings or UIKit.UIImage objects. |
Constructor to call on derived classes to skip initialization and merely allocate the object. | ||
A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
[read-only] static | Appearance | UISegmentedControl.UISegmentedControlAppearance. Strongly-typed property that returns the UIAppearance class for this class. |
ApportionsSegmentWidthsByContent | bool. Allow the segment control to adjust the width of each segment based upon each content width. | |
[read-only] override | ClassHandle | IntPtr. The handle for this class. |
ControlStyle | UISegmentedControlStyle. The style of the segmented control. | |
Momentary | bool. Determines if segments show the selected state. | |
[read-only] | NumberOfSegments | nint. Returns the number of segments in the segmented control. |
SelectedSegment | nint. The index of the selected segment. |
static | AppearanceWhenContainedIn(params Type[])Returns a strongly typed UIAppearance for instances of this class when the view is hosted in the specified hierarchy. | |
ContentPositionAdjustment(UISegmentedControlSegment, UIBarMetrics)Returns the offset for the content of a given segment for the specified bar metrics. | ||
DividerImageForLeftSegmentStaterightSegmentStatebarMetrics(UIControlState, UIControlState, UIBarMetrics)Retrieves the divider image between the segments. | ||
static | GetAppearance(UITraitCollection)Returns an appearance proxy for the specified traits. | |
static | GetAppearance(UITraitCollection, params Type[])Returns an appearance proxy for the specified traits when found in the conatiners containment hierarchy. | |
static | GetAppearance<T>()Obtains the appearance proxy UIKit.UISegmentedControl.UISegmentedControlAppearance for the subclass of UISegmentedControl. | |
static | GetAppearance<T>(UITraitCollection)Obtains the appearance proxy UIKit.UISegmentedControl.UISegmentedControlAppearance for the subclass of UISegmentedControl. | |
static | GetAppearance<T>(UITraitCollection, params Type[])Obtains the appearance proxy UIKit.UISegmentedControl.UISegmentedControlAppearance for the subclass of UISegmentedControl that has the specified trait collection when the view is hosted in the specified hierarchy. | |
GetBackgroundImage(UIControlState, UIBarMetrics)Used to retrieve the background image for the segmented control for a specified control state and bar metrics. | ||
GetContentOffset(nint)The offset used for drawing content in a specified segment. | ||
GetTitleTextAttributes(UIControlState)Returns the current rendering text attributes for the requested state. | ||
ImageAt(nint)Retrieves the image used in a particular segment | ||
InsertSegment(string, bool, nint)Adds a segment to the segmented control. | ||
InsertSegment(UIImage, bool, nint)Adds a segment to the segmented control. | ||
IsEnabled(nint)Returns if a particular segment is enabled. | ||
RemoveAllSegments()Removes all segments | ||
RemoveSegmentAtIndex(bool, nint)Removes a particular segment from the segmented control. | ||
SegmentWidth(nint)Returns the with of a particular segment. | ||
SetBackgroundImage(UIImage, UIControlState, UIBarMetrics)Set the background image for the segmented control. | ||
SetContentOffset(CoreGraphics.CGSize, nint)Sets the content offset for a specified segment. | ||
SetContentPositionAdjustment(UIOffset, UISegmentedControlSegment, UIBarMetrics)Sets the offset for the content of a given segment for the specified bar metrics. | ||
SetDividerImage(UIImage, UIControlState, UIControlState, UIBarMetrics)Sets the divider image for the specified segment states and bar metrics.. | ||
SetEnabled(bool, nint)Enables or disables a given segment. | ||
SetImage(UIImage, nint)Set an image for a particular segment. | ||
SetTitle(string, nint)Set a title for a particular segment. | ||
SetTitleTextAttributes(UITextAttributes, UIControlState)Sets the rendering text attributes for a specific state in the control. | ||
SetWidth(nfloat, nint)Sets the width for a particular segment. | ||
TitleAt(nint)Allows the title for a particular segment to be retrieved. |