UIBarButtonItem.UIBarButtonItemAppearance UIBarButtonItem.UIBarButtonItemAppearance Class

Definition

Appearance class for objects of type UIBarButtonItem.

public class UIBarButtonItem.UIBarButtonItemAppearance : UIKit.UIBarItem.UIBarItemAppearance
type UIBarButtonItem.UIBarButtonItemAppearance = class
    inherit UIBarItem.UIBarItemAppearance
Inheritance
UIKit.UIBarItem+UIBarItemAppearanceUIKit.UIBarItem+UIBarItemAppearance
UIBarButtonItem.UIBarButtonItemAppearanceUIBarButtonItem.UIBarButtonItemAppearance

Remarks

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

Constructors

UIBarButtonItem.UIBarButtonItemAppearance(IntPtr) UIBarButtonItem.UIBarButtonItemAppearance(IntPtr)

Properties

TintColor TintColor

The color used for tinting.

Methods

GetBackButtonBackgroundImage(UIControlState, UIBarMetrics) GetBackButtonBackgroundImage(UIControlState, UIBarMetrics)

The background image used for the back button.

GetBackButtonBackgroundVerticalPositionAdjustment(UIBarMetrics) GetBackButtonBackgroundVerticalPositionAdjustment(UIBarMetrics)

The back button's vertical position offset for the specified UIBarMetrics.

GetBackButtonTitlePositionAdjustment(UIBarMetrics) GetBackButtonTitlePositionAdjustment(UIBarMetrics)

The back button's title's position adjustment for the specified UIBarMetrics.

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

The background image for the specified UIControlState and UIBarMetrics.

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

The background image for the specified UIControlState, UIBarButtonItemStyle, and UIBarMetrics.

GetBackgroundVerticalPositionAdjustment(UIBarMetrics) GetBackgroundVerticalPositionAdjustment(UIBarMetrics)

The background's vertical position adjustment for the specified UIBarMetrics.

GetTitlePositionAdjustment(UIBarMetrics) GetTitlePositionAdjustment(UIBarMetrics)

The title's position adjustment for the specified UIBarMetrics.

SetBackButtonBackgroundImage(UIImage, UIControlState, UIBarMetrics) SetBackButtonBackgroundImage(UIImage, UIControlState, UIBarMetrics)

Specifies the UIImage to be used as a background for the specified UIControlState and UIBarMetrics.

SetBackButtonBackgroundVerticalPositionAdjustment(nfloat, UIBarMetrics) SetBackButtonBackgroundVerticalPositionAdjustment(nfloat, UIBarMetrics)
SetBackButtonTitlePositionAdjustment(UIOffset, UIBarMetrics) SetBackButtonTitlePositionAdjustment(UIOffset, UIBarMetrics)

Specifies the back button's title's position adjustment for the specified UIBarMetrics.

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

Specifies the background UIImage to use for the specified UIControlState and UIBarMetrics.

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

Specifies the background image to use for the specified UIControlState, UIBarButtonItemStyle, and UIBarMetrics.

SetBackgroundVerticalPositionAdjustment(nfloat, UIBarMetrics) SetBackgroundVerticalPositionAdjustment(nfloat, UIBarMetrics)
SetTitlePositionAdjustment(UIOffset, UIBarMetrics) SetTitlePositionAdjustment(UIOffset, UIBarMetrics)

Specifies the adjustment of the title's position for the specified UIBarMetrics.

Applies to