Hi WiseJ team,
I noticed you have support for an “Editor” attribute, but the samples all seem to use built-in editors from WiseJ.
Can we extend the Editors and have our own custom editors? We use the property grid a lot and depend on custom popup editors to do a lot of complex configuration. In VWG, the property line has an ellipse button which pops up the editor.
If so, is there any documentation or a sample on this? Thanks in advance
Mitch
Wisej supports the entire .NET Component Model system. You can define TypeConverters and DropDown or Modal editors and even draw a picture into the value cell of the PropertyGrid. You can also differentiate between WinForms editors and Wisej editors by querying for the IWisejEditorService instead of the IWindowsFormsEditorService. The methods of the interface are the same (https://docs.wisej.com/api/wisej.core/interfaces/wisej.core.iwisejeditorservice).
This is a good document from MS: https://msdn.microsoft.com/en-us/library/ms171840.aspx
I will post a sample.
Sorry, forgot. Here it is. This sample should get you started. You can refer to the .NET standard System.ComponentModel docs to explore the TypeConverters and UITypeEditor features.
Please login first to submit.