![]() |
ActionComponents
04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
|
The ActionComponents.ACLabel has helper methods and events such as Touched
and Released
that turn it into an interactive element.
More...
Public Member Functions | |
ACLabel (Context context) | |
Initializes a new instance of the ActionComponents.ACLabel class. More... | |
ACLabel (Context context, IAttributeSet attr) | |
Initializes a new instance of the ActionComponents.ACLabel class. More... | |
ACLabel (IntPtr javaReference, JniHandleOwnership transfer) | |
Initializes a new instance of the ActionComponents.ACLabel class. More... | |
ACLabel (Context context, IAttributeSet attr, int defStyle) | |
Initializes a new instance of the ActionComponents.ACLabel class. More... | |
void | MoveToPoint (int x, int y) |
Moves this ActionComponents.ACLabel to the given point More... | |
void | MoveToPoint (Point point) |
Moves this ActionComponents.ACLabel to the given point More... | |
void | Resize (int width, int height) |
Resize this ActionComponents.ACLabel to the specified width and height. More... | |
bool | PointInside (int x, int y) |
Test to see if the given x and y coordinates are inside this ActionComponents.ACLabel More... | |
bool | PointInside (Point pt) |
Test to see if the given point is inside this ActionComponents.ACLabel More... | |
override bool | OnTouchEvent (MotionEvent e) |
Raises the touch event event. More... | |
delegate void | ACLabelTouchedDelegate (ACLabel view) |
Occurs when this ActionComponents.ACLabel is touched More... | |
delegate void | ACLabelMovedDelegate (ACLabel view) |
Occurs when this ActionComponents.ACLabel is moved More... | |
delegate void | ACLabelReleasedDelegate (ACLabel view) |
Occurs when this ActionComponents.ACLabel is released More... | |
Properties | |
bool | bringToFrontOnTouched [get, set] |
Gets or sets a value indicating whether this ActionComponents.ACLabel is automatically brought to the front when touched. 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... | |
Events | |
ACLabelTouchedDelegate | Touched |
ACLabelMovedDelegate | Moved |
ACLabelReleasedDelegate | Released |
The ActionComponents.ACLabel has helper methods and events such as Touched
and Released
that turn it into an interactive element.
Available in ActionPack Business or Enterprise only.
ActionComponents.ACLabel.ACLabel | ( | Context | context | ) |
Initializes a new instance of the ActionComponents.ACLabel class.
context | Context. |
ActionComponents.ACLabel.ACLabel | ( | Context | context, |
IAttributeSet | attr | ||
) |
Initializes a new instance of the ActionComponents.ACLabel class.
context | Context. |
attr | Attr. |
ActionComponents.ACLabel.ACLabel | ( | IntPtr | javaReference, |
JniHandleOwnership | transfer | ||
) |
Initializes a new instance of the ActionComponents.ACLabel class.
javaReference | Java reference. |
transfer | Transfer. |
ActionComponents.ACLabel.ACLabel | ( | Context | context, |
IAttributeSet | attr, | ||
int | defStyle | ||
) |
Initializes a new instance of the ActionComponents.ACLabel class.
context | Context. |
attr | Attr. |
defStyle | Def style. |
delegate void ActionComponents.ACLabel.ACLabelMovedDelegate | ( | ACLabel | view | ) |
Occurs when this ActionComponents.ACLabel is moved
delegate void ActionComponents.ACLabel.ACLabelReleasedDelegate | ( | ACLabel | view | ) |
Occurs when this ActionComponents.ACLabel is released
delegate void ActionComponents.ACLabel.ACLabelTouchedDelegate | ( | ACLabel | view | ) |
void ActionComponents.ACLabel.MoveToPoint | ( | int | x, |
int | y | ||
) |
Moves this ActionComponents.ACLabel to the given point
x | The x coordinate. |
y | The y coordinate. |
void ActionComponents.ACLabel.MoveToPoint | ( | Point | point | ) |
Moves this ActionComponents.ACLabel to the given point
pt | Point. |
override bool ActionComponents.ACLabel.OnTouchEvent | ( | MotionEvent | e | ) |
Raises the touch event event.
e | E. |
bool ActionComponents.ACLabel.PointInside | ( | int | x, |
int | y | ||
) |
Test to see if the given x and y coordinates are inside this ActionComponents.ACLabel
true
, if inside was pointed, false
otherwise.x | The x coordinate. |
y | The y coordinate. |
bool ActionComponents.ACLabel.PointInside | ( | Point | pt | ) |
Test to see if the given point is inside this ActionComponents.ACLabel
true
, if inside was pointed, false
otherwise.pt | Point. |
void ActionComponents.ACLabel.Resize | ( | int | width, |
int | height | ||
) |
Resize this ActionComponents.ACLabel to the specified width and height.
width | Width. |
height | Height. |
|
getset |
Gets or sets the bottom margin.
The bottom margin.
|
getset |
Gets or sets a value indicating whether this ActionComponents.ACLabel is automatically brought to the front when touched.
true
if bring to front on touched; otherwise, false
.
|
getset |
Gets or sets the height of the layout.
The height of the layout.
|
getset |
Gets or sets the width of the layout.
The width of the layout.
|
getset |
Gets or sets the left margin.
The left margin.
|
getset |
Gets or sets the right margin.
The right margin.
|
getset |
Gets or sets the top margin.
The top margin.
ACLabelMovedDelegate ActionComponents.ACLabel.Moved |
ACLabelReleasedDelegate ActionComponents.ACLabel.Released |
ACLabelTouchedDelegate ActionComponents.ACLabel.Touched |