Support Forums

is it possible to add a usercontrol?

Use this forum to ask questions before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
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.
User avatar
hapoogold
Posts: 1
Joined: Sun Oct 11, 2015 4:29 am

is it possible to add a usercontrol?

Postby hapoogold » Sat Dec 12, 2015 3:31 am

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?
User avatar
davidc
Posts: 4354
Joined: Thu Aug 18, 2011 4:56 am

Re: is it possible to add a usercontrol?

Postby davidc » Mon Dec 14, 2015 9:26 am

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
SAPIEN Technologies, Inc.
User avatar
davidc
Posts: 4354
Joined: Thu Aug 18, 2011 4:56 am

Re: is it possible to add a usercontrol?

Postby davidc » Mon Dec 14, 2015 9:29 am

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
SAPIEN Technologies, Inc.

Return to “Trial Software Questions”

Who is online

Users browsing this forum: No registered users and 2 guests

cron