menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfGridSplitter - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    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
    Namespace: Syncfusion.Windows.Controls.Input
    Assembly: Syncfusion.SfInput.Wpf.dll
    Syntax
    public class SfGridSplitter : GridSplitter, IDisposable

    Constructors

    SfGridSplitter()

    Initializes a new instance of the System.Windows.Controls.SfGridSplitter class.

    Declaration
    public SfGridSplitter()

    Fields

    DownButtonTemplateProperty

    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

    EnableCollapseButtonProperty

    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

    HorizontalGripperTemplateProperty

    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

    LeftButtonTemplateProperty

    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

    RightButtonTemplateProperty

    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

    UpButtonTemplateProperty

    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

    VerticalGripperTemplateProperty

    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

    DownButtonTemplate

    Declaration
    public DataTemplate DownButtonTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate

    EnableCollapseButton

    Declaration
    public bool EnableCollapseButton { get; set; }
    Property Value
    Type
    System.Boolean

    HorizontalGripperTemplate

    Declaration
    public DataTemplate HorizontalGripperTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate

    LeftButtonTemplate

    Declaration
    public DataTemplate LeftButtonTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate

    RightButtonTemplate

    Declaration
    public DataTemplate RightButtonTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate

    UpButtonTemplate

    Declaration
    public DataTemplate UpButtonTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate

    VerticalGripperTemplate

    Declaration
    public DataTemplate VerticalGripperTemplate { get; set; }
    Property Value
    Type
    System.Windows.DataTemplate

    Methods

    Dispose()

    Declaration
    public void Dispose()

    MoveSplitter(Double)

    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.

    OnApplyTemplate()

    Builds the visual tree for the System.Windows.Controls.SfGridSplitter control when a new template is applied.

    Declaration
    public override void OnApplyTemplate()

    OnMouseLeave(MouseEventArgs)

    Mouse leave from SfGridSplitter

    Declaration
    protected override void OnMouseLeave(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnMouseMove(MouseEventArgs)

    Mouse move interaction on SfGridSplitter

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseEventArgs e

    OnPreviewMouseUp(MouseButtonEventArgs)

    Preview mouse up from SfGridSplitter.

    Declaration
    protected override void OnPreviewMouseUp(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved