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

Defines the customizable properties of an ACTile that control it's look and feel. More...

Public Member Functions

 ACTileAppearance ()
 Initializes a new instance of the Appracatappra.ActionComponents.ActionTray.ACTrayAppearance class and sets the default appearance for the control More...
 
 ACTileAppearance (ACColor background)
 Initializes a new instance of the ACTileAppearance class class and sets the default appearance for the control More...
 
 ACTileAppearance (ACColor background, ACColor border)
 Initializes a new instance of the ACTrayAppearance class with the specified user defined appearance properties More...
 
ACTileAppearance Clone ()
 Clone this instance. More...
 
void CalculateTextColorsForBackground ()
 Calculates the text colors for background. More...
 

Properties

bool autoSetTextColor [get, set]
 Gets or sets a value indicating whether this appearance auto sets text color based on the background color. More...
 
ACColor background [get, set]
 Gets or sets the background color More...
 
ACColor 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 ACTileAppearance round top left corner. More...
 
bool roundTopRightCorner [get, set]
 Gets or sets a value indicating whether this ACTileAppearance round top right corner. More...
 
bool roundBottomLeftCorner [get, set]
 Gets or sets a value indicating whether this ACTileAppearance round bottom left corner. More...
 
bool roundBottomRightCorner [get, set]
 Gets or sets a value indicating whether this ACTileAppearance round bottom rightt corner. More...
 
bool isRoundRect [get, set]
 Gets or sets a value indicating whether this ACTileAppearance is a perfect round rect. More...
 
bool isRect [get, set]
 Gets or sets a value indicating whether this ACTileAppearance is a perfect rect. More...
 
ACColor shadow [get, set]
 Gets or sets the shadow color More...
 
bool hasShadow [get, set]
 Gets or sets a value indicating whether this ACTileAppearance has shadow. More...
 
ACColor 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...
 
ACColor subtitleColor [get, set]
 Gets or sets the color of the subtitle. More...
 
float subtitleSize [get, set]
 Gets or sets the size of the subtitle. More...
 
ACColor titleBackground [get, set]
 Gets or sets the title background. More...
 
ACColor 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...
 

Detailed Description

Defines the customizable properties of an ACTile that control it's look and feel.

Constructor & Destructor Documentation

ActionComponents.ACTileAppearance.ACTileAppearance ( )

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

Here is the call graph for this function:

Here is the caller graph for this function:

ActionComponents.ACTileAppearance.ACTileAppearance ( ACColor  background)

Initializes a new instance of the ACTileAppearance class class and sets the default appearance for the control

Parameters
backgroundBackground.
ActionComponents.ACTileAppearance.ACTileAppearance ( ACColor  background,
ACColor  border 
)

Initializes a new instance of the 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

Here is the call graph for this function:

Member Function Documentation

void ActionComponents.ACTileAppearance.CalculateTextColorsForBackground ( )

Calculates the text colors for background.

Here is the call graph for this function:

ACTileAppearance ActionComponents.ACTileAppearance.Clone ( )

Clone this instance.

Here is the call graph for this function:

Here is the caller graph for this function:

Property Documentation

bool ActionComponents.ACTileAppearance.autoSetTextColor
getset

Gets or sets a value indicating whether this appearance auto sets text color based on the background color.

true if auto set text color; otherwise, false.

ACColor ActionComponents.ACTileAppearance.background
getset

Gets or sets the background color

The background color

ACColor ActionComponents.ACTileAppearance.border
getset

Gets or sets the border color

The border color

float ActionComponents.ACTileAppearance.borderRadius
getset

Gets or sets the border radius.

The border radius.

float ActionComponents.ACTileAppearance.borderWidth
getset

Gets or sets the width of the border.

The width of the border.

ACColor ActionComponents.ACTileAppearance.descriptionColor
getset

Gets or sets the color of the description.

The color of the description.

float ActionComponents.ACTileAppearance.descriptionSize
getset

Gets or sets the size of the description.

The size of the description.

bool ActionComponents.ACTileAppearance.hasShadow
getset

Gets or sets a value indicating whether this ACTileAppearance has shadow.

true if has shadow; otherwise, false.

bool ActionComponents.ACTileAppearance.isRect
getset

Gets or sets a value indicating whether this ACTileAppearance is a perfect rect.

true if is rect; otherwise, false.

bool ActionComponents.ACTileAppearance.isRoundRect
getset

Gets or sets a value indicating whether this ACTileAppearance is a perfect round rect.

true if is round rect; otherwise, false.

bool ActionComponents.ACTileAppearance.roundBottomLeftCorner
getset

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

true if round bottom left corner; otherwise, false.

bool ActionComponents.ACTileAppearance.roundBottomRightCorner
getset

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

true if round bottom rightt corner; otherwise, false.

bool ActionComponents.ACTileAppearance.roundTopLeftCorner
getset

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

true if round top left corner; otherwise, false.

bool ActionComponents.ACTileAppearance.roundTopRightCorner
getset

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

true if round top right corner; otherwise, false.

ACColor ActionComponents.ACTileAppearance.shadow
getset

Gets or sets the shadow color

The shadow color

ACColor ActionComponents.ACTileAppearance.subtitleColor
getset

Gets or sets the color of the subtitle.

The color of the subtitle.

float ActionComponents.ACTileAppearance.subtitleSize
getset

Gets or sets the size of the subtitle.

The size of the subtitle.

ACColor ActionComponents.ACTileAppearance.titleBackground
getset

Gets or sets the title background.

The title background.

ACColor ActionComponents.ACTileAppearance.titleColor
getset

Gets or sets the color of the title.

The color of the title.

float ActionComponents.ACTileAppearance.titleSize
getset

Gets or sets the size of the title.

The size of the title.