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

The ActionComponents.ACAlert is a custom RelativeLayout with built-in helper routines to automatically handle user interaction such as dragging (with optional constraints on the x and y axis), events such as Touched, Moved and Released and moving, and resizing. The ActionComponents.ACAlert includes a Purge method to release the memory being held by it's subviews and layouts. More...

Inheritance diagram for ActionComponents.ACAlert:
Collaboration diagram for ActionComponents.ACAlert:

Public Member Functions

 ACAlert (Context context)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, IAttributeSet attr)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (IntPtr javaReference, JniHandleOwnership transfer)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, IAttributeSet attr, int defStyle)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, string title, string description)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, string title, RelativeLayout subview)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, int icon, string title, string description)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, int icon, string title, RelativeLayout subview)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, string title, string description, string[] buttonTitles)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, string title, RelativeLayout subview, string[] buttonTitles)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, int icon, string title, string description, string[] buttonTitles)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, int icon, string title, RelativeLayout subview, string[] buttonTitles)
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, string title, string description, string buttonTitles)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, string title, RelativeLayout subview, string buttonTitles)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, int icon, string title, string description, string buttonTitles)
 Initializes a new instance of the ActionComponents.ACAlert class. More...
 
 ACAlert (Context context, ACAlertType type, ACAlertLocation location, int icon, string title, RelativeLayout subview, string buttonTitles)
 
void Show ()
 Show this ActionComponents.ACAlert More...
 
void Hide ()
 Removes this ActionComponents.ACAlert from the screen More...
 
void Flatten ()
 Flattens the ActionComponents.ACAlert and its ActionComponents.ACAlertButtons to match the new iOS 7 design language More...
 
void Flatten (Color backgroundColor)
 Flattens the ActionComponents.ACAlert and its ActionComponents.ACAlertButtons to match the new iOS 7 design language More...
 
void Flatten (Color backgroundColor, Color foregroundColor)
 Flattens the ActionComponents.ACAlert and its ActionComponents.ACAlertButtons to match the new iOS 7 design language More...
 
void AddButtons (string buttonTitles)
 Takes a comma seperated string of button titles, creates a new ActionComponents.ACAlertButton for each title and adds them to this ActionComponents.ACAlert More...
 
void AddButtons (string[] titles)
 Takes an array of titles and adds a new ActionComponents.ACAlertButton to this ActionComponents.ACAlert for each title in the array More...
 
ACAlertButton AddButton (string title, bool highlighted)
 Adds a new ActionComponents.ACAlertButton to this ActionComponents.ACAlert More...
 
ACAlertButton AddButton (ACAlertButtonAppearance appearance, ACAlertButtonAppearance appearanceDisabled, ACAlertButtonAppearance appearanceTouched, ACAlertButtonAppearance appearanceHighlighted, string title, bool highlighted)
 Adds a new ActionComponents.ACAlertButton to this ActionComponents.ACAlert More...
 
void RemoveButtonAt (int index)
 Removes the ActionComponents.ACAlertButton at the given index from this ActionComponents.ACAlert More...
 
void Clear ()
 Removes all ActionComponents.ACAlertButtons from this ActionComponents.ACAlert More...
 
void RemoveFromSuperview ()
 Removes this view from its parent view More...
 
void MoveToPoint (int x, int y)
 Moves this ActionComponents.ACAlert to the given point and honors any ActionComponents.ACAlertDragConstraints applied to the X or Y axis More...
 
void MoveToPoint (Point point)
 Moves this ActionComponents.ACAlert to the given point and honors any ActionComponents.ACAlertDragConstraints applied to the X or Y axis More...
 
void Resize (int width, int height)
 Resize this ActionComponents.ACAlert to the specified width and height. 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...
 
void Redraw ()
 Forces the Appracatappra.ActionComponents.ActionTray.ACTray to dump it's draw buffer and completely redraw the control More...
 
override bool OnTouchEvent (MotionEvent e)
 Raises the touch event event. More...
 
delegate void ACAlertTouchedDelegate (ACAlert view)
 Occurs when this ActionComponents.ACAlert is touched More...
 
delegate void ACAlertMovedDelegate (ACAlert view)
 Occurs when this ActionComponents.ACAlert is moved More...
 
delegate void ACAlertReleasedDelegate (ACAlert view)
 Occurs when this ActionComponents.ACAlert is released More...
 
delegate void ACAlertButtonTouched (ACAlertButton button)
 
delegate void ACAlertButtonReleased (ACAlertButton button)
 
delegate void ACAlertOverlayTouched ()
 

