-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathTreeListItemMetadata.vb
35 lines (30 loc) · 1.37 KB
/
TreeListItemMetadata.vb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Imports DevExpress.DashboardCommon
Imports System.ComponentModel
Namespace DevExpress.DashboardWin.CustomItemExtension
<DisplayName("Tree List"), CustomItemDescription("Create a Tree List dashboard item and insert it into the dashboard." & vbLf & vbLf & "This hybrid item combines a Tree List and Grid. The Tree List uses the parent-child relationships to generate the hierarchical data structure."), CustomItemImage("TreeListItem.svg")>
Public Class TreeListItemMetadata
Inherits CustomItemMetadata
<DisplayName("ID"), EmptyDataItemPlaceholder("ID"), SupportInteractivity>
Public Property ID() As Dimension
Get
Return GetPropertyValue(Of Dimension)()
End Get
Set(ByVal value As Dimension)
SetPropertyValue(value)
End Set
End Property
<DisplayName("Parent ID"), EmptyDataItemPlaceholder("Parent ID"), SupportInteractivity>
Public Property ParentID() As Dimension
Get
Return GetPropertyValue(Of Dimension)()
End Get
Set(ByVal value As Dimension)
SetPropertyValue(value)
End Set
End Property
<DisplayName("Dimensions"), EmptyDataItemPlaceholder("Dimension"), SupportInteractivity>
Public ReadOnly Property Dimensions() As New DimensionCollection()
<DisplayName("Measures"), EmptyDataItemPlaceholder("Measure")>
Public ReadOnly Property Measures() As New MeasureCollection()
End Class
End Namespace