UISegmentedControl.UISegmentedControlAppearance UISegmentedControl.UISegmentedControlAppearance Class

Definition

Appearance class for objects of type UISegmentedControl.

public class UISegmentedControl.UISegmentedControlAppearance : UIKit.UIControl.UIControlAppearance
type UISegmentedControl.UISegmentedControlAppearance = class
    inherit UIControl.UIControlAppearance
Inheritance
UIKit.UIControl+UIControlAppearanceUIKit.UIControl+UIControlAppearance
UISegmentedControl.UISegmentedControlAppearanceUISegmentedControl.UISegmentedControlAppearance

Remarks

This appearance class is a strongly typed subclass of UIAppearance that is intended to be used with objects of class UISegmentedControl. You can obtain an instance to this class by either accessing the static Appearance property on the UISegmentedControl or by calling the AppearanceWhenContainedIn(Type[]) to get a UIAppearance that is context sensitive.

Constructors

UISegmentedControl.UISegmentedControlAppearance(IntPtr) UISegmentedControl.UISegmentedControlAppearance(IntPtr)

Methods

ContentPositionAdjustment(UISegmentedControlSegment, UIBarMetrics) ContentPositionAdjustment(UISegmentedControlSegment, UIBarMetrics)

The positioning offset for the specified UISegmentedControlSegment and UIBarMetrics.

DividerImageForLeftSegmentStaterightSegmentStatebarMetrics(UIControlState, UIControlState, UIBarMetrics) DividerImageForLeftSegmentStaterightSegmentStatebarMetrics(UIControlState, UIControlState, UIBarMetrics)

The divider image for the specified UIControlStates and UIBarMetrics.

GetBackgroundImage(UIControlState, UIBarMetrics) GetBackgroundImage(UIControlState, UIBarMetrics)

The background image used for the specified UIControlState and UIBarMetrics.

GetTitleTextAttributes(UIControlState) GetTitleTextAttributes(UIControlState)

The UITextAttributes for the title for the given UIControlState.

SetBackgroundImage(UIImage, UIControlState, UIBarMetrics) SetBackgroundImage(UIImage, UIControlState, UIBarMetrics)

Sets the background image used for the specified UIControlState and UIBarMetrics.

SetContentPositionAdjustment(UIOffset, UISegmentedControlSegment, UIBarMetrics) SetContentPositionAdjustment(UIOffset, UISegmentedControlSegment, UIBarMetrics)

Sets the position adjustment for the specified UISegmentedControlSegment and UIBarMetrics.

SetDividerImage(UIImage, UIControlState, UIControlState, UIBarMetrics) SetDividerImage(UIImage, UIControlState, UIControlState, UIBarMetrics)

Sets the divider image used for the specified UIControlStates and UIBarMetrics.

SetTitleTextAttributes(UITextAttributes, UIControlState) SetTitleTextAttributes(UITextAttributes, UIControlState)

Sets the text attributes used for the title for the specified UIControlState.

Applies to