[]
        
(Showing Draft Content)

C1.Maui.Core.C1Button

C1Button Class

Button with a built-in style matching the suite.

Inheritance
C1Button
Implements
Namespace: C1.Maui.Core
Assembly: C1.Maui.Core.dll
Syntax
public class C1Button : C1View, IDisposable

Constructors

Name Description
C1Button()

Initializes a new instance of the C1Button class.

Fields

Name Description
BorderAlignmentProperty

Identifies the BorderAlignment dependency property.

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.

Properties

Name Description
BorderAlignment

Gets or sets the alignment of the border relative to the control bounds.

Content

Gets or sets whether the button content.

FocusBrush

Gets or sets the Microsoft.Maui.Controls.Brush used to highlight the focused control.

IsFocusable

Gets or sets whether the button can receive the focus.

MouseOverBrush

Gets or sets the Microsoft.Maui.Controls.Brush used to highlight the control when it has the mouse over.

PressedBrush

Gets or sets the Microsoft.Maui.Controls.Brush used to paint a button when it is pressed.

Methods

Name Description
Dispose(bool)

Events

Name Description
Click

Event raised when the button is clicked.