[]
Button with a built-in style matching the suite.
public class C1Button : C1View, IDependencyObject
Public Class C1Button
Inherits C1View
Implements IDependencyObject
| Name | Description |
|---|---|
| C1Button() | Initializes a new instance of the C1Button class. |
| C1Button(CGRect) | Initializes a new instance of the C1Button class. |
| C1Button(nint) | Initializes a new instance of the C1Button class. |
| 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 CoreAnimation.CALayer used to highlight the focused control. |
| IntrinsicContentSize | |
| IsFocusable | Gets or sets whether the button can receive the focus. |
| MouseOverBrush | Gets or sets the CoreAnimation.CALayer used to highlight the control when it has the mouse over. |
| PressedBrush | Gets or sets the CoreAnimation.CALayer used to paint a button when it is pressed. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| LayoutSubviews() | |
| MovedToWindow() | |
| 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. |
| OnPaddingChanged() | Called when the padding changed. |
| SizeThatFits(CGSize) |
| Name | Description |
|---|---|
| Click | Event raised when the button is clicked. |