[]
        
(Showing Draft Content)

C1.WinUI.Core.C1ToggleButton

C1ToggleButton Class

Represents a button that a user can expand and collapse.

Inheritance
C1ToggleButton
Implements
Namespace: C1.WinUI.Core
Assembly: C1.WinUI.Core.dll
Syntax
public class C1ToggleButton : ToggleButton, IDisposable

Constructors

Name Description
C1ToggleButton()

Initializes a new instance of the C1ToggleButton class.

Fields

Name Description
BorderAlignmentProperty

Identifies the BorderAlignment dependency property.

CheckedBackgroundProperty

Identifies the CheckedBackground dependency property.

CheckedBrushProperty

Identifies the CheckedBrush dependency property.

CheckedContentProperty

Identifies the CheckedContent dependency property.

CheckedForegroundProperty

Identifies the CheckedForeground dependency property.

FocusBrushProperty

Identifies the FocusBrush dependency property.

IndeterminateContentProperty

Identifies the IndeterminateContent dependency property.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

PressedBrushProperty

Identifies the PressedBrush dependency property.

UncheckedContentProperty

Identifies the UncheckedContent dependency property.

Properties

Name Description
BorderAlignment

Gets or sets the alignment of the border.

CheckedBackground

Gets or sets the brush to highlight the element when the button is checked.

CheckedBrush

Gets or sets the brush to highlight the element when the button is checked.

CheckedContent

Gets or sets the content show when the button is checked.

CheckedForeground

Gets or sets the brush to highlight the element when the button is checked.

FocusBrush

Gets or sets the brush to highlight the element when the button is focused.

IndeterminateContent

Gets or sets the content shown when the button is indeterminate.

IsDisposed

Gets whether this instance is disposed.

MouseOverBrush

Gets or sets the brush to highlight the element when the mouse is over.

PressedBrush

Gets or sets the brush to highlight the element when the button is pressed.

UncheckedContent

Gets or sets the content shown when the button is unchecked.

Methods

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

Finalizes this instance of the C1ToggleButton class.

OnApplyTemplate()