-
Notifications
You must be signed in to change notification settings - Fork 2
UI Generator ekUIGen
You can find it on GitHub - http://github.com/EmptyKeys/UI_Generator
Few notes for Generator assembly:
If you want to implement new control in generator you have to implement IGeneratorType interface. It's easier if base class of your control is some of the existing controls in library. In that case you can use base class in generator. For example if you create new specialized TextBox, you can use TextBoxGeneratorType as base for your generator class. Don't forget add your generator type to Generators collection of TypeGenerator class.
Resource Dictionary and some parts of type generator are using Value Generator and IGeneratorValue. This interface (and ValueGenerator) is usefull if you want generate some special value (let's say some custom data in resource dictionary).
Designer assembly is useful if you have some new control (or some feature), which is not normally supported by WPF XAML. You can implement designer stuff there.
UI Generator return codes -1 : wrong arguments -2 : error during code generation -3 : error during image asset copy (wrong target directory, missing files)
See Output in Visual Studio for detailed info.