[]
        
(Showing Draft Content)

C1.WPF.Menu.C1MenuGroup

C1MenuGroup Class

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

Inheritance
C1MenuGroup
Namespace: C1.WPF.Menu
Assembly: C1.WPF.Menu.dll
Syntax
[TemplateVisualState(Name = "Indented", GroupName = "IndentedStates")]
[TemplateVisualState(Name = "NonIndented", GroupName = "IndentedStates")]
public class C1MenuGroup : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable

Constructors

Name Description
C1MenuGroup()

Initializes a new instance of the C1MenuGroup class.

Fields

Name Description
HeaderProperty

Identifies the Header dependency property.

IndentBackgroundProperty

Identifies the IndentBackground dependency property.

IsIndentedProperty

Identifies the IsIndented dependency property.

Properties

Name Description
Header

Gets or sets the header of the group.

IndentBackground

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

IsDisposed

Gets whether this instance is disposed.

IsIndented

Gets or sets whether the Indent band is displayed.

Methods

Name Description
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 C1MenuGroup class.

OnApplyTemplate()