Files
SISBusiness/SISBusiness.Module.Win/Editor/DashBoard/Designer/DashboardDesignerPropertyEditor.vb
T
2017-03-26 20:00:03 +02:00

28 lines
1.0 KiB
VB.net

Imports Microsoft.VisualBasic
Imports System
Imports DevExpress.ExpressApp.Win.Editors
Imports DevExpress.ExpressApp.Model
Imports DevExpress.ExpressApp.Editors
<PropertyEditor(GetType([String]), False)> _
Public Class DashboardDesignerPropertyEditor
Inherits WinPropertyEditor
Public Sub New(ByVal objectType As Type, ByVal info As IModelMemberViewItem)
MyBase.New(objectType, info)
ControlBindingProperty = "DashboardDesignerInfo"
End Sub
Private DashboardDesignerUserControlCore As DashboardDesignerUserControl = Nothing
Public ReadOnly Property DashboardDesignerUserControl() As DashboardDesignerUserControl
Get
Return DashboardDesignerUserControlCore
End Get
End Property
Protected Overrides Function CreateControlCore() As Object
DashboardDesignerUserControlCore = New DashboardDesignerUserControl()
Return DashboardDesignerUserControlCore
End Function
Protected Overrides Sub OnAllowEditChanged()
MyBase.OnAllowEditChanged()
End Sub
End Class