Static Public Member Functions

static int GetViewHeight (View view)
 Decodes the LayoutParameters for the given View and returns the Height property More...
 
static void SetViewHeight (View view, int height)
 Decodes the LayoutParameters for the given View and sets the Height property More...
 
static int GetViewWidth (View view)
 Decodes the LayoutParameters for the given View and returns the Width property More...
 
static void SetViewWidth (View view, int Width)
 Decodes the LayoutParameters for the given View and sets the Width property More...
 
static int GetViewLeftMargin (View view)
 Decodes the LayoutParameters for the given View and returns the LeftMargin property More...
 
static void SetViewLeftMargin (View view, int LeftMargin)
 Decodes the LayoutParameters for the given View and sets the LeftMargin property More...
 
static int GetViewRightMargin (View view)
 Decodes the LayoutParameters for the given View and returns the RightMargin property More...
 
static void SetViewRightMargin (View view, int RightMargin)
 Decodes the LayoutParameters for the given View and sets the RightMargin property More...
 
static int GetViewTopMargin (View view)
 Decodes the LayoutParameters for the given View and returns the TopMargin property More...
 
static void SetViewTopMargin (View view, int TopMargin)
 Decodes the LayoutParameters for the given View and sets the TopMargin property More...
 
static int GetViewBottomMargin (View view)
 Decodes the LayoutParameters for the given View and returns the BottomMargin property More...
 
static void SetViewBottomMargin (View view, int BottomMargin)
 Decodes the LayoutParameters for the given View and sets the BottomMargin property More...
 
static ACAlert ShowAlert (Context context, string title, string description)
 Creates a new ActionComponents.ACAlert and displays it. If the user taps the alert, it will automatically close. More...
 
static ACAlert ShowAlert (Context context, string title, string description, string buttonTitles)
 Creates a new ActionComponents.ACAlert with the given buttons and displays it. More...
 
static ACAlert ShowAlert (Context context, int icon, string title, string description, string buttonTitles)
 Creates a new ActionComponents.ACAlert with the given buttons and displays it. More...
 
static ACAlert ShowAlert (Context context, ACAlertLocation location, string title, string description)
 Creates a new ActionComponents.ACAlert and displays it at the given location. If the user taps the alert, it will automatically close. More...
 
static ACAlert ShowAlert (Context context, int icon, string title, string description)
 Creates a new ActionComponents.ACAlert and displays it. If the user taps the alert, it will automatically close. More...
 
static ACAlert ShowAlert (Context context, ACAlertLocation location, int icon, string title, string description)
 Creates a new ActionComponents.ACAlert and displays it at the given location. If the user taps the alert, it will automatically close. More...
 
static ACAlert ShowAlertOK (Context context, string title, string description)
 Creates a new ActionComponents.ACAlert with an OK button and displays it. If the user taps the OK button, the alert will automatically close. More...
 
static ACAlert ShowAlertOK (Context context, int icon, string title, string description)
 Creates a new ActionComponents.ACAlert with an OK button and displays it. If the user taps the OK button, the alert will automatically close. More...
 
static ACAlert ShowAlertOKCancel (Context context, string title, string description)
 Creates a new ActionComponents.ACAlert with an OK/Cancel buttons and displays it. If the user taps the OK button, the alert will automatically close. More...
 
static ACAlert ShowAlertOKCancel (Context context, int icon, string title, string description)
 Creates a new ActionComponents.ACAlert with an OK/Cancel buttons and displays it. If the user taps the OK button, the alert will automatically close. More...
 
