I'm evaluating the radcontrols package and have had some problems with the RadPropertyGrid with a FlagEnumEditor. I followed the documentation here: (http://www.telerik.com/help/wpf/radpropertygrid-radenumeditor.html). When I run the project and click on the enum field, the FlagEnumEditor seems to be broken. I can't just click on an option, I need to click and press spacebar. And it also doesn't let go of the focus. If I click anywhere else on the form, even the close button, the editor just opens and closes like I'm clicking on it. I have to stop the executable to exit the program. Am I just not setting it up properly, or is this a bug?
Code I used is below: Image is attached.
Code I used is below: Image is attached.
Class MainWindow
Public Sub New()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
RadPropertyGrid1.Item = New Employee
End Sub
End Class
Class Employee
Public Property Name As String
Public Property Position As PositionType
<
Flags
()> _
Public Enum PositionType As Integer
All = -1
None = 0
Engineer = 1
Sales = 2
Marketing = 4
Management = 8
End Enum
End Class