Class SfGridSplitter
SfGridSplitter is used to redistribute space between two adjacent columns or rows.
This control, when used in conjunction with Grid, can be used to create flexible and complex user interfaces.
Inheritance
System.Object
SfGridSplitter
Implements
System.IDisposable
Assembly: Syncfusion.SfInput.Wpf.dll
public class SfGridSplitter : GridSplitter, IDisposable
Constructors
Initializes a new instance of the
System.Windows.Controls.SfGridSplitter class.
Declaration
Fields
The object that defines visual representation of the down button. A DataTemplate representing down arrow symbol,is the default value.
Declaration
public static readonly DependencyProperty DownButtonTemplateProperty
Field Value
Type |
System.Windows.DependencyProperty |
Using a DependencyProperty as the backing store for EnableCollapseButton. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty EnableCollapseButtonProperty
Field Value
Type |
System.Windows.DependencyProperty |
The object that defines visual representation of the horizontal grid splitter. A DataTemplate representing gripper symbol is the default value.
Declaration
public static readonly DependencyProperty HorizontalGripperTemplateProperty
Field Value
Type |
System.Windows.DependencyProperty |
The object that defines visual representation of the left button. A DataTemplate representing left arrow symbol,is the default value.
Declaration
public static readonly DependencyProperty LeftButtonTemplateProperty
Field Value
Type |
System.Windows.DependencyProperty |
The object that defines visual representation of the right button. A DataTemplate representing right arrow symbol,is the default value.
Declaration
public static readonly DependencyProperty RightButtonTemplateProperty
Field Value
Type |
System.Windows.DependencyProperty |
The object that defines visual representation of the up button. A DataTemplate representing up arrow symbol,is the default value.
Declaration
public static readonly DependencyProperty UpButtonTemplateProperty
Field Value
Type |
System.Windows.DependencyProperty |
The object that defines visual representation of the vertical grid splitter. A DataTemplate representing gripper symbol is the default value.
Declaration
public static readonly DependencyProperty VerticalGripperTemplateProperty
Field Value
Type |
System.Windows.DependencyProperty |
Properties
Declaration
public DataTemplate DownButtonTemplate { get; set; }
Property Value
Type |
System.Windows.DataTemplate |
Declaration
public bool EnableCollapseButton { get; set; }
Property Value
Declaration
public DataTemplate HorizontalGripperTemplate { get; set; }
Property Value
Type |
System.Windows.DataTemplate |
Declaration
public DataTemplate LeftButtonTemplate { get; set; }
Property Value
Type |
System.Windows.DataTemplate |
Declaration
public DataTemplate RightButtonTemplate { get; set; }
Property Value
Type |
System.Windows.DataTemplate |
Declaration
public DataTemplate UpButtonTemplate { get; set; }
Property Value
Type |
System.Windows.DataTemplate |
Declaration
public DataTemplate VerticalGripperTemplate { get; set; }
Property Value
Type |
System.Windows.DataTemplate |
Methods
Declaration
Move the splitter and resize the affected columns or rows.
Declaration
public void MoveSplitter(double Change)
Parameters
Type |
Name |
Description |
System.Double |
Change |
Pixels to resize horizontally or vertically.
|
Builds the visual tree for the
System.Windows.Controls.SfGridSplitter
control when a new template is applied.
Declaration
public override void OnApplyTemplate()
Mouse leave from SfGridSplitter
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseEventArgs |
e |
|
Mouse move interaction on SfGridSplitter
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseEventArgs |
e |
|
Preview mouse up from SfGridSplitter.
Declaration
protected override void OnPreviewMouseUp(MouseButtonEventArgs e)
Parameters
Type |
Name |
Description |
System.Windows.Input.MouseButtonEventArgs |
e |
|
Implements
System.IDisposable