[]
        
(Showing Draft Content)

C1.WPF.Core.C1Button

C1Button Class

Button with a built-in style matching the suite.

Namespace: C1.WPF.Core
Assembly: C1.WPF.Core.dll
Syntax
public class C1Button : Button, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource, 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
AccentStyle

Gets a style used for default buttons.

AccentStyleKey

Resource key for a button accent style.

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 Brush used to highlight the focused control.

IsDisposed

Gets whether this instance is disposed.

MouseOverBrush

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

PressedBrush

Gets or sets the 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()
OnPropertyChanged(DependencyPropertyChangedEventArgs)
OnTouchDown(TouchEventArgs)