Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A Separator control draws a line, horizontal or vertical, between items in controls, such as ListBox, Menu, and ToolBar.
Styles and templates
The Separator control provides styling information through template parts and visual states.
Content property
This control doesn't define a content property.
Parts
This control doesn't define any template parts.
Visual states
The following table lists the visual states for the Separator control.
| VisualState Name | VisualStateGroup Name | Description |
|---|---|---|
| Valid | ValidationStates | The control is valid and has no validation errors. |
| InvalidFocused | ValidationStates | The control has a validation error and has keyboard focus. |
| InvalidUnfocused | ValidationStates | The control has a validation error but doesn't have keyboard focus. |
See also
.NET Desktop feedback