The ActionComponents.ACTray is a dockable, customizable, slide-out View
controller with a dragTab
that can be attached to the edge of any parent View
. The ActionComponents.ACTray handles sliding the attached View
based on the ActionComponents.ACTrayType.
More...
|
override void | OnDraw (Canvas canvas) |
| Raises the draw event. More...
|
|
|
bool | isClosed [get] |
| Gets a value indicating whether this ActionComponents.ACTray is closed. More...
|
|
bool | isOpened [get] |
| Gets a value indicating whether this ActionComponents.ACTray is opened. More...
|
|
bool | dragging [get] |
| Gets a value indicating whether this ActionComponents.ACTray is dragging. More...
|
|
int | amountVisible [get] |
| Gets the current amount of the ActionComponents.ACTray's ContentArea that is currently visible on screen More...
|
|
string | SaveState [get] |
| Returns a string containing the save state of this ActionComponents.ACTray More...
|
|
View | SuperView [get] |
| Gets the parent view for this ActionComponents.ACTray More...
|
|
RelativeLayout.LayoutParams | layoutParams [get] |
| Gets the layout parameters typecast to a RelativeLayout.LayoutParams format 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...
|
|
ACTrayOrientation | orientation [get, set] |
| Gets or sets the orientation of this ActionComponents.ACTray on the screen More...
|
|
ACTrayTabLocation | tabLocation [get, set] |
| Gets or sets the location of the dragTab> on this ActionComponents.ACTray More...
|
|
ACTrayTabType | tabType [get, set] |
| Gets or sets the type of the dragTab drawn on this ActionComponents.ACTray More...
|
|
ACTrayFrameType | frameType [get, set] |
| Gets or sets the type of the frame drawn around the edge of this ActionComponents.ACTray More...
|
|
int | tabOffset [get, set] |
| Gets or sets the tab offset for a Custom ActionComponents.ACTrayTabLocation More...
|
|
int | tabWidth [get, set] |
| Gets or sets the width of the dragTab for this ActionComponents.ACTray More...
|
|
int | icon [get, set] |
| Gets or sets the icon displayed on the dragTab of this ActionComponents.ACTray More...
|
|
string | title [get, set] |
| Gets or sets the title for the ActionComponents.ACTray's dragTab More...
|
|
ACTrayAppearance | appearance [get, set] |
| Controlls the general appearance of the control More...
|
|
ACTrayType | trayType [get, set] |
| Gets or sets the ActionComponents.ACTrayType of this ActionComponents.ACTray More...
|
|
CGSize | TraySize [get, set] |
| Gets or sets the size of the tray. More...
|
|
CGPoint | TrayLocation [get, set] |
| Gets or sets the tray location. More...
|
|
CGRect | TabArea [get] |
| Gets the tab area. More...
|
|
CGRect | ContentArea [get] |
| Gets the safe content area based on how the tray is oriented. More...
|
|
The ActionComponents.ACTray is a dockable, customizable, slide-out View
controller with a dragTab
that can be attached to the edge of any parent View
. The ActionComponents.ACTray handles sliding the attached View
based on the ActionComponents.ACTrayType.
The ActionComponents.ACTray can be styled by setting its ActionComponents.ACTrayAppearance and ActionComponents.ACTrayTabType properties. You can also control the position of the dragTab
by setting the tray's ActionComponents.ACTrayTabLocation, tabOffset
and tabWidth
properties.
WARNING! You MUST manually set the ActionComponents.ACTray's ActionComponents.ACTrayOrientation when the View
first loads or the tray will not display or behave correctly.
ActionComponents.ACTray.ACTray |
( |
Context |
context | ) |
|
ActionComponents.ACTray.ACTray |
( |
Context |
context, |
|
|
Display |
display |
|
) |
| |
ActionComponents.ACTray.ACTray |
( |
Context |
context, |
|
|
IAttributeSet |
attrs |
|
) |
| |
delegate void ActionComponents.ACTray.ACTrayClosedDelegate |
( |
ACTray |
tray | ) |
|
delegate void ActionComponents.ACTray.ACTrayMovedDelegate |
( |
ACTray |
tray | ) |
|
delegate void ActionComponents.ACTray.ACTrayOpenedDelegate |
( |
ACTray |
tray | ) |
|
delegate void ActionComponents.ACTray.ACTrayReleasedDelegate |
( |
ACTray |
tray | ) |
|
delegate void ActionComponents.ACTray.ACTrayTouchDelegate |
( |
ACTray |
tray | ) |
|
void ActionComponents.ACTray.CloseTray |
( |
bool |
animated | ) |
|
delegate void ActionComponents.ACTray.CustomDrawDragTabDelegate |
( |
ACTray |
tray, |
|
|
Canvas |
canvas, |
|
|
Rect |
rect |
|
) |
| |
Occurs when the ActionComponents.ACTrayTabType is set to CustomDrawn
and the dragTab
needs to be drawn
The passed rect
contains the boundary that the custom tab should be drawn against
void ActionComponents.ACTray.MoveTo |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
override void ActionComponents.ACTray.OnDraw |
( |
Canvas |
canvas | ) |
|
|
protected |
Raises the draw event.
- Parameters
-
override bool ActionComponents.ACTray.OnTouchEvent |
( |
MotionEvent |
e | ) |
|
Raises the touch event event.
- Parameters
-
void ActionComponents.ACTray.OpenTray |
( |
bool |
animated | ) |
|
void ActionComponents.ACTray.Redraw |
( |
| ) |
|
void ActionComponents.ACTray.RestoreState |
( |
string |
value | ) |
|
Restores the state of this ActionComponents.ACTray after a rotation or restart
- Parameters
-
The value MUST have been generate by the SaveState property of the ActionTray or an error could result
delegate void ActionComponents.ACTray.TrayLocationChangedDelegate |
( |
ACTray |
tray, |
|
|
CGPoint |
location |
|
) |
| |
Occurs when the tray's location has changed.
delegate void ActionComponents.ACTray.TraySizeChangedDelegate |
( |
ACTray |
tray, |
|
|
CGSize |
size |
|
) |
| |
Occurs when the size of the tray is changed.
bool ActionComponents.ACTray.bringToFrontOnTouch =false |
object ActionComponents.ACTray.tag |
[OPTIONAL] Tag to hold user information about this control
int ActionComponents.ACTray.amountVisible |
|
get |
Gets the current amount of the ActionComponents.ACTray's ContentArea
that is currently visible on screen
The amount of the ContentArea
that is currently visible
NOTE: This amount excludes the always visible DragTab
Controlls the general appearance of the control
int ActionComponents.ACTray.BottomMargin |
|
getset |
Gets or sets the bottom margin.
The bottom margin.
CGRect ActionComponents.ACTray.ContentArea |
|
get |
Gets the safe content area based on how the tray is oriented.
The safe content area that avoids the tab area.
bool ActionComponents.ACTray.dragging |
|
get |
int ActionComponents.ACTray.icon |
|
getset |
bool ActionComponents.ACTray.isClosed |
|
get |
bool ActionComponents.ACTray.isOpened |
|
get |
int ActionComponents.ACTray.LayoutHeight |
|
getset |
Gets or sets the height of the layout.
The height of the layout.
RelativeLayout.LayoutParams ActionComponents.ACTray.layoutParams |
|
get |
Gets the layout parameters typecast to a RelativeLayout.LayoutParams
format
The layout parameters.
int ActionComponents.ACTray.LayoutWidth |
|
getset |
Gets or sets the width of the layout.
The width of the layout.
int ActionComponents.ACTray.LeftMargin |
|
getset |
Gets or sets the left margin.
The left margin.
int ActionComponents.ACTray.RightMargin |
|
getset |
Gets or sets the right margin.
The right margin.
string ActionComponents.ACTray.SaveState |
|
get |
Returns a string containing the save state of this ActionComponents.ACTray
The current state of the ActionTray
Pass this value to the RestoreState
property of the ActionTray after a rotation or restart to return the tray to it's previous state
View ActionComponents.ACTray.SuperView |
|
get |
CGRect ActionComponents.ACTray.TabArea |
|
get |
Gets the tab area.
The tab area.
int ActionComponents.ACTray.tabOffset |
|
getset |
int ActionComponents.ACTray.tabWidth |
|
getset |
Gets or sets the width of the dragTab
for this ActionComponents.ACTray
The width of the tab.
The minimum width is 30 pixels.
string ActionComponents.ACTray.title |
|
getset |
int ActionComponents.ACTray.TopMargin |
|
getset |
Gets or sets the top margin.
The top margin.
CGPoint ActionComponents.ACTray.TrayLocation |
|
getset |
Gets or sets the tray location.
The tray location.
CGSize ActionComponents.ACTray.TraySize |
|
getset |
Gets or sets the size of the tray.
The size of the tray.
The developer is responsible for resizing and repositioning the contents of the trays.