Currently the control property view in Sitefinity
supports only modal
custom property editors. Unfortunately, this is not valid for the Boolean and Enum data types. Further we will provide an ability to use inline
property editors, which will replace the default ones (so you will be able to replace dropdown with checkbox or single-line textbox with multi-line textbox for some of the properties).
The example of using custom property editors is demonstrated in the JobsIntraSite
sample site. It can be downloaded from http://www.sitefinity.com/support/forums/support-forum-thread/b1043S-gtktm.aspx
with the latest build.
In the JobsIntraSite
sample site, a custom property editor is provided for the CategoryId property of ~/Jobs/JobList.ascx user control:
public long CategoryId
this.categoryId = value;
The actual property editor is implemented as ~/Jobs/CategoryPicker.ascx
All property editors should implement IWebUITypeEditor inteface or WebUITypeEditor<T> abstract class.
We hope this will help for now. We will try to provide more examples and KBs in the future.