[]
        
(Showing Draft Content)

C1.WPF.C1Separator

C1Separator Class

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

Namespace: C1.WPF
Assembly: C1.WPF.4.6.2.dll
Syntax
[TemplatePart(Name = "VerticalTemplate", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "HorizontalTemplate", Type = typeof(FrameworkElement))]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public class C1Separator : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1Separator()

Initializes a new instance of a C1Separator.

Fields

Name Description
FirstLevelTemplateProperty

Identifies the FirstLevelTemplate dependency property.

OrientationProperty

Identifies the Orientation dependency property.

Properties

Name Description
FirstLevelTemplate

Represents the template to apply to all separator items used in the first level of the menu.

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.

OnApplyTemplate()

Builds the visual tree for the C1Separator control when a new template is applied.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property has been updated.

Events

Name Description
IsMouseOverChanged

Event raised when the IsMouseOver property has changed.

Extension Methods