Class GridSplitter
Represents the control that redistributes space between columns or rows of a Grid control.
public class GridSplitter : Thumb, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue
- Inheritance
-
GridSplitter
- Implements
- Inherited Members
- Extension Methods
Constructors
GridSplitter()
public GridSplitter()
Fields
DragIncrementProperty
Defines the DragIncrement property.
public static readonly StyledProperty<double> DragIncrementProperty
Field Value
KeyboardIncrementProperty
Defines the KeyboardIncrement property.
public static readonly StyledProperty<double> KeyboardIncrementProperty
Field Value
PreviewContentProperty
Defines the PreviewContent property.
public static readonly StyledProperty<ITemplate<Control>> PreviewContentProperty
Field Value
ResizeBehaviorProperty
Defines the ResizeBehavior property.
public static readonly StyledProperty<GridResizeBehavior> ResizeBehaviorProperty
Field Value
ResizeDirectionProperty
Defines the ResizeDirection property.
public static readonly StyledProperty<GridResizeDirection> ResizeDirectionProperty
Field Value
ShowsPreviewProperty
Defines the ShowsPreview property.
public static readonly StyledProperty<bool> ShowsPreviewProperty
Field Value
Properties
DragIncrement
Restricts splitter to move a multiple of the specified units.
public double DragIncrement { get; set; }
Property Value
KeyboardIncrement
The Distance to move the splitter when pressing the keyboard arrow keys.
public double KeyboardIncrement { get; set; }
Property Value
PreviewContent
Gets or sets content that will be shown when ShowsPreview is enabled and user starts resize operation.
public ITemplate<Control> PreviewContent { get; set; }
Property Value
ResizeBehavior
Indicates which Columns or Rows the Splitter resizes.
public GridResizeBehavior ResizeBehavior { get; set; }
Property Value
ResizeDirection
Indicates whether the Splitter resizes the Columns, Rows, or Both.
public GridResizeDirection ResizeDirection { get; set; }
Property Value
ShowsPreview
Indicates whether to Preview the column resizing without updating layout.
public bool ShowsPreview { get; set; }
Property Value
Methods
OnDragCompleted(VectorEventArgs)
protected override void OnDragCompleted(VectorEventArgs e)
Parameters
OnDragDelta(VectorEventArgs)
protected override void OnDragDelta(VectorEventArgs e)
Parameters
OnDragStarted(VectorEventArgs)
protected override void OnDragStarted(VectorEventArgs e)
Parameters
OnKeyDown(KeyEventArgs)
Called before the KeyDown event occurs.
protected override void OnKeyDown(KeyEventArgs e)
Parameters
e
KeyEventArgsThe event args.
OnLostFocus(RoutedEventArgs)
Called before the LostFocus event occurs.
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
e
RoutedEventArgsThe event args.
OnPointerEntered(PointerEventArgs)
Called before the PointerEntered event occurs.
protected override void OnPointerEntered(PointerEventArgs e)
Parameters
e
PointerEventArgsThe event args.