Class StackedHeaderColumnBuilder<T>
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class StackedHeaderColumnBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
StackedHeaderColumnBuilder(StackedHeaderRow)
Initializes a new instance of the StackedHeaderColumnBuilder<T> class.
Declaration
public StackedHeaderColumnBuilder(StackedHeaderRow stackedHeaderRow)
Parameters
Type | Name | Description |
---|---|---|
StackedHeaderRow | stackedHeaderRow | It displays the list of StackedHeaderRows |
Methods
Add()
Adds the Stacked Headercolumns into stackedHeader Row.
Declaration
public void Add()
Column(Action<StackedColumnBuilder<T>>)
It sets a value that indicates the header text for the particular stacked header column.
Declaration
public StackedHeaderColumnBuilder<T> Column(Action<StackedColumnBuilder<T>> column)
Parameters
Type | Name | Description |
---|---|---|
System.Action<StackedColumnBuilder<T>> | column | It accepts the list of string value and displays the column as stackedheader column through lambda expression |
Returns
Type | Description |
---|---|
StackedHeaderColumnBuilder<T> | StackedHeaderColumnBuilder |
Column(List<String>)
It sets a value that indicates the header text for the particular stacked header column.
Declaration
public StackedHeaderColumnBuilder<T> Column(List<string> column)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | column | It accepts the list of string value and displays the column as stackedheader column |
Returns
Type | Description |
---|---|
StackedHeaderColumnBuilder<T> | StackedHeaderColumnBuilder |
CssClass(String)
It sets a value that indicates class to the corresponding stackedHeaderColumn.
Declaration
public StackedHeaderColumnBuilder<T> CssClass(string cssclass)
Parameters
Type | Name | Description |
---|---|---|
System.String | cssclass | It accepts the string value and displays the Css class for stackedheader column |
Returns
Type | Description |
---|---|
StackedHeaderColumnBuilder<T> | StackedHeaderColumnBuilder |
HeaderText(String)
It sets a value that indicates the header text for the particular stacked header column.
Declaration
public StackedHeaderColumnBuilder<T> HeaderText(string stackedHeaderText)
Parameters
Type | Name | Description |
---|---|---|
System.String | stackedHeaderText | It accepts the string value and displays the headertext of stackedheader column |
Returns
Type | Description |
---|---|
StackedHeaderColumnBuilder<T> | StackedHeaderColumnBuilder |
TextAlign(TextAlign)
It sets a value that indicates the text alignment of the corresponding headerText.
Declaration
public StackedHeaderColumnBuilder<T> TextAlign(TextAlign textAlign)
Parameters
Type | Name | Description |
---|---|---|
TextAlign | textAlign | It displays the list of TextAlign values |
Returns
Type | Description |
---|---|
StackedHeaderColumnBuilder<T> | StackedHeaderColumnBuilder |
TextAlign(TextAlign)
It sets a value that indicates to align the text within the column.
Declaration
public StackedHeaderColumnBuilder<T> TextAlign(TextAlign textAlign)
Parameters
Type | Name | Description |
---|---|---|
System.Web.UI.WebControls.TextAlign | textAlign | It displays the list of TextAlign values in Webcontrols |
Returns
Type | Description |
---|---|
StackedHeaderColumnBuilder<T> | StackedHeaderColumnBuilder |
Tooltip(String)
Sets the template for Tooltip in Grid Columns(both header and content)
Declaration
public StackedHeaderColumnBuilder<T> Tooltip(string tooltip)
Parameters
Type | Name | Description |
---|---|---|
System.String | tooltip | It accepts the string value and displays the tooltip for stackedHeaderColumns |
Returns
Type | Description |
---|---|
StackedHeaderColumnBuilder<T> | StackedHeaderColumnBuilder |