Class PanePropertiesBuilder
Represents a class for PanePropertiesBuilder which includes pane size, min size, max size, collapsible, expandable, resizable, and template properties.
Inheritance
System.Object
PanePropertiesBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class PanePropertiesBuilder
Constructors
PanePropertiesBuilder()
Declaration
public PanePropertiesBuilder()
PanePropertiesBuilder(PaneProperties)
Declaration
public PanePropertiesBuilder(PaneProperties item)
Parameters
Type | Name | Description |
---|---|---|
PaneProperties | item |
Methods
Collapsible()
allows pane to collapse.
Declaration
public PanePropertiesBuilder Collapsible()
Returns
Type | Description |
---|---|
PanePropertiesBuilder |
Collapsible(Boolean)
allows pane to collapse,when the boolean value is set to true.
Declaration
public PanePropertiesBuilder Collapsible(bool collapsible)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | collapsible |
Returns
Type | Description |
---|---|
PanePropertiesBuilder |
ContentTemplate(Action<PaneProperties>)
Specifies Content template.
Declaration
public PanePropertiesBuilder ContentTemplate(Action<PaneProperties> contentTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.Action<PaneProperties> | contentTemplate |
Returns
Type | Description |
---|---|
PanePropertiesBuilder |
ContentTemplate(Func<PaneProperties, Object>)
Declaration
public PanePropertiesBuilder ContentTemplate(Func<PaneProperties, object> contentTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.Func<PaneProperties, System.Object> | contentTemplate |
Returns
Type | Description |
---|---|
PanePropertiesBuilder |
Expandable()
allows pane to expand.
Declaration
public PanePropertiesBuilder Expandable()
Returns
Type | Description |
---|---|
PanePropertiesBuilder |
Expandable(Boolean)
allows pane to expand,when the boolean value is set to true.
Declaration
public PanePropertiesBuilder Expandable(bool expandable)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | expandable |
Returns
Type | Description |
---|---|
PanePropertiesBuilder |
MaxSize(String)
specifies maximum size of the pane.
Declaration
public PanePropertiesBuilder MaxSize(string maxSize)
Parameters
Type | Name | Description |
---|---|---|
System.String | maxSize |
Returns
Type | Description |
---|---|
PanePropertiesBuilder |
MinSize(String)
specifies minimum size of the pane.
Declaration
public PanePropertiesBuilder MinSize(string minSize)
Parameters
Type | Name | Description |
---|---|---|
System.String | minSize |
Returns
Type | Description |
---|---|
PanePropertiesBuilder |
PaneSize(String)
specifies the panesize.
Declaration
public PanePropertiesBuilder PaneSize(string paneSize)
Parameters
Type | Name | Description |
---|---|---|
System.String | paneSize |
Returns
Type | Description |
---|---|
PanePropertiesBuilder |
Resizable()
allows to resize the pane.
Declaration
public PanePropertiesBuilder Resizable()
Returns
Type | Description |
---|---|
PanePropertiesBuilder |
Resizable(Boolean)
allows to resize the pane, when it is set to true.
Declaration
public PanePropertiesBuilder Resizable(bool resizable)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | resizable |
Returns
Type | Description |
---|---|
PanePropertiesBuilder |