menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DashboardLayoutPanelBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DashboardLayoutPanelBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    DashboardLayoutPanelBuilder
    Namespace: Syncfusion.EJ2.Layouts
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class DashboardLayoutPanelBuilder : ControlBuilder

    Constructors

    DashboardLayoutPanelBuilder()

    Declaration
    public DashboardLayoutPanelBuilder()

    DashboardLayoutPanelBuilder(List<DashboardLayoutPanel>)

    Declaration
    public DashboardLayoutPanelBuilder(List<DashboardLayoutPanel> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<DashboardLayoutPanel> collection

    Methods

    Add()

    Declaration
    public void Add()

    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
    Type
    DashboardLayoutPanelBuilder

    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
    Type
    DashboardLayoutPanelBuilder

    ContentTemplate(Action<Object>)

    Declaration
    public DashboardLayoutPanelBuilder ContentTemplate(Action<object> template)
    Parameters
    Type Name Description
    System.Action<System.Object> template
    Returns
    Type
    DashboardLayoutPanelBuilder

    ContentTemplate(Func<Object, Object>)

    Declaration
    public DashboardLayoutPanelBuilder ContentTemplate(Func<object, object> template)
    Parameters
    Type Name Description
    System.Func<System.Object, System.Object> template
    Returns
    Type
    DashboardLayoutPanelBuilder

    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
    Type
    DashboardLayoutPanelBuilder

    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
    Type
    DashboardLayoutPanelBuilder

    Header(String)

    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
    Type
    DashboardLayoutPanelBuilder

    Id(String)

    Defines the id of the panel.

    Declaration
    public DashboardLayoutPanelBuilder Id(string id)
    Parameters
    Type Name Description
    System.String id
    Returns
    Type
    DashboardLayoutPanelBuilder

    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
    Type
    DashboardLayoutPanelBuilder

    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
    Type
    DashboardLayoutPanelBuilder

    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
    Type
    DashboardLayoutPanelBuilder

    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
    Type
    DashboardLayoutPanelBuilder

    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
    Type
    DashboardLayoutPanelBuilder

    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
    Type
    DashboardLayoutPanelBuilder

    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
    Type
    DashboardLayoutPanelBuilder

    ZIndex(Double)

    Specifies the z-index of the panel

    Declaration
    public DashboardLayoutPanelBuilder ZIndex(double zIndex)
    Parameters
    Type Name Description
    System.Double zIndex
    Returns
    Type
    DashboardLayoutPanelBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved