Class ToolbarItem
Inheritance
System.Object
ToolbarItem
Implements
Android.OS.IParcelable
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
Assembly: PDFViewCtrlTools.dll
public class ToolbarItem : Object
Constructors
Declaration
protected ToolbarItem(Parcel in)
Parameters
Type |
Name |
Description |
Android.OS.Parcel |
in |
|
Declaration
protected ToolbarItem(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Declaration
public ToolbarItem(string toolbarId, ToolbarButtonType toolbarButtonType, int buttonId, bool isCheckable, bool hasOption, int titleRes, int icon, int showAsAction, int order)
Parameters
Type |
Name |
Description |
System.String |
toolbarId |
|
ToolbarButtonType |
toolbarButtonType |
|
System.Int32 |
buttonId |
|
System.Boolean |
isCheckable |
|
System.Boolean |
hasOption |
|
System.Int32 |
titleRes |
|
System.Int32 |
icon |
|
System.Int32 |
showAsAction |
|
System.Int32 |
order |
|
Declaration
public ToolbarItem(string toolbarId, ToolbarButtonType toolbarButtonType, int buttonId, bool isCheckable, bool hasOption, int titleRes, string title, int icon, int showAsAction, bool isVisible, int order)
Parameters
Type |
Name |
Description |
System.String |
toolbarId |
|
ToolbarButtonType |
toolbarButtonType |
|
System.Int32 |
buttonId |
|
System.Boolean |
isCheckable |
|
System.Boolean |
hasOption |
|
System.Int32 |
titleRes |
|
System.String |
title |
|
System.Int32 |
icon |
|
System.Int32 |
showAsAction |
|
System.Boolean |
isVisible |
|
System.Int32 |
order |
|
Declaration
public ToolbarItem(string toolbarId, ToolbarButtonType toolbarButtonType, int buttonId, bool isCheckable, bool hasOption, int titleRes, string title, int icon, int showAsAction, int order)
Parameters
Type |
Name |
Description |
System.String |
toolbarId |
|
ToolbarButtonType |
toolbarButtonType |
|
System.Int32 |
buttonId |
|
System.Boolean |
isCheckable |
|
System.Boolean |
hasOption |
|
System.Int32 |
titleRes |
|
System.String |
title |
|
System.Int32 |
icon |
|
System.Int32 |
showAsAction |
|
System.Int32 |
order |
|
Declaration
public ToolbarItem(string toolbarId, ToolbarButtonType toolbarButtonType, int buttonId, bool isCheckable, int titleRes, int icon, int showAsAction, int order)
Parameters
Type |
Name |
Description |
System.String |
toolbarId |
|
ToolbarButtonType |
toolbarButtonType |
|
System.Int32 |
buttonId |
|
System.Boolean |
isCheckable |
|
System.Int32 |
titleRes |
|
System.Int32 |
icon |
|
System.Int32 |
showAsAction |
|
System.Int32 |
order |
|
Declaration
public ToolbarItem(string toolbarId, ToolbarButtonType toolbarButtonType, int buttonId, bool isCheckable, int titleRes, string title, int icon, int showAsAction, int order)
Parameters
Type |
Name |
Description |
System.String |
toolbarId |
|
ToolbarButtonType |
toolbarButtonType |
|
System.Int32 |
buttonId |
|
System.Boolean |
isCheckable |
|
System.Int32 |
titleRes |
|
System.String |
title |
|
System.Int32 |
icon |
|
System.Int32 |
showAsAction |
|
System.Int32 |
order |
|
Properties
Declaration
public int ButtonId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public static IParcelableCreator Creator { get; }
Property Value
Type |
Description |
Android.OS.IParcelableCreator |
|
Declaration
public static ToolbarItem DEFAULTPANTOOl { get; }
Property Value
Declaration
public bool HasOption { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public int Icon { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public bool IsCheckable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsVisible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Declaration
public int Order { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public int ShowAsAction { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public virtual string StyleId { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Declaration
public string Title { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public int TitleRes { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public ToolbarButtonType ToolbarButtonType { get; set; }
Property Value
Declaration
public string ToolbarId { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
public virtual ToolbarItem Copy()
Returns
Declaration
public virtual ToolbarItem Copy(bool visible)
Parameters
Type |
Name |
Description |
System.Boolean |
visible |
|
Returns
DescribeContents()
Declaration
public virtual int DescribeContents()
Returns
Type |
Description |
System.Int32 |
|
Declaration
public virtual void SetIcon(int iconRes)
Parameters
Type |
Name |
Description |
System.Int32 |
iconRes |
|
Declaration
public virtual void SetOrder(int order)
Parameters
Type |
Name |
Description |
System.Int32 |
order |
|
Declaration
public virtual void SetVisible(bool visible)
Parameters
Type |
Name |
Description |
System.Boolean |
visible |
|
Declaration
public virtual void WriteToParcel(Parcel dest, ParcelableWriteFlags flags)
Parameters
Type |
Name |
Description |
Android.OS.Parcel |
dest |
|
Android.OS.ParcelableWriteFlags |
flags |
|
Implements
Android.OS.IParcelable
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable