alexa
menu

MAUI Toolkit

  • User Guide
  • Demos
  • Support

    Show / Hide Table of Contents

    Class SplitterPane

    Represents a pane within an SfGridSplitter control.

    Inheritance
    System.Object
    SfView
    SplitterPane
    Implements
    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<Microsoft.Maui.IView>
    System.Collections.Generic.ICollection<Microsoft.Maui.IView>
    System.Collections.Generic.IEnumerable<Microsoft.Maui.IView>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    Inherited Members
    SfView.Children
    SfView.ClipToBounds
    SfView.Padding
    SfView.PaddingProperty
    Namespace: Syncfusion.Maui.Toolkit.GridSplitter
    Assembly: Syncfusion.Maui.Toolkit.dll
    Syntax
    public class SplitterPane : SfView, IDrawableLayout, IDrawable, IAbsoluteLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout, IVisualTreeElement, ISemanticsProvider

    Constructors

    SplitterPane()

    Initializes a new instance of the SplitterPane class.

    Declaration
    public SplitterPane()

    Fields

    BackgroundProperty

    Identifies the Background bindable property.

    Declaration
    public static readonly BindableProperty BackgroundProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ContentProperty

    Identifies the Content bindable property.

    Declaration
    public static readonly BindableProperty ContentProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    IsCollapsedProperty

    Identifies the IsCollapsed bindable property.

    Declaration
    public static readonly BindableProperty IsCollapsedProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    IsCollapsibleProperty

    Identifies the IsCollapsible bindable property.

    Declaration
    public static readonly BindableProperty IsCollapsibleProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    IsResizableProperty

    Identifies the IsResizable bindable property.

    Declaration
    public static readonly BindableProperty IsResizableProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    MaximumSizeProperty

    Identifies the MaximumSize bindable property.

    Declaration
    public static readonly BindableProperty MaximumSizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    MinimumSizeProperty

    Identifies the MinimumSize bindable property.

    Declaration
    public static readonly BindableProperty MinimumSizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    SizeProperty

    Identifies the Size bindable property.

    Declaration
    public static readonly BindableProperty SizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty
    Remarks

    The size value can be:

    • A star-weighted value (e.g., "1*", "2*") for proportional sizing
    • An absolute value (e.g., "100") for fixed sizing
    • "*" for auto-fill remaining space

    Examples: "1*", "100", "*"

    Properties

    Background

    Gets or sets the background brush for this pane.

    Declaration
    public Brush Background { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.Brush

    Content

    Gets or sets the content view displayed in this pane.

    Declaration
    public View Content { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.View
    Remarks

    This is the main visual content of the pane. Setting this property updates the layout to display the new content.

    IsCollapsed

    Gets or sets a value indicating whether this pane is currently collapsed.

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

    IsCollapsible

    Gets or sets a value indicating whether this pane can be collapsed.

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

    IsResizable

    Gets or sets a value indicating whether this pane can be resized.

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

    MaximumSize

    Gets or sets the maximum size (in DIU) for this pane during resize operations.

    Declaration
    public double MaximumSize { get; set; }
    Property Value
    Type
    System.Double

    MinimumSize

    Gets or sets the minimum size (in DIU) for this pane during resize operations.

    Declaration
    public double MinimumSize { get; set; }
    Property Value
    Type
    System.Double

    Size

    Gets or sets the size of this pane in the grid layout.

    Declaration
    public string Size { get; set; }
    Property Value
    Type
    System.String

    Methods

    OnDraw(ICanvas, RectF)

    Draws the pane background and a subtle border.

    Declaration
    protected override void OnDraw(ICanvas canvas, RectF dirtyRect)
    Parameters
    Type Name Description
    Microsoft.Maui.Graphics.ICanvas canvas
    Microsoft.Maui.Graphics.RectF dirtyRect
    Overrides
    Syncfusion.Maui.Toolkit.SfView.OnDraw(Microsoft.Maui.Graphics.ICanvas, Microsoft.Maui.Graphics.RectF)

    Implements

    IDrawableLayout
    Microsoft.Maui.Graphics.IDrawable
    Microsoft.Maui.IAbsoluteLayout
    Microsoft.Maui.ILayout
    Microsoft.Maui.IView
    Microsoft.Maui.IElement
    Microsoft.Maui.ITransform
    Microsoft.Maui.IContainer
    System.Collections.Generic.IList<>
    System.Collections.Generic.ICollection<>
    System.Collections.Generic.IEnumerable<>
    System.Collections.IEnumerable
    Microsoft.Maui.ISafeAreaView
    Microsoft.Maui.IPadding
    Microsoft.Maui.ICrossPlatformLayout
    Microsoft.Maui.IVisualTreeElement
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved