Class DashboardLayoutPanelBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
DashboardLayoutPanelBuilder
Assembly: Syncfusion.AspNetCore.Layouts.dll
Syntax
public class DashboardLayoutPanelBuilder : ControlBuilder
Constructors
DashboardLayoutPanelBuilder()
Declaration
public DashboardLayoutPanelBuilder()
DashboardLayoutPanelBuilder(List<DashboardLayoutPanel>)
Declaration
public DashboardLayoutPanelBuilder(List<DashboardLayoutPanel> collection)
Parameters
Methods
Add()
Declaration
Col(Int32)
Defines the column value where the panel to be placed.
Declaration
public DashboardLayoutPanelBuilder Col(int col)
Parameters
| Type |
Name |
Description |
| System.Int32 |
col |
|
Returns
Content(String)
Defines the template value that should be displayed as the panel's content.
Declaration
public DashboardLayoutPanelBuilder Content(string content)
Parameters
| Type |
Name |
Description |
| System.String |
content |
|
Returns
ContentTemplate(Action<Object>)
Declaration
public DashboardLayoutPanelBuilder ContentTemplate(Action<object> template)
Parameters
| Type |
Name |
Description |
| System.Action<System.Object> |
template |
|
Returns
ContentTemplate(Func<Object, Object>)
Declaration
public DashboardLayoutPanelBuilder ContentTemplate(Func<object, object> template)
Parameters
| Type |
Name |
Description |
| System.Func<System.Object, System.Object> |
template |
|
Returns
CssClass(String)
Defines the CSS class name that can be appended with each panel element.
Declaration
public DashboardLayoutPanelBuilder CssClass(string cssClass)
Parameters
| Type |
Name |
Description |
| System.String |
cssClass |
|
Returns
Enabled(Boolean)
Defines whether to the panel should be enabled or not.
Declaration
public DashboardLayoutPanelBuilder Enabled(bool enabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
enabled |
|
Returns
Defines the template value that should be displayed as the panel's header.
Declaration
public DashboardLayoutPanelBuilder Header(string header)
Parameters
| Type |
Name |
Description |
| System.String |
header |
|
Returns
Id(String)
Defines the id of the panel.
Declaration
public DashboardLayoutPanelBuilder Id(string id)
Parameters
| Type |
Name |
Description |
| System.String |
id |
|
Returns
MaxSizeX(Int32)
Specifies the maximum width of the panel in cells count.
Declaration
public DashboardLayoutPanelBuilder MaxSizeX(int maxSizeX)
Parameters
| Type |
Name |
Description |
| System.Int32 |
maxSizeX |
|
Returns
MaxSizeY(Int32)
Specifies the maximum height of the panel in cells count.
Declaration
public DashboardLayoutPanelBuilder MaxSizeY(int maxSizeY)
Parameters
| Type |
Name |
Description |
| System.Int32 |
maxSizeY |
|
Returns
MinSizeX(Double)
Specifies the minimum width of the panel in cells count.
Declaration
public DashboardLayoutPanelBuilder MinSizeX(double minSizeX)
Parameters
| Type |
Name |
Description |
| System.Double |
minSizeX |
|
Returns
MinSizeY(Double)
Specifies the minimum height of the panel in cells count.
Declaration
public DashboardLayoutPanelBuilder MinSizeY(double minSizeY)
Parameters
| Type |
Name |
Description |
| System.Double |
minSizeY |
|
Returns
MobilePanelHeight(Double)
Specifies the height of the panel in the layout in cells count for mobile view only.
When set, this height overrides the default sizeY value.
If null or undefined, falls back to sizeY.
Declaration
public DashboardLayoutPanelBuilder MobilePanelHeight(double mobilePanelHeight)
Parameters
| Type |
Name |
Description |
| System.Double |
mobilePanelHeight |
|
Returns
Row(Int32)
Defines a row value where the panel should be placed.
Declaration
public DashboardLayoutPanelBuilder Row(int row)
Parameters
| Type |
Name |
Description |
| System.Int32 |
row |
|
Returns
SizeX(Double)
Specifies the width of the panel in the layout in cells count.
Declaration
public DashboardLayoutPanelBuilder SizeX(double sizeX)
Parameters
| Type |
Name |
Description |
| System.Double |
sizeX |
|
Returns
SizeY(Double)
Specifies the height of the panel in the layout in cells count.
Declaration
public DashboardLayoutPanelBuilder SizeY(double sizeY)
Parameters
| Type |
Name |
Description |
| System.Double |
sizeY |
|
Returns
ZIndex(Double)
Specifies the z-index of the panel
Declaration
public DashboardLayoutPanelBuilder ZIndex(double zIndex)
Parameters
| Type |
Name |
Description |
| System.Double |
zIndex |
|
Returns