-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCustomComboBoxEdit.vb
37 lines (30 loc) · 1.04 KB
/
CustomComboBoxEdit.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
Imports System.Drawing
Imports DevExpress.XtraEditors
Imports System.ComponentModel
Imports DevExpress.XtraEditors.Drawing
Imports DevExpress.XtraEditors.Popup
Imports DevExpress.Utils.Drawing
Namespace DXSample
Public Class CustomEdit
Inherits ComboBoxEdit
Shared Sub New()
RepositoryItemCustomEdit.RegisterCustomEdit()
End Sub
Public Sub New()
End Sub
Public Overrides ReadOnly Property EditorTypeName As String
Get
Return RepositoryItemCustomEdit.CustomEditName
End Get
End Property
<DesignerSerializationVisibility(DesignerSerializationVisibility.Content)>
Public Overloads ReadOnly Property Properties As RepositoryItemCustomEdit
Get
Return TryCast(MyBase.Properties, RepositoryItemCustomEdit)
End Get
End Property
Protected Overrides Function CreatePopupForm() As PopupBaseForm
Return New CustomPopupForm(Me)
End Function
End Class
End Namespace