In This Article

SplitterBase Class

Represents an abstract base class for a splitter.

[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Highlighted", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Horizontal", GroupName = "OrientationStates")]
[TemplateVisualState(Name = "Vertical", GroupName = "OrientationStates")]
public abstract class SplitterBase : Control, IOrientedElement
Inheritance:
object Visual UIElement FrameworkElement Control object
Derived:
AutoHideContainerSplitter SplitContainerSplitter
Implements:
IOrientedElement

Constructors

SplitterBase()

Initializes an instance of the class.

protected SplitterBase()

Properties

HighlightBrush

The Brush to use when the splitter is highlighted.

public Brush? HighlightBrush { get; set; }

Property Value

Brush

IsHighlighted

Indicates whether the splitter is currently highlighted.

public bool IsHighlighted { get; set; }

Property Value

bool:

The default value is false.

Orientation

The orientation of the splitter.

public Orientation Orientation { get; set; }

Property Value

Orientation:

The default value is Horizontal.

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

Fields

HighlightBrushProperty

Defines the HighlightBrush property.

public static readonly DependencyProperty HighlightBrushProperty

IsHighlightedProperty

Defines the IsHighlighted property.

public static readonly DependencyProperty IsHighlightedProperty

OrientationProperty

Defines the Orientation property.

public static readonly DependencyProperty OrientationProperty

Extension Methods