Hi,
i want to know is it possible to add a usercontrol to the toolbox? So that I can create a custom control and use it in powershell studio?
I can do that in visual studio and I can have a dll file that I can import to toolbox of visual studio. I want to know if it is possible to do this in powershell studio?
is it possible to add a usercontrol?
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Re: is it possible to add a usercontrol?
We don't support custom controls in the designer, because not all the .NET controls are completely compatible with PowerShell. Plus we test each individual control to ensure the generated code works properly.
David
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: is it possible to add a usercontrol?
This doesn't mean you can't add your custom control in the script editor. You can use a placeholder control in the designer (such as a picturebox) and replace it with the custom control at runtime. The ElementHost control set is a good example of this.
David
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.