Defines a button that can be added to a ActionComponents.ACNavBar of a given ActionComponents.ACNavBarButtonType and ActionComponents.ACNavBarButtonState. Three ActionComponents.ACNavBarButtonAppearance properties controll the look and feel of the button when it is Enabled, Disabled or Selected.
More...
|
| ACNavBarButton (Context context) |
| Initializes a new instance of the ActionComponents.ACNavBarButton class. More...
|
|
| ACNavBarButton (Context context, Display display) |
| Initializes a new instance of the ActionComponents.ACNavBarButton class. More...
|
|
| ACNavBarButton (Context context, IAttributeSet attrs) |
| Initializes a new instance of the ActionComponents.ACNavBarButton class. More...
|
|
| ACNavBarButton (Context context, int image, bool enabled, bool hidden) |
| Initializes a new instance of the ActionComponents.ACNavBarButton class. More...
|
|
| ACNavBarButton (Context context, int image, bool enabled, bool hidden, object tag) |
| Initializes a new instance of the ActionComponents.ACNavBarButton class. More...
|
|
| ACNavBarButton (Context context, ACNavBarButtonAppearance appearanceEnabled, ACNavBarButtonAppearance appearanceDisabled, ACNavBarButtonAppearance appearanceSelected) |
| Initializes a new instance of the ActionComponents.ACNavBarButton class. More...
|
|
| ACNavBarButton (Context context, ACNavBarButtonType type, ACNavBarButtonAppearance appearanceEnabled, ACNavBarButtonAppearance appearanceDisabled, ACNavBarButtonAppearance appearanceSelected, bool enabled, bool hidden, object tag) |
| Initializes a new instance of the ActionComponents.ACNavBarButton class. More...
|
|
void | Redraw () |
| Causes the ActionComponents.ACNavBarButton to redraw it's contents totally by dumping it's image cache and doing a total refresh More...
|
|
delegate void | TouchedDelegate (ACNavBarButton responder) |
| Occurs when touched. More...
|
|
delegate void | RequestNewViewDelegate (ACNavBarButton responder) |
| Occurs when the ActionComponents.ACNavBarButton is of ActionComponents.ACNavBarButtonType View or AutoDisposingView, the button has been selected and no view is attached. More...
|
|
delegate void | ViewHiddenDelegate (ACNavBarButton responder) |
| Occurs when this ActionComponents.ACNavBarButton is of ActionComponents.ACNavBarButtonType View and the button has been unselected and the view under its control has been hidden More...
|
|
delegate void | ViewDisposedDelegate (ACNavBarButton responder) |
| Occurs when this ActionComponents.ACNavBarButton is of ActionComponents.ACNavBarButtonType AutoDisposingView and the button has been unselected and the view under its control has been removed from memory More...
|
|
|
override void | OnMeasure (int widthMeasureSpec, int heightMeasureSpec) |
| Raises the measure event. More...
|
|
override void | OnDraw (Canvas canvas) |
| Raises the draw event. More...
|
|
Defines a button that can be added to a ActionComponents.ACNavBar of a given ActionComponents.ACNavBarButtonType and ActionComponents.ACNavBarButtonState. Three ActionComponents.ACNavBarButtonAppearance properties controll the look and feel of the button when it is Enabled, Disabled or Selected.
ActionComponents.ACNavBarButtons cannot be created directly but are built by methods of the ActionComponents.ACNavBarButtonCollection as AddButton
, AddAutoDisposingButton
, AddTool
or AddNotification
ActionComponents.ACNavBarButton.ACNavBarButton |
( |
Context |
context | ) |
|
ActionComponents.ACNavBarButton.ACNavBarButton |
( |
Context |
context, |
|
|
Display |
display |
|
) |
| |
ActionComponents.ACNavBarButton.ACNavBarButton |
( |
Context |
context, |
|
|
IAttributeSet |
attrs |
|
) |
| |
ActionComponents.ACNavBarButton.ACNavBarButton |
( |
Context |
context, |
|
|
int |
image, |
|
|
bool |
enabled, |
|
|
bool |
hidden |
|
) |
| |
Initializes a new instance of the ActionComponents.ACNavBarButton class.
- Parameters
-
context | Context. |
image | Image. |
enabled | If set to true enabled. |
hidden | If set to true hidden. |
ActionComponents.ACNavBarButton.ACNavBarButton |
( |
Context |
context, |
|
|
int |
image, |
|
|
bool |
enabled, |
|
|
bool |
hidden, |
|
|
object |
tag |
|
) |
| |
Initializes a new instance of the ActionComponents.ACNavBarButton class.
- Parameters
-
context | Context. |
image | Image. |
enabled | If set to true enabled. |
hidden | If set to true hidden. |
tag | Tag. |
Initializes a new instance of the ActionComponents.ACNavBarButton class.
- Parameters
-
context | Context. |
appearanceEnabled | Appearance enabled. |
appearanceDisabled | Appearance disabled. |
appearanceSelected | Appearance selected. |
Initializes a new instance of the ActionComponents.ACNavBarButton class.
- Parameters
-
context | Context. |
type | Type. |
appearanceEnabled | Appearance enabled. |
appearanceDisabled | Appearance disabled. |
appearanceSelected | Appearance selected. |
enabled | If set to true enabled. |
hidden | If set to true hidden. |
tag | Tag. |
override void ActionComponents.ACNavBarButton.OnDraw |
( |
Canvas |
canvas | ) |
|
|
protected |
Raises the draw event.
- Parameters
-
override void ActionComponents.ACNavBarButton.OnMeasure |
( |
int |
widthMeasureSpec, |
|
|
int |
heightMeasureSpec |
|
) |
| |
|
protected |
Raises the measure event.
- Parameters
-
widthMeasureSpec | Width measure spec. |
heightMeasureSpec | Height measure spec. |
void ActionComponents.ACNavBarButton.Redraw |
( |
| ) |
|
Causes the ActionComponents.ACNavBarButton to redraw it's contents totally by dumping it's image cache and doing a total refresh
WARNING! This routine should be called sparingly as it has a performance hit
delegate void ActionComponents.ACNavBarButton.RequestNewViewDelegate |
( |
ACNavBarButton |
responder | ) |
|
delegate void ActionComponents.ACNavBarButton.TouchedDelegate |
( |
ACNavBarButton |
responder | ) |
|
delegate void ActionComponents.ACNavBarButton.ViewDisposedDelegate |
( |
ACNavBarButton |
responder | ) |
|
delegate void ActionComponents.ACNavBarButton.ViewHiddenDelegate |
( |
ACNavBarButton |
responder | ) |
|
object ActionComponents.ACNavBarButton.tag |
View ActionComponents.ACNavBarButton.attachedView |
|
getset |
int ActionComponents.ACNavBarButton.BottomMargin |
|
getset |
Gets or sets the bottom margin.
The bottom margin.
override bool ActionComponents.ACNavBarButton.Enabled |
|
getset |
bool ActionComponents.ACNavBarButton.Hidden |
|
getset |
int ActionComponents.ACNavBarButton.LayoutHeight |
|
getset |
Gets or sets the height of the layout.
The height of the layout.
RelativeLayout.LayoutParams ActionComponents.ACNavBarButton.layoutParams |
|
get |
Gets the layout parameters typecast to a RelativeLayout.LayoutParams
format
The layout parameters.
int ActionComponents.ACNavBarButton.LayoutWidth |
|
getset |
Gets or sets the width of the layout.
The width of the layout.
int ActionComponents.ACNavBarButton.LeftMargin |
|
getset |
Gets or sets the left margin.
The left margin.
ACNavBar ActionComponents.ACNavBarButton.NavBar |
|
get |
int ActionComponents.ACNavBarButton.RightMargin |
|
getset |
Gets or sets the right margin.
The right margin.
Gets the current state of the button
The button's state
You cannot set a button's state directly, it's set in response to events in the parent ActionComponents.ACNavBar
int ActionComponents.ACNavBarButton.TopMargin |
|
getset |
Gets or sets the top margin.
The top margin.