static ACAlert ShowActivityAlert (Context context, string title, string description, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Activity Indicator and displays it. More...
 
static ACAlert ShowActivityAlert (Context context, ACAlertLocation location, string title, string description, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Activity Indicator and displays it. More...
 
static ACAlert ShowActivityAlertCancel (Context context, string title, string description, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Activity Indicator, a Cancel button and displays it. The alert will automatically close if the cancel button is tapped. More...
 
static ACAlert ShowActivityAlertCancel (Context context, ACAlertLocation location, string title, string description, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Activity Indicator, a Cancel button and displays it. The alert will automatically close if the cancel button is tapped. More...
 
static ACAlert ShowActivityAlertMedium (Context context, string title, bool modal)
 Creates a new medium sized ActionComponents.ACAlert with an embedded Activity Indicator and displays it. More...
 
static ACAlert ShowActivityAlertMediumCancel (Context context, string title, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Activity Indicator, a Cancel button and displays it. The alert will automatically close if the cancel button is tapped. More...
 
static ACAlert ShowProgressAlert (Context context, string title, string description, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Progress Indicator and displays it. More...
 
static ACAlert ShowProgressAlert (Context context, int icon, string title, string description, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Progress Indicator and displays it. More...
 
static ACAlert ShowProgressAlert (Context context, ACAlertLocation location, string title, string description, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Progress Indicator and displays it. More...
 
static ACAlert ShowProgressAlert (Context context, string title, string description, string buttonTitles, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Progress Indicator and displays it along with custom ActionComponents.ACAlertButtons for each button title provided More...
 
static ACAlert ShowProgressAlert (Context context, int icon, string title, string description, string buttonTitles, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Progress Indicator and displays it along with custom ActionComponents.ACAlertButtons for each button title provided More...
 
static ACAlert ShowProgressAlertCancel (Context context, string title, string description, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Progress Indicator, Cancel button and displays it. If the user presses the cancel button the alert will automatically close. More...
 
static ACAlert ShowProgressAlertCancel (Context context, int icon, string title, string description, bool modal)
 Creates a new ActionComponents.ACAlert with an embedded Progress Indicator, Cancel button and displays it. If the user presses the cancel button the alert will automatically close. 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.ACAlert More...
 
ACAlertOverlay Overlay [get]
 Gets the overlay used to black out the screen for a modal ActionComponents.ACAlert More...
 
RelativeLayout subview [get]
 Gets the subview attached to this ActionComponents.ACAlert More...
 
ACAlertType type [get]
 Gets the type of this ActionComponents.ACAlert More...
 
ProgressBar activityIndicator [get]
 Returns the embedded Activity Indicator for ActivityAlert types of ActionComponents.ACAlerts More...
 
ProgressBar progressView [get]
 Returns the embedded Progress Indicator for ProgressAlert types of ActionComponents.ACAlerts More...
 
bool hidden [get]
 Gets a value indicating whether this ActionComponents.ACAlert is hidden. More...
 
int icon [get, set]
 Gets or sets the icon displayed on this ActionComponents.ACAlert More...
 
bool modal [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACAlert is modal. More...
 
ACAlertLocation location [get]
 Gets the location of this ActionComponents.ACAlert More...
 
ACAlertAppearance appearance [get, set]
 Gets or sets the appearance of this ActionComponents.ACAlert More...
 
ACAlertButtonAppearance buttonAppearance [get, set]
 Gets or sets the default ActionComponents.ACAlertButtonAppearance More...
 
ACAlertButtonAppearance buttonAppearanceDisabled [get, set]
 Gets or sets the default disabled ActionComponents.ACAlertButtonAppearance More...
 
ACAlertButtonAppearance buttonAppearanceTouched [get, set]
 Gets or sets the touched button ActionComponents.ACAlertButtonAppearance More...
 
ACAlertButtonAppearance buttonAppearanceHighlighted [get, set]
 Gets or sets the default highlighted ActionComponents.ACAlertButtonAppearance More...
 
string title [get, set]
 Gets or sets the title of this ActionComponents.ACAlert More...
 
string description [get, set]
 Gets or sets the description of this ActionComponents.ACAlert More...
 
int Count [get]
 Gets the number of ActionComponents.ACAlertButtons in this ActionComponents.ACAlert More...
 
ACAlertButton this[int index] [get, set]
 Gets or sets the ActionComponents.ACAlertButton at the specified index. More...
 
bool draggable [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACAlert is draggable. More...
 
bool dragging [get]
 Gets a value indicating whether this ActionComponents.ACAlert is being dragged by the user. More...
 
bool bringToFrontOnTouched [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACAlert is automatically brought to the front when touched. More...
 
ACAlertDragConstraint xConstraint [get, set]
 Gets or sets the ActionComponents.ACAlertDragConstraint applied to the x axis of this ActionComponents.ACAlert More...
 
ACAlertDragConstraint yConstraint [get, set]
 Gets or sets the ActionComponents.ACAlertDragConstraint applied to the y axis of this ActionComponents.ACAlert 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

ACAlertTouchedDelegate Touched
 
ACAlertMovedDelegate Moved
 
ACAlertReleasedDelegate Released
 
ACAlertButtonTouched ButtonTouched
 
ACAlertButtonReleased ButtonReleased
 
ACAlertOverlayTouched OverlayTouched
 

Detailed Description

The ActionComponents.ACAlert is a custom RelativeLayout with built-in helper routines to automatically handle user interaction such as dragging (with optional constraints on the x and y axis), events such as Touched, Moved and Released and moving, and resizing. The ActionComponents.ACAlert includes a Purge method to release the memory being held by it's subviews and layouts.

NOTICE: The ActionComponents.ACAlert works best if hosted inside of a RelativeLayout. Available in ActionPack Business or Enterprise only.

Constructor & Destructor Documentation

ActionComponents.ACAlert.ACAlert ( Context  context)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.

Here is the caller graph for this function:

ActionComponents.ACAlert.ACAlert ( Context  context,
IAttributeSet  attr 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
attrAttr.
ActionComponents.ACAlert.ACAlert ( IntPtr  javaReference,
JniHandleOwnership  transfer 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
javaReferenceJava reference.
transferTransfer.
ActionComponents.ACAlert.ACAlert ( Context  context,
IAttributeSet  attr,
int  defStyle 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
attrAttr.
defStyleDef style.
ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
string  title,
string  description 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
typeType.
locationLocation.
titleTitle.
descriptionDescription.
ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
string  title,
RelativeLayout  subview 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
typeType.
locationLocation.
titleTitle.
subviewSubview.
ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
int  icon,
string  title,
string  description 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
typeType.
locationLocation.
iconIcon.
titleTitle.
descriptionDescription.
ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
int  icon,
string  title,
RelativeLayout  subview 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
typeType.
locationLocation.
iconIcon.
titleTitle.
subviewSubview.
ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
string  title,
string  description,
string[]  buttonTitles 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
typeType.
locationLocation.
titleTitle.
descriptionDescription.
buttonTitlesButton titles.

Here is the call graph for this function:

ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
string  title,
RelativeLayout  subview,
string[]  buttonTitles 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
typeType.
locationLocation.
titleTitle.
subviewSubview.
buttonTitlesButton titles.

Here is the call graph for this function:

ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
int  icon,
string  title,
string  description,
string[]  buttonTitles 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
typeType.
locationLocation.
iconIcon.
titleTitle.
descriptionDescription.
buttonTitlesButton titles.

Here is the call graph for this function:

ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
int  icon,
string  title,
RelativeLayout  subview,
string[]  buttonTitles 
)

Here is the call graph for this function:

ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
string  title,
string  description,
string  buttonTitles 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
typeType.
locationLocation.
titleTitle.
descriptionDescription.
buttonTitlesA comma seperated Button titles.

Here is the call graph for this function:

ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
string  title,
RelativeLayout  subview,
string  buttonTitles 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
typeType.
locationLocation.
titleTitle.
subviewSubview.
buttonTitlesButton titles.

Here is the call graph for this function:

ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
int  icon,
string  title,
string  description,
string  buttonTitles 
)

Initializes a new instance of the ActionComponents.ACAlert class.

Parameters
contextContext.
typeType.
locationLocation.
iconIcon.
titleTitle.
descriptionDescription.
buttonTitlesButton titles.

Here is the call graph for this function:

ActionComponents.ACAlert.ACAlert ( Context  context,
ACAlertType  type,
ACAlertLocation  location,
int  icon,
string  title,
RelativeLayout  subview,
string  buttonTitles 
)

Here is the call graph for this function:

Member Function Documentation

delegate void ActionComponents.ACAlert.ACAlertButtonReleased ( ACAlertButton  button)
delegate void ActionComponents.ACAlert.ACAlertButtonTouched ( ACAlertButton  button)
delegate void ActionComponents.ACAlert.ACAlertMovedDelegate ( ACAlert  view)

Occurs when this ActionComponents.ACAlert is moved

delegate void ActionComponents.ACAlert.ACAlertOverlayTouched ( )
delegate void ActionComponents.ACAlert.ACAlertReleasedDelegate ( ACAlert  view)

Occurs when this ActionComponents.ACAlert is released

delegate void ActionComponents.ACAlert.ACAlertTouchedDelegate ( ACAlert  view)

Occurs when this ActionComponents.ACAlert is touched

Here is the caller graph for this function:

ACAlertButton ActionComponents.ACAlert.AddButton ( string  title,
bool  highlighted 
)

Adds a new ActionComponents.ACAlertButton to this ActionComponents.ACAlert

Returns
The new ActionComponents.ACAlertButton
Parameters
titleTitle.
highlightedIf set to true highlighted.
ACAlertButton ActionComponents.ACAlert.AddButton ( ACAlertButtonAppearance  appearance,
ACAlertButtonAppearance  appearanceDisabled,
ACAlertButtonAppearance  appearanceTouched,
ACAlertButtonAppearance  appearanceHighlighted,
string  title,
bool  highlighted 
)

Adds a new ActionComponents.ACAlertButton to this ActionComponents.ACAlert

Returns
The new ActionComponents.ACAlert
Parameters
appearanceAppearance.
appearanceTouchedAppearance touched.
appearanceHighlightedAppearance highlighted.
titleTitle.
highlightedIf set to true highlighted.
void ActionComponents.ACAlert.AddButtons ( string  buttonTitles)

Takes a comma seperated string of button titles, creates a new ActionComponents.ACAlertButton for each title and adds them to this ActionComponents.ACAlert

Parameters
buttonTitlesButton titles.

The last button added will automatically be highlighted

Here is the caller graph for this function:

void ActionComponents.ACAlert.AddButtons ( string[]  titles)

Takes an array of titles and adds a new ActionComponents.ACAlertButton to this ActionComponents.ACAlert for each title in the array

Parameters
titlesTitles.

The last button added will automatically be highlighted

void ActionComponents.ACAlert.Clear ( )

Removes all ActionComponents.ACAlertButtons from this ActionComponents.ACAlert

Here is the call graph for this function:

void ActionComponents.ACAlert.Flatten ( )

Flattens the ActionComponents.ACAlert and its ActionComponents.ACAlertButtons to match the new iOS 7 design language

Here is the call graph for this function:

void ActionComponents.ACAlert.Flatten ( Color  backgroundColor)

Flattens the ActionComponents.ACAlert and its ActionComponents.ACAlertButtons to match the new iOS 7 design language

Parameters
backgroundColorBackground color.

Here is the call graph for this function:

void ActionComponents.ACAlert.Flatten ( Color  backgroundColor,
Color  foregroundColor 
)

Flattens the ActionComponents.ACAlert and its ActionComponents.ACAlertButtons to match the new iOS 7 design language

Parameters
backgroundColorBackground color.
foregroundColorForeground color.

Here is the call graph for this function:

static int ActionComponents.ACAlert.GetViewBottomMargin ( View  view)
static

Decodes the LayoutParameters for the given View and returns the BottomMargin property

Returns
The view BottomMargin.
Parameters
viewView.
static int ActionComponents.ACAlert.GetViewHeight ( View  view)
static

Decodes the LayoutParameters for the given View and returns the Height property

Returns
The view height.
Parameters
viewView.
static int ActionComponents.ACAlert.GetViewLeftMargin ( View  view)
static

Decodes the LayoutParameters for the given View and returns the LeftMargin property

Returns
The view LeftMargin.
Parameters
viewView.
static int ActionComponents.ACAlert.GetViewRightMargin ( View  view)
static

Decodes the LayoutParameters for the given View and returns the RightMargin property

Returns
The view RightMargin.
Parameters
viewView.
static int ActionComponents.ACAlert.GetViewTopMargin ( View  view)
static

Decodes the LayoutParameters for the given View and returns the TopMargin property

Returns
The view TopMargin.
Parameters
viewView.
static int ActionComponents.ACAlert.GetViewWidth ( View  view)
static

Decodes the LayoutParameters for the given View and returns the Width property

Returns
The view Width.
Parameters
viewView.
void ActionComponents.ACAlert.Hide ( )

Removes this ActionComponents.ACAlert from the screen

Here is the call graph for this function:

Here is the caller graph for this function:

void ActionComponents.ACAlert.MoveToPoint ( int  x,
int  y 
)

Moves this ActionComponents.ACAlert to the given point and honors any ActionComponents.ACAlertDragConstraints applied to the X or Y axis

Parameters
xThe x coordinate.
yThe y coordinate.

Here is the caller graph for this function:

void ActionComponents.ACAlert.MoveToPoint ( Point  point)

Moves this ActionComponents.ACAlert to the given point and honors any ActionComponents.ACAlertDragConstraints applied to the X or Y axis

Parameters
ptPoint.
override void ActionComponents.ACAlert.OnDraw ( Canvas  canvas)
protected

Raises the draw event.

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

Raises the touch event event.

Parameters
eE.

Here is the call graph for this function:

bool ActionComponents.ACAlert.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.ACAlert.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.ACAlert.Redraw ( )

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

Here is the call graph for this function:

Here is the caller graph for this function:

void ActionComponents.ACAlert.RemoveButtonAt ( int  index)

Removes the ActionComponents.ACAlertButton at the given index from this ActionComponents.ACAlert

Parameters
indexIndex.
void ActionComponents.ACAlert.RemoveFromSuperview ( )

Removes this view from its parent view

Here is the caller graph for this function:

void ActionComponents.ACAlert.Resize ( int  width,
int  height 
)

Resize this ActionComponents.ACAlert to the specified width and height.

Parameters
widthWidth.
heightHeight.
static void ActionComponents.ACAlert.SetViewBottomMargin ( View  view,
int  BottomMargin 
)
static

Decodes the LayoutParameters for the given View and sets the BottomMargin property

Parameters
viewView.
heightBottomMargin.
static void ActionComponents.ACAlert.SetViewHeight ( View  view,
int  height 
)
static

Decodes the LayoutParameters for the given View and sets the Height property

Parameters
viewView.
heightHeight.
static void ActionComponents.ACAlert.SetViewLeftMargin ( View  view,
int  LeftMargin 
)
static

Decodes the LayoutParameters for the given View and sets the LeftMargin property

Parameters
viewView.
heightLeftMargin.
static void ActionComponents.ACAlert.SetViewRightMargin ( View  view,
int  RightMargin 
)
static

Decodes the LayoutParameters for the given View and sets the RightMargin property

Parameters
viewView.
heightRightMargin.
static void ActionComponents.ACAlert.SetViewTopMargin ( View  view,
int  TopMargin 
)
static

Decodes the LayoutParameters for the given View and sets the TopMargin property

Parameters
viewView.
heightTopMargin.
static void ActionComponents.ACAlert.SetViewWidth ( View  view,
int  Width 
)
static

Decodes the LayoutParameters for the given View and sets the Width property

Parameters
viewView.
heightWidth.
void ActionComponents.ACAlert.Show ( )

Show this ActionComponents.ACAlert

Here is the caller graph for this function:

static ACAlert ActionComponents.ACAlert.ShowActivityAlert ( Context  context,
string  title,
string  description,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Activity Indicator and displays it.

Returns
The activity alert.
Parameters
contextContext.
titleTitle.
descriptionDescription.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowActivityAlert ( Context  context,
ACAlertLocation  location,
string  title,
string  description,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Activity Indicator and displays it.

Returns
The activity alert.
Parameters
contextContext.
locationLocation.
titleTitle.
descriptionDescription.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowActivityAlertCancel ( Context  context,
string  title,
string  description,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Activity Indicator, a Cancel button and displays it. The alert will automatically close if the cancel button is tapped.

Returns
The activity alert cancel.
Parameters
contextContext.
titleTitle.
descriptionDescription.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowActivityAlertCancel ( Context  context,
ACAlertLocation  location,
string  title,
string  description,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Activity Indicator, a Cancel button and displays it. The alert will automatically close if the cancel button is tapped.

Returns
The activity alert cancel.
Parameters
contextContext.
locationLocation.
titleTitle.
descriptionDescription.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowActivityAlertMedium ( Context  context,
string  title,
bool  modal 
)
static

Creates a new medium sized ActionComponents.ACAlert with an embedded Activity Indicator and displays it.

Returns
The activity alert medium.
Parameters
contextContext.
titleTitle.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowActivityAlertMediumCancel ( Context  context,
string  title,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Activity Indicator, a Cancel button and displays it. The alert will automatically close if the cancel button is tapped.

Returns
The activity alert medium cancel.
Parameters
contextContext.
titleTitle.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowAlert ( Context  context,
string  title,
string  description 
)
static

Creates a new ActionComponents.ACAlert and displays it. If the user taps the alert, it will automatically close.

Returns
The alert.
Parameters
contextContext.
titleTitle.
descriptionDescription.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowAlert ( Context  context,
string  title,
string  description,
string  buttonTitles 
)
static

Creates a new ActionComponents.ACAlert with the given buttons and displays it.

Returns
The alert.
Parameters
contextContext.
titleTitle.
descriptionDescription.
buttonTitlesButton titles.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowAlert ( Context  context,
int  icon,
string  title,
string  description,
string  buttonTitles 
)
static

Creates a new ActionComponents.ACAlert with the given buttons and displays it.

Returns
The alert.
Parameters
contextContext.
iconIcon.
titleTitle.
descriptionDescription.
buttonTitlesButton titles.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowAlert ( Context  context,
ACAlertLocation  location,
string  title,
string  description 
)
static

Creates a new ActionComponents.ACAlert and displays it at the given location. If the user taps the alert, it will automatically close.

Returns
The alert.
Parameters
contextContext.
locationLocation.
titleTitle.
descriptionDescription.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowAlert ( Context  context,
int  icon,
string  title,
string  description 
)
static

Creates a new ActionComponents.ACAlert and displays it. If the user taps the alert, it will automatically close.

Returns
The alert.
Parameters
contextContext.
iconIcon.
titleTitle.
descriptionDescription.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowAlert ( Context  context,
ACAlertLocation  location,
int  icon,
string  title,
string  description 
)
static

Creates a new ActionComponents.ACAlert and displays it at the given location. If the user taps the alert, it will automatically close.

Returns
The alert.
Parameters
contextContext.
locationLocation.
iconIcon.
titleTitle.
descriptionDescription.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowAlertOK ( Context  context,
string  title,
string  description 
)
static

Creates a new ActionComponents.ACAlert with an OK button and displays it. If the user taps the OK button, the alert will automatically close.

Returns
The alert
Parameters
contextContext.
titleTitle.
descriptionDescription.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowAlertOK ( Context  context,
int  icon,
string  title,
string  description 
)
static

Creates a new ActionComponents.ACAlert with an OK button and displays it. If the user taps the OK button, the alert will automatically close.

Returns
The alert
Parameters
contextContext.
iconIcon.
titleTitle.
descriptionDescription.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowAlertOKCancel ( Context  context,
string  title,
string  description 
)
static

Creates a new ActionComponents.ACAlert with an OK/Cancel buttons and displays it. If the user taps the OK button, the alert will automatically close.

Returns
The alert OK cancel.
Parameters
contextContext.
titleTitle.
descriptionDescription.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowAlertOKCancel ( Context  context,
int  icon,
string  title,
string  description 
)
static

Creates a new ActionComponents.ACAlert with an OK/Cancel buttons and displays it. If the user taps the OK button, the alert will automatically close.

Returns
The alert OK cancel.
Parameters
contextContext.
iconIcon.
titleTitle.
descriptionDescription.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowProgressAlert ( Context  context,
string  title,
string  description,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Progress Indicator and displays it.

Returns
The progress alert.
Parameters
contextContext.
titleTitle.
descriptionDescription.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowProgressAlert ( Context  context,
int  icon,
string  title,
string  description,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Progress Indicator and displays it.

Returns
The progress alert.
Parameters
contextContext.
iconIcon.
titleTitle.
descriptionDescription.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowProgressAlert ( Context  context,
ACAlertLocation  location,
string  title,
string  description,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Progress Indicator and displays it.

Returns
The progress alert.
Parameters
contextContext.
locationLocation.
titleTitle.
descriptionDescription.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowProgressAlert ( Context  context,
string  title,
string  description,
string  buttonTitles,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Progress Indicator and displays it along with custom ActionComponents.ACAlertButtons for each button title provided

Returns
The progress alert.
Parameters
contextContext.
titleTitle.
descriptionDescription.
buttonTitlesA comma seperated list of Button titles.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowProgressAlert ( Context  context,
int  icon,
string  title,
string  description,
string  buttonTitles,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Progress Indicator and displays it along with custom ActionComponents.ACAlertButtons for each button title provided

Returns
The progress alert.
Parameters
contextContext.
iconIcon.
titleTitle.
descriptionDescription.
buttonTitlesA comma seperated list of Button titles.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowProgressAlertCancel ( Context  context,
string  title,
string  description,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Progress Indicator, Cancel button and displays it. If the user presses the cancel button the alert will automatically close.

Returns
The progress alert cancel.
Parameters
contextContext.
titleTitle.
descriptionDescription.
modalIf set to true modal.

Here is the call graph for this function:

static ACAlert ActionComponents.ACAlert.ShowProgressAlertCancel ( Context  context,
int  icon,
string  title,
string  description,
bool  modal 
)
static

Creates a new ActionComponents.ACAlert with an embedded Progress Indicator, Cancel button and displays it. If the user presses the cancel button the alert will automatically close.

Returns
The progress alert cancel.
Parameters
contextContext.
iconIcon.
titleTitle.
descriptionDescription.
modalIf set to true modal.

Here is the call graph for this function:

Property Documentation

ProgressBar ActionComponents.ACAlert.activityIndicator
get

Returns the embedded Activity Indicator for ActivityAlert types of ActionComponents.ACAlerts

The activity indicator.

ACAlertAppearance ActionComponents.ACAlert.appearance
getset

Gets or sets the appearance of this ActionComponents.ACAlert

The appearance.

int ActionComponents.ACAlert.BottomMargin
getset

Gets or sets the bottom margin.

The bottom margin.

bool ActionComponents.ACAlert.bringToFrontOnTouched
getset

Gets or sets a value indicating whether this ActionComponents.ACAlert is automatically brought to the front when touched.

true if bring to front on touched; otherwise, false.

ACAlertButtonAppearance ActionComponents.ACAlert.buttonAppearance
getset

Gets or sets the default ActionComponents.ACAlertButtonAppearance

The button appearance.

ACAlertButtonAppearance ActionComponents.ACAlert.buttonAppearanceDisabled
getset

Gets or sets the default disabled ActionComponents.ACAlertButtonAppearance

The button appearance disabled.

ACAlertButtonAppearance ActionComponents.ACAlert.buttonAppearanceHighlighted
getset

Gets or sets the default highlighted ActionComponents.ACAlertButtonAppearance

The button appearance highlighted.

ACAlertButtonAppearance ActionComponents.ACAlert.buttonAppearanceTouched
getset

Gets or sets the touched button ActionComponents.ACAlertButtonAppearance

The button appearance touched.

int ActionComponents.ACAlert.Count
get

Gets the number of ActionComponents.ACAlertButtons in this ActionComponents.ACAlert

The count.

string ActionComponents.ACAlert.description
getset

Gets or sets the description of this ActionComponents.ACAlert

The description.

bool ActionComponents.ACAlert.draggable
getset

Gets or sets a value indicating whether this ActionComponents.ACAlert is draggable.

true if is draggable; otherwise, false.

bool ActionComponents.ACAlert.dragging
get

Gets a value indicating whether this ActionComponents.ACAlert is being dragged by the user.

true if dragging; otherwise, false.

bool ActionComponents.ACAlert.hidden
get

Gets a value indicating whether this ActionComponents.ACAlert is hidden.

true if hidden; otherwise, false.

int ActionComponents.ACAlert.icon
getset

Gets or sets the icon displayed on this ActionComponents.ACAlert

The icon.

A value of negative one (-1) is used to indicate no icon present.

int ActionComponents.ACAlert.LayoutHeight
getset

Gets or sets the height of the layout.

The height of the layout.

int ActionComponents.ACAlert.LayoutWidth
getset

Gets or sets the width of the layout.

The width of the layout.

int ActionComponents.ACAlert.LeftMargin
getset

Gets or sets the left margin.

The left margin.

ACAlertLocation ActionComponents.ACAlert.location
get

Gets the location of this ActionComponents.ACAlert

The location.

bool ActionComponents.ACAlert.modal
getset

Gets or sets a value indicating whether this ActionComponents.ACAlert is modal.

true if modal; otherwise, false.

ACAlertOverlay ActionComponents.ACAlert.Overlay
get

Gets the overlay used to black out the screen for a modal ActionComponents.ACAlert

The overlay.

ProgressBar ActionComponents.ACAlert.progressView
get

Returns the embedded Progress Indicator for ProgressAlert types of ActionComponents.ACAlerts

The progress view.

int ActionComponents.ACAlert.RightMargin
getset

Gets or sets the right margin.

The right margin.

RelativeLayout ActionComponents.ACAlert.subview
get

Gets the subview attached to this ActionComponents.ACAlert

The subview.

Object ActionComponents.ACAlert.tag
getset

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

The tag.

ACAlertButton ActionComponents.ACAlert.this[int index]
getset

Gets or sets the ActionComponents.ACAlertButton at the specified index.

Parameters
indexIndex.
string ActionComponents.ACAlert.title
getset

Gets or sets the title of this ActionComponents.ACAlert

The title.

int ActionComponents.ACAlert.TopMargin
getset

Gets or sets the top margin.

The top margin.

ACAlertType ActionComponents.ACAlert.type
get

Gets the type of this ActionComponents.ACAlert

The type.

ACAlertDragConstraint ActionComponents.ACAlert.xConstraint
getset

Gets or sets the ActionComponents.ACAlertDragConstraint applied to the x axis of this ActionComponents.ACAlert

The x constraint.

ACAlertDragConstraint ActionComponents.ACAlert.yConstraint
getset

Gets or sets the ActionComponents.ACAlertDragConstraint applied to the y axis of this ActionComponents.ACAlert

The y constraint.

Event Documentation

ACAlertButtonReleased ActionComponents.ACAlert.ButtonReleased
ACAlertButtonTouched ActionComponents.ACAlert.ButtonTouched
ACAlertMovedDelegate ActionComponents.ACAlert.Moved
ACAlertOverlayTouched ActionComponents.ACAlert.OverlayTouched
ACAlertReleasedDelegate ActionComponents.ACAlert.Released
ACAlertTouchedDelegate ActionComponents.ACAlert.Touched