[]
Button with a built-in style matching the suite.
public class C1Button : C1View, IDependencyObject
Public Class C1Button
Inherits C1View
Implements IDependencyObject
| Name | Description |
|---|---|
| C1Button(Context) | Initializes a new instance of the C1Button class. |
| C1Button(Context, IAttributeSet) | Initializes a new instance of the C1Button class. |
| C1Button(Context, IAttributeSet, int) | Initializes a new instance of the C1Button class. |
| C1Button(nint, JniHandleOwnership) |
| Name | Description |
|---|---|
| ContentProperty | Identifies the Content dependency property. |
| FocusBrushProperty | Identifies the FocusBrush dependency property. |
| IsFocusableProperty | Identifies the IsFocusable dependency property. |
| MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
| PressedBrushProperty | Identifies the PressedBrush dependency property. |
| _content | Gets or sets whether the button content. |
| _isFocusable | Gets or sets whether the button can receive the focus. |
| Name | Description |
|---|---|
| Content | Gets or sets whether the button content. |
| FocusBrush | Gets or sets the Android.Graphics.Drawables.Drawable used to highlight the focused control. |
| IsFocusable | Gets or sets whether the button can receive the focus. |
| MouseOverBrush | Gets or sets the Android.Graphics.Drawables.Drawable used to highlight the control when it has the mouse over. |
| PressedBrush | Gets or sets the Android.Graphics.Drawables.Drawable used to paint a button when it is pressed. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| Draw(Canvas) | |
| OnAttachedToWindow() | |
| OnBackgroundChanged() | Called when the background changed. |
| OnBorderBrushChanged() | Called when the border brush changed. |
| OnBorderThicknessChanged() | Called when the border thickness changed. |
| OnCornerRadiusChanged() | Called when the corner-radius changed. |
| OnDetachedFromWindow() | |
| OnFocusChanged(bool, FocusSearchDirection, Rect) | |
| OnLayout(bool, int, int, int, int) | |
| OnMeasure(int, int) | |
| OnPaddingChanged() | Called when the padding changed. |