Class PTToolBarButtonItem
Inheritance
System.Object
PTToolBarButtonItem
Assembly: Tools.dll
public class PTToolBarButtonItem : PTSelectableBarButtonItem
Constructors
Declaration
public PTToolBarButtonItem(NSCoder coder)
Parameters
Type |
Name |
Description |
Foundation.NSCoder |
coder |
|
Declaration
protected PTToolBarButtonItem(NSObjectFlag t)
Parameters
Type |
Name |
Description |
Foundation.NSObjectFlag |
t |
|
Declaration
public PTToolBarButtonItem(Class toolClass, NSObject target, Selector action)
Parameters
Type |
Name |
Description |
ObjCRuntime.Class |
toolClass |
|
Foundation.NSObject |
target |
|
ObjCRuntime.Selector |
action |
|
Declaration
protected PTToolBarButtonItem(NativeHandle handle)
Parameters
Type |
Name |
Description |
ObjCRuntime.NativeHandle |
handle |
|
Properties
Declaration
public static PTToolBarButtonItem.PTToolBarButtonItemAppearance Appearance { get; }
Property Value
Declaration
public override NativeHandle ClassHandle { get; }
Property Value
Type |
Description |
ObjCRuntime.NativeHandle |
|
Overrides
Declaration
public virtual string Identifier { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public virtual bool ShowsAnnotationStyle { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual Class ToolClass { get; set; }
Property Value
Type |
Description |
ObjCRuntime.Class |
|
Methods
Declaration
public static PTToolBarButtonItem.PTToolBarButtonItemAppearance AppearanceWhenContainedIn(params Type[] containers)
Parameters
Type |
Name |
Description |
System.Type[] |
containers |
|
Returns
Declaration
public static PTToolBarButtonItem.PTToolBarButtonItemAppearance GetAppearance(UITraitCollection traits)
Parameters
Type |
Name |
Description |
UIKit.UITraitCollection |
traits |
|
Returns
Declaration
public static PTToolBarButtonItem.PTToolBarButtonItemAppearance GetAppearance(UITraitCollection traits, params Type[] containers)
Parameters
Type |
Name |
Description |
UIKit.UITraitCollection |
traits |
|
System.Type[] |
containers |
|
Returns
Declaration
public static PTToolBarButtonItem.PTToolBarButtonItemAppearance GetAppearance<T>()
where T : PTToolBarButtonItem
Returns
Type Parameters
Declaration
public static PTToolBarButtonItem.PTToolBarButtonItemAppearance GetAppearance<T>(UITraitCollection traits)
where T : PTToolBarButtonItem
Parameters
Type |
Name |
Description |
UIKit.UITraitCollection |
traits |
|
Returns
Type Parameters
Declaration
public static PTToolBarButtonItem.PTToolBarButtonItemAppearance GetAppearance<T>(UITraitCollection traits, params Type[] containers)
where T : PTToolBarButtonItem
Parameters
Type |
Name |
Description |
UIKit.UITraitCollection |
traits |
|
System.Type[] |
containers |
|
Returns
Type Parameters
Declaration
public virtual void SetImageStyle(PTAnnotStyle style)
Parameters
Declaration
public virtual void SetSubImage(UIImage image, UIColor tintColor)
Parameters
Type |
Name |
Description |
UIKit.UIImage |
image |
|
UIKit.UIColor |
tintColor |
|