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

The ActionComponents.ACTrayManager controls a collection of ActionComponents.ACTrays and manages them like a set of palettes or menus. Only one ActionComponents.ACTray in the collection can be open at one time. The ActionComponents.ACTrayManager defines events that can be handled based on the user's interaction with any ActionComponents.ACTray in the group. More...

Public Member Functions

 ACTrayManager ()
 Initializes a new instance of the ActionComponents.ACTrayManager class. More...
 
void AddTray (ACTray tray)
 Adds the ActionComponents.ACTray to this ActionComponents.ACTrayManager's collection More...
 
ACTray Tray (int index)
 Returns the requested ActionComponents.ACTray at the given index from this ActionComponents.ACTrayManager's collection More...
 
void RemoveTray (int index)
 Removes the ActionComponents.ACTray at the given index from this ActionComponents.ACTrayManager's collection More...
 
void CloseAllTrays ()
 Closes all open ActionComponents.ACTray in this ActionComponents.ACTrayManager's collection More...
 
delegate void ACTrayTouchDelegate (ACTray tray)
 Occurs when this ActionComponents.ACTray is touched More...
 
delegate void ACTrayMovedDelegate (ACTray tray)
 Occurs when this ActionComponents.ACTray is moved More...
 
delegate void ACTrayReleasedDelegate (ACTray tray)
 Occurs when this ActionComponents.ACTray was Touched and released More...
 
delegate void ACTrayOpenedDelegate (ACTray tray)
 Occurs when any ActionComponents.ACTray in this ActionComponents.ACTrayManager's collection is opened fully by the user More...
 
delegate void ACTrayClosedDelegate (ACTray tray)
 Occurs when this ActionComponents.ACTray is completely closed by the user More...
 

Properties

int count [get]
 Returns the number of ActionComponents.ACTrays that this ActionComponents.ACTrayManager is controlling More...
 
List< ACTraytrays [get]
 Returns the collection of ActionComponents.ACTrays that this ActionComponents.ACTrayManager is controlling More...
 
float TabSpacer [get, set]
 Gets or sets the tab spacer. More...
 
ACTrayOrientation TrayOrientation [get, set]
 Gets or sets the tray orientation. More...
 
ACTrayTabLocation TabLocation [get, set]
 Gets or sets the tab location. More...
 

Events

ACTrayTouchDelegate TrayTouched
 
ACTrayMovedDelegate TrayMoved
 
ACTrayReleasedDelegate TrayReleased
 
ACTrayOpenedDelegate TrayOpened
 
ACTrayClosedDelegate TrayClosed
 

Detailed Description

The ActionComponents.ACTrayManager controls a collection of ActionComponents.ACTrays and manages them like a set of palettes or menus. Only one ActionComponents.ACTray in the collection can be open at one time. The ActionComponents.ACTrayManager defines events that can be handled based on the user's interaction with any ActionComponents.ACTray in the group.

The ActionComponents.ACTrayManager will automatically close any open ActionComponents.ACTray when another tray in the group is opened.

Constructor & Destructor Documentation

ActionComponents.ACTrayManager.ACTrayManager ( )

Initializes a new instance of the ActionComponents.ACTrayManager class.

Member Function Documentation

delegate void ActionComponents.ACTrayManager.ACTrayClosedDelegate ( ACTray  tray)

Occurs when this ActionComponents.ACTray is completely closed by the user

delegate void ActionComponents.ACTrayManager.ACTrayMovedDelegate ( ACTray  tray)

Occurs when this ActionComponents.ACTray is moved

delegate void ActionComponents.ACTrayManager.ACTrayOpenedDelegate ( ACTray  tray)

Occurs when any ActionComponents.ACTray in this ActionComponents.ACTrayManager's collection is opened fully by the user

delegate void ActionComponents.ACTrayManager.ACTrayReleasedDelegate ( ACTray  tray)

Occurs when this ActionComponents.ACTray was Touched and released

delegate void ActionComponents.ACTrayManager.ACTrayTouchDelegate ( ACTray  tray)

Occurs when this ActionComponents.ACTray is touched

Here is the caller graph for this function:

void ActionComponents.ACTrayManager.AddTray ( ACTray  tray)

Adds the ActionComponents.ACTray to this ActionComponents.ACTrayManager's collection

Parameters
trayThe ActionComponents.ACTray to add

Here is the call graph for this function:

void ActionComponents.ACTrayManager.CloseAllTrays ( )

Closes all open ActionComponents.ACTray in this ActionComponents.ACTrayManager's collection

Here is the call graph for this function:

void ActionComponents.ACTrayManager.RemoveTray ( int  index)

Removes the ActionComponents.ACTray at the given index from this ActionComponents.ACTrayManager's collection

Parameters
indexIndex.

This method is ignored if the index is out of range

ACTray ActionComponents.ACTrayManager.Tray ( int  index)

Returns the requested ActionComponents.ACTray at the given index from this ActionComponents.ACTrayManager's collection

Parameters
indexIndex.
Returns
The requested ActionComponents.ACTray or null if the index is out of range

Property Documentation

int ActionComponents.ACTrayManager.count
get

Returns the number of ActionComponents.ACTrays that this ActionComponents.ACTrayManager is controlling

The count.

ACTrayTabLocation ActionComponents.ACTrayManager.TabLocation
getset

Gets or sets the tab location.

The tab location.

float ActionComponents.ACTrayManager.TabSpacer
getset

Gets or sets the tab spacer.

The tab spacer.

ACTrayOrientation ActionComponents.ACTrayManager.TrayOrientation
getset

Gets or sets the tray orientation.

The tray orientation.

List<ACTray> ActionComponents.ACTrayManager.trays
get

Returns the collection of ActionComponents.ACTrays that this ActionComponents.ACTrayManager is controlling

The trays.

Event Documentation

ACTrayClosedDelegate ActionComponents.ACTrayManager.TrayClosed
ACTrayMovedDelegate ActionComponents.ACTrayManager.TrayMoved
ACTrayOpenedDelegate ActionComponents.ACTrayManager.TrayOpened
ACTrayReleasedDelegate ActionComponents.ACTrayManager.TrayReleased
ACTrayTouchDelegate ActionComponents.ACTrayManager.TrayTouched