Articles in this section
Category / Section

What is a PopupControlContainer?

1 min read

 

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.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied