Class SplitterPaneFactory
This is the default implementation of the ISplitterPaneFactory and manages creating and hiding of controls for a splitter pane inside a SplitterControl.
Inheritance
System.Object
SplitterPaneFactory
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class SplitterPaneFactory : ISplitterPaneFactory
Remarks
You can get or replace this object with the SplitterPaneFactory property of a SplitterControl control.
Constructors
SplitterPaneFactory()
Declaration
public SplitterPaneFactory()
Methods
CreateNewControl(Int32, Int32, Control, Control)
Creates a new control for the specified splitter pane.
Declaration
public Control CreateNewControl(int row, int column, Control mainControl, Control parent)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row | The row in a SplitterControl. |
System.Int32 | column | The column in a SplitterControl. |
System.Windows.Forms.Control | mainControl | The control in the first splitter pane. |
System.Windows.Forms.Control | parent | A parent control. Can be a SplitterControl. |
Returns
Type | Description |
---|---|
System.Windows.Forms.Control | A new instance of a control. |
DisposeControl(Int32, Int32, Control, Control)
Hides / disposes the control for the specified splitter pane.
Declaration
public void DisposeControl(int row, int column, Control control, Control parent)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row | The row in a SplitterControl. |
System.Int32 | column | The column in a SplitterControl. |
System.Windows.Forms.Control | control | The control in the splitter pane that should be hidden. |
System.Windows.Forms.Control | parent | A parent control. Can be a SplitterControl. |