[]
        
(Showing Draft Content)

C1.WinUI.Menu.C1MenuSeparator

C1MenuSeparator Class

Control that is used to separate items in menus and toolbar.

Inheritance
C1MenuSeparator
Implements
Namespace: C1.WinUI.Menu
Assembly: C1.WinUI.Menu.dll
Syntax
public class C1MenuSeparator : Control, IDisposable

Constructors

Name Description
C1MenuSeparator()

Initializes a new instance of the C1MenuSeparator class.

Fields

Name Description
IndentBackgroundProperty

Identifies the IndentBackground dependency property.

IsIndentedProperty

Identifies the IsIndented dependency property.

OrientationProperty

Identifies the Orientation dependency property.

Properties

Name Description
IndentBackground

Gets or sets the brush used to paint the Indent band at the left.

IsDisposed

Gets whether this instance is disposed.

IsFocused

Gets whether the control is focused.

IsIndented

Gets or sets whether the Indent band is displayed.

IsMouseOver

Gets whether the mouse is over the control.

Orientation

Gets or sets the direction of the separator.

Methods

Name Description
ChangeVisualStateCommon(bool)

Updates the current visual state of the Common visual state group to match the object's properties.

ChangeVisualStateIndented(bool)

Updates the current visual state of the Indented visual state group to match the object's properties.

Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the C1MenuSeparator class.

OnApplyTemplate()