Custom UI Editor in the Property grid

0
0

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

  • You must to post comments
0
0

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.

 

  • Andrew Hills
    Hi Luca, did you end up posting an example somewhere showing a custom control in the property control?
  • You must to post comments
0
0

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.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.