dashboard-devexpress-dot-dashboardcommon-dot-dashboarditemstate-4b11d7f2.md
Gets or sets values for the drill-down hierarchy.
Namespace : DevExpress.DashboardCommon
Assembly : DevExpress.Dashboard.v25.2.Core.dll
NuGet Package : DevExpress.Dashboard.Core
public List<object> DrillDownValues { get; set; }
Public Property DrillDownValues As List(Of Object)
| Type | Description |
|---|---|
| List<Object> |
A list of objects that specify values for the drill-down hierarchy.
|
The following code snippet shows how to specify a drill-down value for a Grid dashboard item and add it to the entire dashboard state (DashboardState)
public DashboardState CreateDashboardState() {
DashboardState state = new DashboardState();
state.Items.Add(new DashboardItemState("gridDashboardItem1") {
DrillDownValues = new List<object>() { "Seafood" }
});
return state;
}
Public Function CreateDashboardState() As DashboardState
Dim state As New DashboardState()
state.Items.Add(New DashboardItemState("gridDashboardItem1") With {.DrillDownValues = New List(Of Object) (New Object() {"Seafood"})})
Return state
End Function
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DrillDownValues property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
if( itemState.DrillDownValues.Count != 0) {
message += "\n" + "Filter Drill-Down:" + " " + string.Join("," , itemState.DrillDownValues);
}
If itemState.DrillDownValues.Count <> 0 Then
message += Microsoft.VisualBasic.Constants.vbLf & "Filter Drill-Down:" & " " & String.Join(",", itemState.DrillDownValues)
End If
See Also