Search This Blog
Wednesday, October 16, 2013
A custom PropertyEditor for syntax highlighting
Today I saw a similar request from a customer, so I wanted to take this moment to remind the community about a custom PropertyEditor that resides in our Feature Center demo (there you can find technical how-to examples for countless scenarios):
Technically, this CSCodePropertyEditor is a descendant of the built-in WinPropertyEditor class, which uses our RichEditControl and its services to nicely display a text saved within a System.String property of a persistent class. I hope this small customization example will once again help you see that you can implement any custom UI in your XAF app. Want to learn more on this, check out the eXpressApp Framework > Concepts > UI Construction and related help articles or contact support. Thanks!
Technically, this CSCodePropertyEditor is a descendant of the built-in WinPropertyEditor class, which uses our RichEditControl and its services to nicely display a text saved within a System.String property of a persistent class. I hope this small customization example will once again help you see that you can implement any custom UI in your XAF app. Want to learn more on this, check out the eXpressApp Framework > Concepts > UI Construction and related help articles or contact support. Thanks!
Subscribe to:
Post Comments (Atom)
Thanks Dennis this is a really useful editor for the WorldCreator module
ReplyDeletehttp://www.expandframework.com/#worldcreator
I don't understand where to look in the screen shot. Also, could you show a shot with the property in action?
ReplyDelete@Tolis: I am glad to hear that it can be helpful for eXpand!
ReplyDelete@Willem: Well, it is right in the center of the screenshot. See at the tab named "C# code", which contains a RichEditControl that highlights some code...