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
Inheritance:
object Visual UIElement FrameworkElement Control object
Derived:
AutoHideContainerSplitter SplitContainerSplitter

Constructors

SplitterBase()

Initializes an instance of the SplitterBase class.

protected SplitterBase()

Properties

HighlightBrush

Gets or sets the Brush to use when the splitter is highlighted.

public Brush HighlightBrush { get; set; }

Property Value

Brush:

The Brush to use when the splitter is highlighted.

IsHighlighted

Gets or sets whether the splitter is currently highlighted.

public bool IsHighlighted { get; set; }

Property Value

bool:

true if the splitter is currently highlighted; otherwise, false. The default value is false.

Orientation

Gets or sets the Orientation of the splitter.

public Orientation Orientation { get; set; }

Property Value

Orientation:

The Orientation of the splitter. The default value is Horizontal.

Methods

OnApplyTemplate()

Invoked whenever application code or internal processes call ApplyTemplate.

public override void OnApplyTemplate()

Fields

HighlightBrushProperty

Identifies the HighlightBrush dependency property. This field is read-only.

public static readonly DependencyProperty HighlightBrushProperty

IsHighlightedProperty

Identifies the IsHighlighted dependency property. This field is read-only.

public static readonly DependencyProperty IsHighlightedProperty

OrientationProperty

Identifies the Orientation dependency property. This field is read-only.

public static readonly DependencyProperty OrientationProperty