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

Public Member Functions

 ACAlertAppearance ()
 Initializes a new instance of the Appracatappra.ActionComponents.ActionTray.ACTrayAppearance class and sets the default appearance for the control More...
 
 ACAlertAppearance (Color background, Color border)
 Initializes a new instance of the Appracatappra.ActionComponents.ActionTray.ACTrayAppearance class with the specified user defined appearance properties More...
 
void MakeRectangular ()
 Makes the ActionComponents.ACAlert rectangular More...
 
void MakeRoundRectangle ()
 Makes the ActionComponents.ACAlert round rectangle. More...
 
void Flatten ()
 Flattens the ActionComponents.ACAlert to match the new iOS 7 design language More...
 
void Flatten (Color backgroundColor)
 Flattens the ActionComponents.ACAlert to match the new iOS 7 design language More...
 
void Flatten (Color backgroundColor, Color foregroundColor)
 Flattens the ActionComponents.ACAlert to match the new iOS 7 design language More...
 

Properties

Color background [get, set]
 Gets or sets the background color More...
 
Color border [get, set]
 Gets or sets the border color More...
 
float borderWidth [get, set]
 Gets or sets the width of the border. More...
 
float borderRadius [get, set]
 Gets or sets the border radius. More...
 
bool roundTopLeftCorner [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACAlertAppearance round top left corner. More...
 
bool roundTopRightCorner [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACAlertAppearance round top right corner. More...
 
bool roundBottomLeftCorner [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACAlertAppearance round bottom left corner. More...
 
bool roundBottomRightCorner [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACAlertAppearance round bottom rightt corner. More...
 
bool isRoundRect [get]
 Gets a value indicating whether this ActionComponents.ACAlertAppearance is a perfect round rect. More...
 
bool isRect [get]
 Gets a value indicating whether this ActionComponents.ACAlertAppearance is a perfect rect. More...
 
Color shadow [get, set]
 Gets or sets the shadow color More...
 
Color titleColor [get, set]
 Gets or sets the color of the title. More...
 
float titleSize [get, set]
 Gets or sets the size of the title. More...
 
Color descriptionColor [get, set]
 Gets or sets the color of the description. More...
 
float descriptionSize [get, set]
 Gets or sets the size of the description. More...
 
Color overlay [get, set]
 Gets or sets the overlay color More...
 
int overlayAlpha [get, set]
 Gets or sets the overlay alpha. More...
 
bool flat [get, set]
 Gets or sets a value indicating whether this Appracatappra.ActionComponents.ActionTray.ACTrayAppearance is flat. More...
 

Constructor & Destructor Documentation

ActionComponents.ACAlertAppearance.ACAlertAppearance ( )

Initializes a new instance of the Appracatappra.ActionComponents.ActionTray.ACTrayAppearance class and sets the default appearance for the control

ActionComponents.ACAlertAppearance.ACAlertAppearance ( Color  background,
Color  border 
)

Initializes a new instance of the Appracatappra.ActionComponents.ActionTray.ACTrayAppearance class with the specified user defined appearance properties

Parameters
backgroundThe control's background color
borderThe control's border color
shadowThe control's shadow color

Member Function Documentation

void ActionComponents.ACAlertAppearance.Flatten ( )

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

Here is the caller graph for this function:

void ActionComponents.ACAlertAppearance.Flatten ( Color  backgroundColor)

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

Parameters
backgroundColorBackground color.
void ActionComponents.ACAlertAppearance.Flatten ( Color  backgroundColor,
Color  foregroundColor 
)

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

Parameters
backgroundColorBackground color.
foregroundColorForeground color.
void ActionComponents.ACAlertAppearance.MakeRectangular ( )

Makes the ActionComponents.ACAlert rectangular

void ActionComponents.ACAlertAppearance.MakeRoundRectangle ( )

Makes the ActionComponents.ACAlert round rectangle.

Property Documentation

Color ActionComponents.ACAlertAppearance.background
getset

Gets or sets the background color

The background color

Color ActionComponents.ACAlertAppearance.border
getset

Gets or sets the border color

The border color

float ActionComponents.ACAlertAppearance.borderRadius
getset

Gets or sets the border radius.

The border radius.

float ActionComponents.ACAlertAppearance.borderWidth
getset

Gets or sets the width of the border.

The width of the border.

Color ActionComponents.ACAlertAppearance.descriptionColor
getset

Gets or sets the color of the description.

The color of the description.

float ActionComponents.ACAlertAppearance.descriptionSize
getset

Gets or sets the size of the description.

The size of the description.

bool ActionComponents.ACAlertAppearance.flat
getset

Gets or sets a value indicating whether this Appracatappra.ActionComponents.ActionTray.ACTrayAppearance is flat.

true if flat; otherwise, false.

This value was added to support the iOS 7 degisn language

bool ActionComponents.ACAlertAppearance.isRect
get

Gets a value indicating whether this ActionComponents.ACAlertAppearance is a perfect rect.

true if is rect; otherwise, false.

bool ActionComponents.ACAlertAppearance.isRoundRect
get

Gets a value indicating whether this ActionComponents.ACAlertAppearance is a perfect round rect.

true if is round rect; otherwise, false.

Color ActionComponents.ACAlertAppearance.overlay
getset

Gets or sets the overlay color

The overlay.

int ActionComponents.ACAlertAppearance.overlayAlpha
getset

Gets or sets the overlay alpha.

The overlay alpha.

bool ActionComponents.ACAlertAppearance.roundBottomLeftCorner
getset

Gets or sets a value indicating whether this ActionComponents.ACAlertAppearance round bottom left corner.

true if round bottom left corner; otherwise, false.

bool ActionComponents.ACAlertAppearance.roundBottomRightCorner
getset

Gets or sets a value indicating whether this ActionComponents.ACAlertAppearance round bottom rightt corner.

true if round bottom rightt corner; otherwise, false.

bool ActionComponents.ACAlertAppearance.roundTopLeftCorner
getset

Gets or sets a value indicating whether this ActionComponents.ACAlertAppearance round top left corner.

true if round top left corner; otherwise, false.

bool ActionComponents.ACAlertAppearance.roundTopRightCorner
getset

Gets or sets a value indicating whether this ActionComponents.ACAlertAppearance round top right corner.

true if round top right corner; otherwise, false.

Color ActionComponents.ACAlertAppearance.shadow
getset

Gets or sets the shadow color

The shadow color

Color ActionComponents.ACAlertAppearance.titleColor
getset

Gets or sets the color of the title.

The color of the title.

float ActionComponents.ACAlertAppearance.titleSize
getset

Gets or sets the size of the title.

The size of the title.