ActionComponents  04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
ActionComponents.ACNavBarPointer Class Reference

The arrow pointer that is optionally displayed by the selected ActionComponents.ACNavBarButton of a ActionComponents.ACNavBar More...

Inheritance diagram for ActionComponents.ACNavBarPointer:
Collaboration diagram for ActionComponents.ACNavBarPointer:

Public Member Functions

 ACNavBarPointer (Context context)
 Initializes a new instance of the ActionComponents.ACNavBarPointer class. More...
 
 ACNavBarPointer (Context context, Display display)
 Initializes a new instance of the ActionComponents.ACNavBarPointer class. More...
 
 ACNavBarPointer (Context context, IAttributeSet attrs)
 Initializes a new instance of the ActionComponents.ACNavBarPointer class. More...
 
 ACNavBarPointer (Context context, ACNavBarAppearance appearance)
 Initializes a new instance of the ActionComponents.ACNavBarPointer class. More...
 
void MoveTo (float y, bool animated)
 Moves the ActionComponents.ACNavBarPointer to the location specified and optionally animates the move More...
 

Protected Member Functions

override void OnMeasure (int widthMeasureSpec, int heightMeasureSpec)
 Raises the measure event. More...
 
override void OnDraw (Canvas canvas)
 Raises the draw event. More...
 

Properties

bool moving [get]
 Gets a value indicating whether this ActionComponents.ACNavBarPointer is moving. More...
 
ACNavBarAppearance appearance [get, set]
 Controlls the general appearance of the control More...
 
RelativeLayout.LayoutParams layoutParams [get]
 Gets the layout parameters typecast to a RelativeLayout.LayoutParams format More...
 
int LeftMargin [get, set]
 Gets or sets the left margin. More...
 
int TopMargin [get, set]
 Gets or sets the top margin. More...
 
int RightMargin [get, set]
 Gets or sets the right margin. More...
 
int BottomMargin [get, set]
 Gets or sets the bottom margin. More...
 
int LayoutWidth [get, set]
 Gets or sets the width of the layout. More...
 
int LayoutHeight [get, set]
 Gets or sets the height of the layout. More...
 

Detailed Description

The arrow pointer that is optionally displayed by the selected ActionComponents.ACNavBarButton of a ActionComponents.ACNavBar

The ActionComponents.ACNavBarPointer is controlled by its parent ActionComponents.ACNavBar and should not be modified direction

Constructor & Destructor Documentation

ActionComponents.ACNavBarPointer.ACNavBarPointer ( Context  context)

Initializes a new instance of the ActionComponents.ACNavBarPointer class.

Parameters
contextContext.
ActionComponents.ACNavBarPointer.ACNavBarPointer ( Context  context,
Display  display 
)

Initializes a new instance of the ActionComponents.ACNavBarPointer class.

Parameters
contextContext.
displayDisplay.
ActionComponents.ACNavBarPointer.ACNavBarPointer ( Context  context,
IAttributeSet  attrs 
)

Initializes a new instance of the ActionComponents.ACNavBarPointer class.

Parameters
contextContext.
attrsAttrs.
ActionComponents.ACNavBarPointer.ACNavBarPointer ( Context  context,
ACNavBarAppearance  appearance 
)

Initializes a new instance of the ActionComponents.ACNavBarPointer class.

Parameters
contextContext.
appearanceAppearance.

Member Function Documentation

void ActionComponents.ACNavBarPointer.MoveTo ( float  y,
bool  animated 
)

Moves the ActionComponents.ACNavBarPointer to the location specified and optionally animates the move

Parameters
yThe y coordinate.
animatedIf set to true animated.

NOTE: Pointer animation is currently NOT supported on the Android OS because of performance issue.

Here is the caller graph for this function:

override void ActionComponents.ACNavBarPointer.OnDraw ( Canvas  canvas)
protected

Raises the draw event.

Parameters
canvasCanvas.
override void ActionComponents.ACNavBarPointer.OnMeasure ( int  widthMeasureSpec,
int  heightMeasureSpec 
)
protected

Raises the measure event.

Parameters
widthMeasureSpecWidth measure spec.
heightMeasureSpecHeight measure spec.

Property Documentation

ACNavBarAppearance ActionComponents.ACNavBarPointer.appearance
getset

Controlls the general appearance of the control

int ActionComponents.ACNavBarPointer.BottomMargin
getset

Gets or sets the bottom margin.

The bottom margin.

int ActionComponents.ACNavBarPointer.LayoutHeight
getset

Gets or sets the height of the layout.

The height of the layout.

RelativeLayout.LayoutParams ActionComponents.ACNavBarPointer.layoutParams
get

Gets the layout parameters typecast to a RelativeLayout.LayoutParams format

The layout parameters.

int ActionComponents.ACNavBarPointer.LayoutWidth
getset

Gets or sets the width of the layout.

The width of the layout.

int ActionComponents.ACNavBarPointer.LeftMargin
getset

Gets or sets the left margin.

The left margin.

bool ActionComponents.ACNavBarPointer.moving
get

Gets a value indicating whether this ActionComponents.ACNavBarPointer is moving.

true if moving; otherwise, false.

int ActionComponents.ACNavBarPointer.RightMargin
getset

Gets or sets the right margin.

The right margin.

int ActionComponents.ACNavBarPointer.TopMargin
getset

Gets or sets the top margin.

The top margin.