[]
        
(Showing Draft Content)

C1.WinUI.Core.C1Button

C1Button Class

Button with a built-in style matching the suite.

Inheritance
C1Button
Implements
Namespace: C1.WinUI.Core
Assembly: C1.WinUI.Core.dll
Syntax
public class C1Button : Button, IDisposable

Constructors

Name Description
C1Button()

Initializes a new instance of the C1Button class.

Fields

Name Description
BorderAlignmentProperty

Identifies the BorderAlignment dependency property.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

FocusBrushProperty

Identifies the FocusBrush dependency property.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

PressedBrushProperty

Identifies the PressedBrush dependency property.

Properties

Name Description
BorderAlignment

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

CornerRadius

Gets or sets the corners radius.

FocusBrush

Gets or sets the Microsoft.UI.Xaml.Media.Brush used to highlight the focused control.

IsDisposed

Gets whether this instance is disposed.

MouseOverBrush

Gets or sets the Microsoft.UI.Xaml.Media.Brush used to highlight the control when it has the mouse over.

PressedBrush

Gets or sets the Microsoft.UI.Xaml.Media.Brush used to paint a button when it is pressed.

Methods

Name Description
Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the C1Button class.

OnApplyTemplate()