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

Holds all information about a ActionComponents.ACAlertButton attached to a ActionComponents.ACAlert More...

Inheritance diagram for ActionComponents.ACAlertButton:
Collaboration diagram for ActionComponents.ACAlertButton:

Public Member Functions

 ACAlertButton (Context context)
 Initializes a new instance of the ActionComponents.ACAlertButton class. More...
 
 ACAlertButton (Context context, Display display)
 Initializes a new instance of the ActionComponents.ACAlertButton class. More...
 
 ACAlertButton (Context context, IAttributeSet attrs)
 Initializes a new instance of the ActionComponents.ACAlertButtony class. More...
 
void Redraw ()
 Forces the Appracatappra.ActionComponents.ActionTray.ACTray to dump it's draw buffer and completely redraw the control More...
 
void RemoveFromSuperview ()
 Removes this view from its parent view More...
 
bool PointInside (int x, int y)
 Test to see if the given x and y coordinates are inside this ActionComponents.ACAlert More...
 
bool PointInside (Point pt)
 Test to see if the given point is inside this ActionComponents.ACAlert More...
 
override bool OnTouchEvent (MotionEvent e)
 Raises the touch event event. More...
 
delegate void ACAlertButtonTouchedDelegate (ACAlertButton button)
 Occurs when this ActionComponents.ACAlert is touched More...
 
delegate void ACAlertButtonReleasedDelegate (ACAlertButton button)
 Occurs when this ActionComponents.ACAlert is released More...
 

Protected Member Functions

override void OnDraw (Canvas canvas)
 Raises the draw event. More...
 

Properties

Object tag [get, set]
 Gets or sets the [OPTIONAL] tag that can be assosciated with this ActionComponents.ACAlertButton More...
 
bool Enabled [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACAlertButton is enabled. More...
 
string title [get, set]
 Gets or sets the title for this ActionComponents.ACAlertButton More...
 
ACAlertButtonAppearance appearance [get, set]
 Gets or sets the appearance of this ActionComponents.ACAlertButton More...
 
ACAlertButtonAppearance appearanceDisabled [get, set]
 Gets or sets the appearance of this ActionComponents.ACAlertButton when it is disabled More...
 
ACAlertButtonAppearance appearanceTouched [get, set]
 Gets or sets the touched appearance of this ActionComponents.ACAlertButton More...
 
ACAlertButtonAppearance appearanceHighlighted [get, set]
 Gets or sets the highlighted appearance of this ActionComponents.ACAlertButton More...
 
bool highlighted [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACAlertButton is highlighted. 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...
 

Events

ACAlertButtonTouchedDelegate Touched
 
ACAlertButtonReleasedDelegate Released
 

Detailed Description

Holds all information about a ActionComponents.ACAlertButton attached to a ActionComponents.ACAlert

Constructor & Destructor Documentation

ActionComponents.ACAlertButton.ACAlertButton ( Context  context)

Initializes a new instance of the ActionComponents.ACAlertButton class.

Parameters
contextContext.

Here is the call graph for this function:

ActionComponents.ACAlertButton.ACAlertButton ( Context  context,
Display  display 
)

Initializes a new instance of the ActionComponents.ACAlertButton class.

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

Initializes a new instance of the ActionComponents.ACAlertButtony class.

Parameters
contextContext.
attrsAttrs.

Here is the call graph for this function:

Member Function Documentation

delegate void ActionComponents.ACAlertButton.ACAlertButtonReleasedDelegate ( ACAlertButton  button)

Occurs when this ActionComponents.ACAlert is released

delegate void ActionComponents.ACAlertButton.ACAlertButtonTouchedDelegate ( ACAlertButton  button)

Occurs when this ActionComponents.ACAlert is touched

Here is the caller graph for this function:

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

Raises the draw event.

Parameters
canvasCanvas.
override bool ActionComponents.ACAlertButton.OnTouchEvent ( MotionEvent  e)

Raises the touch event event.

Parameters
eE.

Here is the call graph for this function:

bool ActionComponents.ACAlertButton.PointInside ( int  x,
int  y 
)

Test to see if the given x and y coordinates are inside this ActionComponents.ACAlert

Returns
true, if inside was pointed, false otherwise.
Parameters
xThe x coordinate.
yThe y coordinate.

Here is the caller graph for this function:

bool ActionComponents.ACAlertButton.PointInside ( Point  pt)

Test to see if the given point is inside this ActionComponents.ACAlert

Returns
true, if inside was pointed, false otherwise.
Parameters
ptPoint.

Here is the call graph for this function:

void ActionComponents.ACAlertButton.Redraw ( )

Forces the Appracatappra.ActionComponents.ActionTray.ACTray to dump it's draw buffer and completely redraw the control

Here is the caller graph for this function:

void ActionComponents.ACAlertButton.RemoveFromSuperview ( )

Removes this view from its parent view

Here is the caller graph for this function:

Property Documentation

ACAlertButtonAppearance ActionComponents.ACAlertButton.appearance
getset

Gets or sets the appearance of this ActionComponents.ACAlertButton

The appearance.

ACAlertButtonAppearance ActionComponents.ACAlertButton.appearanceDisabled
getset

Gets or sets the appearance of this ActionComponents.ACAlertButton when it is disabled

The appearance disabled.

ACAlertButtonAppearance ActionComponents.ACAlertButton.appearanceHighlighted
getset

Gets or sets the highlighted appearance of this ActionComponents.ACAlertButton

The appearance highlighted.

ACAlertButtonAppearance ActionComponents.ACAlertButton.appearanceTouched
getset

Gets or sets the touched appearance of this ActionComponents.ACAlertButton

The appearance touched.

int ActionComponents.ACAlertButton.BottomMargin
getset

Gets or sets the bottom margin.

The bottom margin.

bool ActionComponents.ACAlertButton.Enabled
getset

Gets or sets a value indicating whether this ActionComponents.ACAlertButton is enabled.

true if enabled; otherwise, false.

bool ActionComponents.ACAlertButton.highlighted
getset

Gets or sets a value indicating whether this ActionComponents.ACAlertButton is highlighted.

true if highlighted; otherwise, false.

int ActionComponents.ACAlertButton.LayoutHeight
getset

Gets or sets the height of the layout.

The height of the layout.

int ActionComponents.ACAlertButton.LayoutWidth
getset

Gets or sets the width of the layout.

The width of the layout.

int ActionComponents.ACAlertButton.LeftMargin
getset

Gets or sets the left margin.

The left margin.

int ActionComponents.ACAlertButton.RightMargin
getset

Gets or sets the right margin.

The right margin.

Object ActionComponents.ACAlertButton.tag
getset

Gets or sets the [OPTIONAL] tag that can be assosciated with this ActionComponents.ACAlertButton

The tag.

string ActionComponents.ACAlertButton.title
getset

Gets or sets the title for this ActionComponents.ACAlertButton

The title.

int ActionComponents.ACAlertButton.TopMargin
getset

Gets or sets the top margin.

The top margin.

Event Documentation

ACAlertButtonReleasedDelegate ActionComponents.ACAlertButton.Released
ACAlertButtonTouchedDelegate ActionComponents.ACAlertButton.Touched