.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

VisibleInDashboardsAttribute Class

When applied to a business class, specifies whether end-users can create dashboards for objects of the attribute's target type. When applied to a business class property, specifies if the target property is visible in the Dashboard Designer.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Interface, Inherited = false)]
public class VisibleInDashboardsAttribute :
    Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Property Or AttributeTargets.Interface, Inherited:=False)>
Public Class VisibleInDashboardsAttribute
    Inherits Attribute
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Interface, Inherited = false)]
public class VisibleInDashboardsAttribute :
    Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Property Or AttributeTargets.Interface, Inherited:=False)>
Public Class VisibleInDashboardsAttribute
    Inherits Attribute
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Property, Inherited = false)]
public class VisibleInDashboardsAttribute :
    Attribute
<AttributeUsage(AttributeTargets.Class Or AttributeTargets.Interface Or AttributeTargets.Property, Inherited:=False)>
Public Class VisibleInDashboardsAttribute
    Inherits Attribute

Remarks

When the VisibleInDashboardsAttribute attribute is applied to a business class, the corresponding item is added to the types list in the Dashboards Data Source Wizard. This allows end-users to create dashboards for objects of this class (see Create, View and Modify Dashboards in a WinForms Application and Create, View and Modify Dashboards in an ASP.NET Application).

WinForms:

DashboardWinDataType

ASP.NET:

DashboardWebDataType

When the VisibleInDashboardsAttribute attribute is applied to a business class property, and false is passed as a parameter, the target property is hidden from the Dashboard Designer.

Inheritance

Object
Attribute
VisibleInDashboardsAttribute
See Also