Class Splitter
The Splitter is a layout control that enables you to divide a Web page into distinct areas by inserting resizable panes.
Implements
Inherited Members
Namespace: Syncfusion.JavaScript.Web
Assembly: Syncfusion.EJ.Web.dll
Syntax
public class Splitter : CommonControl, INamingContainer, IPostBackEventHandler, IPostBackDataHandler, IUrlResolutionService
Constructors
Splitter()
Declaration
public Splitter()
Properties
AllowKeyboardNavigation
Specifies whether to Turn on keyboard interaction with the Splitter panes. You must set this property to true to access the keyboard shortcuts of ejSplitter.
Declaration
public bool AllowKeyboardNavigation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AnimationSpeed
Specifies animation speed for the Splitter pane movement while collapsing and expanding.
Declaration
public int AnimationSpeed { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ClientSideOnBeforeExpandCollapse
Fires before expanding / collapsing the split pane of splitter control.
Declaration
public string ClientSideOnBeforeExpandCollapse { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSideOnClickOnExpander
Triggered when we click on the template icon.
Declaration
public string ClientSideOnClickOnExpander { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSideOnCreate
Fires when the Splitter control pane is created.
Declaration
public string ClientSideOnCreate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSideOnDestroy
Fires when Splitter control pane has been destroyed.
Declaration
public string ClientSideOnDestroy { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSideOnExpandCollapse
Fires when expand / collapse operation in splitter control pane has been performed successfully.
Declaration
public string ClientSideOnExpandCollapse { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSideOnResize
Fires on resizing the Splitter control pane.
Declaration
public string ClientSideOnResize { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CssClass
Specify the CSS class to splitter control to achieve custom theme.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EmptyDataText
Specifies the error message for Splitter.
Declaration
public string EmptyDataText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EnableAnimation
Specifies the animation behavior of the Splitter.
Declaration
public bool EnableAnimation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableAutoResize
Specifies window resizing behavior for the Splitter control.
Declaration
public bool EnableAutoResize { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableRTL
Specifies whether the direction is displayed from right to left.
Declaration
public bool EnableRTL { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ExpanderTemplate
Specify HTML element string to replace the existing expand/collapse icons.
Declaration
public string ExpanderTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Height
Specifies height for the Splitter control.
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsResponsive
Specifies window resizing behavior for the Splitter control.
Declaration
public bool IsResponsive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Model
Gets or sets the Splitter properties to the model
Declaration
public SplitterProperties Model { get; set; }
Property Value
Type | Description |
---|---|
SplitterProperties |
Orientation
Specifies the Orientation for the Splitter control. The Splitter supports both Vertical and Horizontal orientations of the pane.
Declaration
[JsonConverter(typeof(StringEnumConverter))]
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation |
PaneList
Collection of top-level items.
Declaration
public List<SplitPane> PaneList { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<SplitPane> |
PaneProperties
Specifies properties for each pane. PaneSize is one of the properties of PaneProperties.
Declaration
public List<PaneProperties> PaneProperties { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<PaneProperties> |
Width
Specifies width for the Splitter control.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
CreateChildControls()
Create the child controls
Declaration
protected override void CreateChildControls()
DependentScripts()
Get the dependent script for Splitter
Declaration
public List<string> DependentScripts()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
GetDependentFiles()
Get the dependent files for Splitter
Declaration
public override List<string> GetDependentFiles()
Returns
Type | Description |
---|---|
System.Collections.Generic.List<System.String> |
Overrides
LoadViewState(Object)
Restores view-state information from a previous page request.
Declaration
protected override void LoadViewState(object state)
Parameters
Type | Name | Description |
---|---|---|
System.Object | state |
Overrides
OnPreRender(EventArgs)
Modifying server controls before sending them to the client.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Render()
Render this instance
Declaration
public string Render()
Returns
Type | Description |
---|---|
System.String |
Render(HtmlTextWriter)
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.HtmlTextWriter | writer |