Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
The GridSplitter redistributes space between columns or rows of a Grid control.
| Title | Description |
|---|---|
| Resize Rows with a GridSplitter | Shows how to resize rows in a grid using a GridSplitter control. |
| Resize Columns with a GridSplitter | Shows how to resize columns in a grid using a GridSplitter control. |
| Make Sure That a GridSplitter Is Visible | Shows how to make sure a GridSplitter control isn't hidden by other controls. |
Styles and templates
The GridSplitter control supports customization of its appearance through styles and templates. For information about modifying a control's visual structure and visual behavior, see Control styles and templates.
Content property
This control doesn't define a content property.
Parts
This control doesn't define any template parts.
Visual states
The GridSplitter control defines the following visual states:
| VisualState Name | VisualStateGroup Name | Description |
|---|---|---|
| Normal | CommonStates | The control is in its normal state. |
| MouseOver | CommonStates | The mouse is over the control. |
| Pressed | CommonStates | The control is pressed. |
| Disabled | CommonStates | The control is disabled. |
| Focused | FocusStates | The control has keyboard focus. |
| Unfocused | FocusStates | The control doesn't have keyboard focus. |
| 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