-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathGanttItemMetadata.vb
59 lines (53 loc) · 2.13 KB
/
GanttItemMetadata.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Imports DevExpress.DashboardCommon
Imports System.ComponentModel
Namespace DevExpress.DashboardWin.CustomItemExtension
<DisplayName("Gantt"), CustomItemDescription("Create a Gantt dashboard item and insert it into the dashboard." & vbLf & vbLf & "The Gantt item dispalys tasks organized in a tree list with a bar chart that visualizes a schedule data."), CustomItemImage("GanttItem.svg")>
Public Class GanttItemMetadata
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("Text"), EmptyDataItemPlaceholder("Text"), SupportColoring(DefaultColoringMode.None), SupportInteractivity>
Public Property Text() As Dimension
Get
Return GetPropertyValue(Of Dimension)()
End Get
Set(ByVal value As Dimension)
SetPropertyValue(value)
End Set
End Property
<DisplayName("Start Date"), EmptyDataItemPlaceholder("Start Date"), SupportedDataTypes(DataSourceFieldType.DateTime), DefaultGroupInterval(DateTimeGroupInterval.DayMonthYear), SupportInteractivity>
Public Property StartDate() As Dimension
Get
Return GetPropertyValue(Of Dimension)()
End Get
Set(ByVal value As Dimension)
SetPropertyValue(value)
End Set
End Property
<DisplayName("Finish Date"), EmptyDataItemPlaceholder("Finish Date"), SupportedDataTypes(DataSourceFieldType.DateTime), DefaultGroupInterval(DateTimeGroupInterval.DayMonthYear), SupportInteractivity>
Public Property FinishDate() As Dimension
Get
Return GetPropertyValue(Of Dimension)()
End Get
Set(ByVal value As Dimension)
SetPropertyValue(value)
End Set
End Property
End Class
End Namespace