iOS Guides | Samples

MonoTouch.UIKit.UISegmentedControl.UISegmentedControlAppearance Class

Appearance class for objects of type UISegmentedControl.

See Also: UISegmentedControl+UISegmentedControlAppearance

Syntax

public class UISegmentedControl.UISegmentedControlAppearance : UIControl+UIControlAppearance

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 UISegmentedControl.Appearance property on the UISegmentedControl or by calling the UISegmentedControl.AppearanceWhenContainedIn to get a UIAppearance that is context sensitive.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UISegmentedControl.UISegmentedControlAppearance are listed below.

See Also: UIControl+UIControlAppearance

Protected Constructors

Public Methods

ContentPositionAdjustment(UISegmentedControlSegment, UIBarMetrics) : UIOffset
The positioning offset for the specified UISegmentedControlSegment and UIBarMetrics.
DividerImageForLeftSegmentStaterightSegmentStatebarMetrics(UIControlState, UIControlState, UIBarMetrics) : UIImage
The divider image for the specified UIControlStates and UIBarMetrics.
GetBackgroundImage(UIControlState, UIBarMetrics) : UIImage
The background image used for the specified UIControlState and UIBarMetrics.
GetTitleTextAttributes(UIControlState) : UITextAttributes
The UITextAttributes for the title for the given UIControlState.
SetBackgroundImage(UIImage, UIControlState, UIBarMetrics)
Sets the background image used for the specified UIControlState and UIBarMetrics.
SetContentPositionAdjustment(UIOffset, UISegmentedControlSegment, UIBarMetrics)
Sets the position adjustment for the specified UISegmentedControlSegment and UIBarMetrics.
SetDividerImage(UIImage, UIControlState, UIControlState, UIBarMetrics)
Sets the divider image used for the specified UIControlStates and UIBarMetrics.
SetTitleTextAttributes(UITextAttributes, UIControlState)
Sets the text attributes used for the title for the specified UIControlState.