[]
Button with a built-in style matching the suite.
public class C1Button : C1HtmlButton, IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
Public Class C1Button
Inherits C1HtmlButton
Implements IComponent, IHandleAfterRender, IHandleEvent, IDisposable, IDependencyObject
| Name | Description |
|---|---|
| C1Button() | Initializes a new instance of the C1Button class. |
| Name | Description |
|---|---|
| BorderAlignmentProperty | Identifies the BorderAlignment 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. |
| _isFocusable | Gets or sets whether the button can receive the focus. |
| Name | Description |
|---|---|
| BorderAlignment | Gets or sets the alignment of the border relative to the control bounds. |
| FocusBrush | Gets or sets the C1Color used to highlight the focused control. |
| IsFocusable | Gets or sets whether the button can receive the focus. |
| MouseOverBrush | Gets or sets the C1Color used to highlight the control when it has the mouse over. |
| PressedBrush | Gets or sets the C1Color used to paint a button when it is pressed. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| OnAfterRender(bool) | |
| 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. |