Interface ISplitterPaneFactory
Defines an interface that provides methods for creating and hiding controls for a splitter pane inside a SplitterControl.
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public interface ISplitterPaneFactory
Methods
CreateNewControl(Int32, Int32, Control, Control)
Creates a new control for the specified splitter pane.
Declaration
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
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. |