Changes

HowTo:Inject UI into UBIK Studio

279 bytes added, 16 June
The existing User Control list can be extended to provide additional controls.
==== Implementation ====
It is enough to add the following code to Paste your UserControlUser Control into your plugin solution.Make your plugin implement IUBIKEnvironmentControl and add the export.
<syntaxhighlight lang="python">
[Export(typeof(IUBIKControl))]
public partial class CtrlAtelierHost : UserControl, IUBIKEnvironmentControl
</syntaxhighlight>
The user control now has a property Description and Image.
The text of description and the image will show up in the User Control List.
After making the changes make sure to update the plugin in the injection folder.
[[File:ControlDropDown.png|thumb|220px|Extended user control list]]
283
edits