![]() |
ActionComponents
04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
|
Maintains a collection of ACTile
objects that are contained within a ACTileController
. The ACTileGroup
handles the creation and layout of the ACTile
objects and can controll a collection of different sized and shaped tiles.
More...
Public Member Functions | |
IEnumerator | GetEnumerator () |
bool | MoveNext () |
void | Reset () |
void | Redraw () |
Forces this ACTileGroup to fully redraw itself More... | |
void | AddStyleChangeToAllTiles () |
Adds the style changer ACTileLiveUpdate action to every ACTile in this ACTileGroup More... | |
ACTile | AddTile (ACTileStyle style, ACTileSize tileSize, string title, string subtitle, string description, UIImage icon) |
Adds a new ACTile to this ACTileGroup . More... | |
ACTile | AddTile (ACTileStyle style, ACTileSize tileSize, string title, string subtitle, string description, Android.Content.Res.Resources resources, int resourceID) |
Adds a new ACTile to this ACTileGroup . More... | |
ACTile | AddCustomSizedTile (int rows, int cols, ACTileStyle style, string title, string subtitle, string description, UIImage icon) |
Adds a new ACTile to this ACTileGroup . More... | |
ACTile | AddCustomSizedTile (int rows, int cols, ACTileStyle style, string title, string subtitle, string description, Android.Content.Res.Resources resources, int resourceID) |
Adds a new ACTile to this ACTileGroup . More... | |
void | AddTile (ACTile tile) |
Adds the tile to the group's collection of tiles. More... | |
void | RemoveTileAt (int index) |
Removes the ACTile at index. More... | |
void | ClearTiles () |
Removes all ACTile from this ACTile More... | |
void | ChromaKeyTiles (ACColor background, int minimum, int maximum) |
Changes the background color of every ACTile in this ACTileGroup by creating a random brightness off the given base ACColor within the given minimum and maximum ranges More... | |
void | SetTileColor (ACColor color) |
Sets the color of the tiles in the group. More... | |
override void | Draw (CGRect rect) |
Draw the specified rect. More... | |
override void | TouchesBegan (NSSet touches, UIEvent evt) |
Sent when one or more fingers touches the screen. More... | |
override void | TouchesMoved (NSSet touches, UIEvent evt) |
Sent when the ACTile is being dragged More... | |
override void | TouchesEnded (NSSet touches, UIEvent evt) |
Send when one or more fingers are lifted from the screen. More... | |
delegate void | ACTileGroupTouchedDelegate (ACTileGroup view) |
Occurs when this ACTileGroup is touched More... | |
delegate void | ACTileGroupMovedDelegate (ACTileGroup view) |
Occurs when this ACTileGroup is moved More... | |
delegate void | ACTileGroupReleasedDelegate (ACTileGroup view) |
Occurs when this ACTileGroup is released More... | |
delegate void | ACTileGroupLiveUpdatingDelegate (ACTileGroup group) |
Occurs when live updating has been kicked off by the ACTileController More... | |
delegate void | ACTileGroupTileTouchedDelegate (ACTileGroup group, ACTile tile) |
Occurs when a tile is touched in this group. More... | |
![]() | |
UIView () | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
UIView (CGRect rect) | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
UIView (Context context) | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
UIView (Context context, IAttributeSet attr) | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
UIView (IntPtr javaReference, JniHandleOwnership transfer) | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
UIView (Context context, IAttributeSet attr, int defStyle) | |
Initializes a new instance of the T:UIKit.UIView class. More... | |
void | SetNeedsDisplay () |
Sets the needs display flag. More... | |
void | SetNeedsLayout () |
Sets the needs layout. More... | |
virtual void | LayoutSubviews () |
Lays out any sub view in the control. More... | |
virtual void | AddSubview (UIView view) |
Adds the subview. More... | |
void | InvokeOnMainThread (Action action) |
Invokes the given action on the main UI thread. More... | |
override bool | OnTouchEvent (MotionEvent e) |
Handle the touch event. More... | |
Properties | |
Object | tag [get, set] |
Gets or sets the [OPTIONAL] tag that can be assosciated with this ACTileGroup More... | |
ACTileAppearance | defaultTileAppearance [get, set] |
Gets or sets the default ACTileAppearance More... | |
ACTileLiveUpdate | liveUpdateAction [get, set] |
Gets or sets the ACTileLiveUpdate action that will be performed via an automatic update kicked off by the liveUpdateTimer in the parent ACTileController More... | |
ACTileGroupType | groupType [get] |
Gets the ACTileGroupType of this ACTileGroup . More... | |
bool | shrinkTilesToFit [get, set] |
Gets or sets a value indicating whether this ACTileGroup will automatically shrink ActionTiles that are larger than a single cell by resizing them to a single cell to fit in their current location. More... | |
bool | autoFitTiles [get, set] |
Gets or sets a value indicating whether this ACTileGroup will auto fit tiles into the first available space regardless of the actual tile order. More... | |
ACTileController | controller [get] |
Gets the ACTileController that this ACTileGroup belongs to More... | |
ACTileGroupAppearance | appearance [get, set] |
Gets or sets the ACTileGroupAppearance for this ACTileGroup More... | |
string | title [get, set] |
Gets or sets the title for this ACTileGroup More... | |
string | footer [get, set] |
Gets or sets the footer for this ACTileGroup More... | |
ACTile | this[int index] [get, set] |
Gets or sets the ACTile at the specified index. More... | |
int | Count [get] |
Gets the number of ACTile s contained in this ACTileGroup More... | |
bool | Enabled [get, set] |
Gets or sets a value indicating whether this ACTile is enabled. More... | |
object | Current [get] |
![]() | |
CGRect | Frame [get, set] |
Gets or sets the frame. More... | |
CGRect | Bounds [get, set] |
Gets or sets the bounds. More... | |
Canvas | DrawCanvas [get, set] |
Gets or sets the draw canvas. More... | |
ACColor | BackgroundColor = null [get, set] |
Gets or sets the color of the background. More... | |
bool | UserInteractionEnabled [get, set] |
Gets or sets a value indicating whether this T:UIKit.UIView user interaction enabled. More... | |
bool | MultipleTouchEnabled = false [get, set] |
Gets or sets a value indicating whether this T:UIKit.UIView multiple touch enabled. More... | |
CGPoint | LastTouchPoint = false [get, set] |
Gets or sets the last touch point. More... | |
bool | ClipsToBounds = new CGPoint(0, 0) [get, set] |
Gets or sets a value indicating whether this T:UIKit.UIView clips to bounds. More... | |
bool | ExclusiveTouch [get, set] |
Gets or sets a value indicating whether this T:UIKit.UIView exclusive touch. More... | |
bool | CacheViewDrawing = true [get, set] |
Gets or sets a value indicating whether this T:UIKit.UIView cache view drawing to improve redraw performance. More... | |
List< UIView > | Subviews = true [get] |
Gets the subviews. More... | |
Events | |
ACTileGroupTouchedDelegate | Touched |
ACTileGroupMovedDelegate | Moved |
ACTileGroupReleasedDelegate | Released |
ACTileGroupLiveUpdatingDelegate | LiveUpdating |
ACTileGroupTileTouchedDelegate | TileTouched |
Additional Inherited Members | |
![]() | |
override void | OnDraw (Canvas canvas) |
Called when the view needs to draw itself. More... | |
override void | OnLayout (bool changed, nint left, nint top, nint right, nint bottom) |
Called when the view is being laid out. More... | |
Maintains a collection of ACTile
objects that are contained within a ACTileController
. The ACTileGroup
handles the creation and layout of the ACTile
objects and can controll a collection of different sized and shaped tiles.
delegate void ActionComponents.ACTileGroup.ACTileGroupLiveUpdatingDelegate | ( | ACTileGroup | group | ) |
Occurs when live updating has been kicked off by the ACTileController
delegate void ActionComponents.ACTileGroup.ACTileGroupMovedDelegate | ( | ACTileGroup | view | ) |
Occurs when this ACTileGroup
is moved
delegate void ActionComponents.ACTileGroup.ACTileGroupReleasedDelegate | ( | ACTileGroup | view | ) |
Occurs when this ACTileGroup
is released
delegate void ActionComponents.ACTileGroup.ACTileGroupTileTouchedDelegate | ( | ACTileGroup | group, |
ACTile | tile | ||
) |
Occurs when a tile is touched in this group.
delegate void ActionComponents.ACTileGroup.ACTileGroupTouchedDelegate | ( | ACTileGroup | view | ) |
ACTile ActionComponents.ACTileGroup.AddCustomSizedTile | ( | int | rows, |
int | cols, | ||
ACTileStyle | style, | ||
string | title, | ||
string | subtitle, | ||
string | description, | ||
UIImage | icon | ||
) |
Adds a new ACTile
to this ACTileGroup
.
rows | Rows. |
cols | Cols. |
style | Style. |
title | Title. |
subtitle | Subtitle. |
description | Description. |
icon | Icon. |
ACTile ActionComponents.ACTileGroup.AddCustomSizedTile | ( | int | rows, |
int | cols, | ||
ACTileStyle | style, | ||
string | title, | ||
string | subtitle, | ||
string | description, | ||
Android.Content.Res.Resources | resources, | ||
int | resourceID | ||
) |
Adds a new ACTile
to this ACTileGroup
.
rows | Rows. |
cols | Cols. |
style | Style. |
title | Title. |
subtitle | Subtitle. |
description | Description. |
resources | Resources. |
resourceID | Resource ID. |
void ActionComponents.ACTileGroup.AddStyleChangeToAllTiles | ( | ) |
Adds the style changer ACTileLiveUpdate
action to every ACTile
in this ACTileGroup
Avoids changing CustomDrawn
or BigPicture
styles
ACTile ActionComponents.ACTileGroup.AddTile | ( | ACTileStyle | style, |
ACTileSize | tileSize, | ||
string | title, | ||
string | subtitle, | ||
string | description, | ||
UIImage | icon | ||
) |
Adds a new ACTile
to this ACTileGroup
.
style | Style. |
tileSize | Tile size. |
title | Title. |
subtitle | Subtitle. |
description | Description. |
icon | Icon. |
ACTile ActionComponents.ACTileGroup.AddTile | ( | ACTileStyle | style, |
ACTileSize | tileSize, | ||
string | title, | ||
string | subtitle, | ||
string | description, | ||
Android.Content.Res.Resources | resources, | ||
int | resourceID | ||
) |
Adds a new ACTile
to this ACTileGroup
.
style | Style. |
tileSize | Tile size. |
title | Title. |
subtitle | Subtitle. |
description | Description. |
resources | Resources. |
resourceID | Resource ID. |
void ActionComponents.ACTileGroup.AddTile | ( | ACTile | tile | ) |
Adds the tile to the group's collection of tiles.
tile | Tile. |
void ActionComponents.ACTileGroup.ChromaKeyTiles | ( | ACColor | background, |
int | minimum, | ||
int | maximum | ||
) |
Changes the background color of every ACTile
in this ACTileGroup
by creating a random brightness off the given base ACColor
within the given minimum
and maximum
ranges
background | Background. |
minimum | Minimum. |
maximum | Maximum. |
void ActionComponents.ACTileGroup.ClearTiles | ( | ) |
|
virtual |
Draw the specified rect.
rect | Rect. |
Reimplemented from UIKit.UIView.
IEnumerator ActionComponents.ACTileGroup.GetEnumerator | ( | ) |
bool ActionComponents.ACTileGroup.MoveNext | ( | ) |
void ActionComponents.ACTileGroup.Redraw | ( | ) |
Forces this ACTileGroup
to fully redraw itself
void ActionComponents.ACTileGroup.RemoveTileAt | ( | int | index | ) |
void ActionComponents.ACTileGroup.Reset | ( | ) |
void ActionComponents.ACTileGroup.SetTileColor | ( | ACColor | color | ) |
Sets the color of the tiles in the group.
color | Color. |
Sent when one or more fingers touches the screen.
<Docs>Set containing the touches.</Docs>
touches | Touches. |
evt | Evt. |
Reimplemented from UIKit.UIView.
Send when one or more fingers are lifted from the screen.
<Docs>Set containing the touches.</Docs>
touches | Touches. |
evt | Evt. |
Reimplemented from UIKit.UIView.
Sent when the ACTile
is being dragged
<Docs>Set containing the touches.</Docs>
touches | Touches. |
evt | Evt. |
Reimplemented from UIKit.UIView.
|
getset |
Gets or sets the ACTileGroupAppearance
for this ACTileGroup
The appearance.
|
getset |
Gets or sets a value indicating whether this ACTileGroup
will auto fit tiles into the first available space regardless of the actual tile order.
true
if auto fit tiles; otherwise, false
.
|
get |
Gets the ACTileController
that this ACTileGroup
belongs to
The controller.
|
get |
Gets the number of ACTile
s contained in this ACTileGroup
The count.
|
get |
|
getset |
Gets or sets the default ACTileAppearance
The default tile appearance.
|
getset |
|
getset |
Gets or sets the footer for this ACTileGroup
The footer.
|
get |
Gets the ACTileGroupType
of this ACTileGroup
.
The type of the group.
|
getset |
Gets or sets the ACTileLiveUpdate
action that will be performed via an automatic update kicked off by the liveUpdateTimer
in the parent ACTileController
The live update action.
|
getset |
Gets or sets a value indicating whether this ACTileGroup
will automatically shrink ActionTiles
that are larger than a single cell by resizing them to a single cell to fit in their current location.
true
if auto fit tiles; otherwise, false
.
|
getset |
Gets or sets the [OPTIONAL] tag that can be assosciated with this ACTileGroup
The tag.
|
getset |
Gets or sets the ACTile
at the specified index.
index | Index. |
|
getset |
Gets or sets the title for this ACTileGroup
The title.
ACTileGroupLiveUpdatingDelegate ActionComponents.ACTileGroup.LiveUpdating |
ACTileGroupMovedDelegate ActionComponents.ACTileGroup.Moved |
ACTileGroupReleasedDelegate ActionComponents.ACTileGroup.Released |
ACTileGroupTileTouchedDelegate ActionComponents.ACTileGroup.TileTouched |
ACTileGroupTouchedDelegate ActionComponents.ACTileGroup.Touched |