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

Controls the appearance of a ActionComponents.ACTray with properties such as background color, border color, and shadow color. More...

Public Member Functions

 ACTrayAppearance ()
 Initializes a new instance of the ActionComponents.ACTrayAppearance class and sets the default appearance for the control More...
 
 ACTrayAppearance (Color background, Color border, Color shadow)
 Initializes a new instance of the ActionComponents.ACTrayAppearance class with the specified user defined appearance properties More...
 
void Flatten ()
 Flattens the ActionComponents.ACTrayAppearance to match the new iOS 7 design language More...
 
void Flatten (Color backgroundColor)
 Flattens the ActionComponents.ACTrayAppearance to match the new iOS 7 design language More...
 
void Flatten (Color backgroundColor, Color foregroundColor)
 Flattens the ActionComponents.ACTrayAppearance 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...
 
Color shadow [get, set]
 Gets or sets the shadow color More...
 
Color frame [get, set]
 Gets or sets the frame color More...
 
Color thumbBackground [get, set]
 Gets or sets the thumb background. More...
 
Color thumbBorder [get, set]
 Gets or sets the thumb border. More...
 
Color gripBackground [get, set]
 Gets or sets the grip background. More...
 
Color gripBorder [get, set]
 Gets or sets the grip border. More...
 
int thumbAlpha [get, set]
 Gets or sets the thumb blend mode. More...
 
int tabAlpha [get, set]
 Gets or sets the tab alpha. 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...
 
bool flat [get, set]
 Gets or sets a value indicating whether this ActionComponents.ACTrayAppearance is flat. More...
 

Detailed Description

Controls the appearance of a ActionComponents.ACTray with properties such as background color, border color, and shadow color.

The ActionComponents.ACTrayAppearance also controls the appearance of the ActionComponents.ACTray's dragTab.

Constructor & Destructor Documentation

ActionComponents.ACTrayAppearance.ACTrayAppearance ( )

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

ActionComponents.ACTrayAppearance.ACTrayAppearance ( Color  background,
Color  border,
Color  shadow 
)

Initializes a new instance of the ActionComponents.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.ACTrayAppearance.Flatten ( )

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

void ActionComponents.ACTrayAppearance.Flatten ( Color  backgroundColor)

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

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

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

Parameters
backgroundColorBackground color.
foregroundColorForeground color.

Property Documentation

Color ActionComponents.ACTrayAppearance.background
getset

Gets or sets the background color

The background color

Color ActionComponents.ACTrayAppearance.border
getset

Gets or sets the border color

The border color

bool ActionComponents.ACTrayAppearance.flat
getset

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

true if flat; otherwise, false.

This value was added to support the iOS 7 design language

Color ActionComponents.ACTrayAppearance.frame
getset

Gets or sets the frame color

The frame color

Color ActionComponents.ACTrayAppearance.gripBackground
getset

Gets or sets the grip background.

The grip background.

Color ActionComponents.ACTrayAppearance.gripBorder
getset

Gets or sets the grip border.

The grip border.

Color ActionComponents.ACTrayAppearance.shadow
getset

Gets or sets the shadow color

The shadow color

int ActionComponents.ACTrayAppearance.tabAlpha
getset

Gets or sets the tab alpha.

The tab alpha.

int ActionComponents.ACTrayAppearance.thumbAlpha
getset

Gets or sets the thumb blend mode.

The thumb blend mode.

Color ActionComponents.ACTrayAppearance.thumbBackground
getset

Gets or sets the thumb background.

The thumb background.

Color ActionComponents.ACTrayAppearance.thumbBorder
getset

Gets or sets the thumb border.

The thumb border.

Color ActionComponents.ACTrayAppearance.titleColor
getset

Gets or sets the color of the title.

The color of the title.

float ActionComponents.ACTrayAppearance.titleSize
getset

Gets or sets the size of the title.

The size of the title.