Class Splitter
Inheritance
Namespace: Syncfusion.EJ2.Layouts
Assembly: Syncfusion.EJ2.dll
Syntax
public class Splitter : EJTagHelper
Constructors
Splitter()
Declaration
public Splitter()
Properties
BeforeCollapse
Triggers when before panes get collapsed.
Declaration
public string BeforeCollapse { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
BeforeExpand
Triggers when before panes get expanded.
Declaration
public string BeforeExpand { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
BeforeSanitizeHtml
Event triggers before sanitize the value.
Declaration
public string BeforeSanitizeHtml { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Collapsed
Triggers when after panes get collapsed.
Declaration
public string Collapsed { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
Created
Triggers after creating the splitter component with its panes.
Declaration
public string Created { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
CssClass
Specifies the CSS class names that defines specific user-defined styles and themes to be appended on the root element of the Splitter. It is used to customize the Splitter control. One or more custom CSS classes can be specified to the Splitter.
Declaration
public string CssClass { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Enabled
Specifies boolean value that indicates whether the component is enabled or disabled. The Splitter component does not allow to interact when this property is disabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
EnableHtmlSanitizer
Defines whether to allow the cross-scripting site or not.
Declaration
public bool EnableHtmlSanitizer { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
EnablePersistence
Enables or disables the persisting component's state between page reloads.
Declaration
public bool EnablePersistence { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EnableReversePanes
Specifies the value whether splitter panes are reordered or not .
Declaration
public bool EnableReversePanes { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is true |
EnableRtl
Enable or disable rendering component in right to left direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
Expanded
Triggers when after panes get expanded.
Declaration
public string Expanded { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Height
Specifies the height of the Splitter component that accepts both string and number values.
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "100%" |
HtmlAttributes
Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.
Declaration
public object HtmlAttributes { get; set; }
Property Value
Type |
---|
System.Object |
Locale
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Orientation
Specifies a value that indicates whether to align the split panes horizontally or vertically. Set the orientation property as "Horizontal" to create a horizontal splitter that aligns the panes left-to-right. Set the orientation property as "Vertical" to create a vertical splitter that aligns the panes top-to-bottom.
Declaration
public Orientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
Orientation | The default value is Orientation.Horizontal |
PaneSettings
Configures the individual pane behaviors such as content, size, resizable, minimum, maximum validation, collapsible and collapsed.
Declaration
public List<SplitterPane> PaneSettings { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Syncfusion.EJ2.Layouts.SplitterPane> | The default value is null |
ResizeStart
Triggers when the split pane is started to resize.
Declaration
public string ResizeStart { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
ResizeStop
Triggers when the resizing of split pane is stopped.
Declaration
public string ResizeStop { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Resizing
Triggers when a split pane is being resized.
Declaration
public string Resizing { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
SeparatorSize
Specifies the size of the separator line for both horizontal or vertical orientation. The separator is used to separate the panes by lines.
Declaration
public double SeparatorSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is Double.NaN |
Width
Specifies the width of the Splitter control, which accepts both string and number values as width. The string value can be either in pixel or percentage format.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "100%" |