Class SplitterPane
Represents a pane within an SfGridSplitter control.
Implements
Inherited Members
Namespace: Syncfusion.Maui.GridSplitter
Assembly: Syncfusion.Maui.GridSplitter.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
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 |
|---|
| BindableProperty |
ContentProperty
Identifies the Content bindable property.
Declaration
public static readonly BindableProperty ContentProperty
Field Value
| Type |
|---|
| BindableProperty |
IsCollapsedProperty
Identifies the IsCollapsed bindable property.
Declaration
public static readonly BindableProperty IsCollapsedProperty
Field Value
| Type |
|---|
| BindableProperty |
IsCollapsibleProperty
Identifies the IsCollapsible bindable property.
Declaration
public static readonly BindableProperty IsCollapsibleProperty
Field Value
| Type |
|---|
| BindableProperty |
IsResizableProperty
Identifies the IsResizable bindable property.
Declaration
public static readonly BindableProperty IsResizableProperty
Field Value
| Type |
|---|
| BindableProperty |
MaximumSizeProperty
Identifies the MaximumSize bindable property.
Declaration
public static readonly BindableProperty MaximumSizeProperty
Field Value
| Type |
|---|
| BindableProperty |
MinimumSizeProperty
Identifies the MinimumSize bindable property.
Declaration
public static readonly BindableProperty MinimumSizeProperty
Field Value
| Type |
|---|
| BindableProperty |
SizeProperty
Identifies the Size bindable property.
Declaration
public static readonly BindableProperty SizeProperty
Field Value
| Type |
|---|
| 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 |
|---|
| Brush |
Content
Gets or sets the content view displayed in this pane.
Declaration
public View? Content { get; set; }
Property Value
| Type |
|---|
| 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 |
|---|
| bool |
IsCollapsible
Gets or sets a value indicating whether this pane can be collapsed.
Declaration
public bool IsCollapsible { get; set; }
Property Value
| Type |
|---|
| bool |
IsResizable
Gets or sets a value indicating whether this pane can be resized.
Declaration
public bool IsResizable { get; set; }
Property Value
| Type |
|---|
| bool |
MaximumSize
Gets or sets the maximum size (in DIU) for this pane during resize operations.
Declaration
public double MaximumSize { get; set; }
Property Value
| Type |
|---|
| 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 |
|---|
| double |
Size
Gets or sets the size of this pane in the grid layout.
Declaration
public string Size { get; set; }
Property Value
| Type |
|---|
| 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 |
|---|---|---|
| ICanvas | canvas | |
| RectF | dirtyRect |