We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

What is a PopupControlContainer?

 

A PopupControlContainer lets you easily develop popup windows with any control within it. A PopupControlContainer is a panel-derived class into which you can place one or more controls and design it just like you would a panel during design-time.

When you show the popup, a top-level form will be created (with no borders) and parented to the PopupControlContainer and shown at the specified location.

You can also align the popup to a ParentControl’s border as in a combo box drop-down.

You can listen to the PopupControlContainer’s BeforePopup, CloseUp, and Popup events and apply application logic.

Some examples of custom popups are a drop-down ColorUI editor, drop-down text alignment editor, VS.NET-like drop-down undo/redo list box, etc.

Article ID: Published Date: Last Revised Date: Platform: Control:
1071 04/30/2011 07/10/2014 Windows Forms PopupControlContainer
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.