WinForms › Popup Container › PopupContentHost
PopupContentHost
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ContainerPopups
The scrollable content area of a popup. It is a scroller panel that configures its own border and scroll bars for use inside a popup window.
public class PopupContentHost : ScrollerPanel
Inherits from / implements: ScrollerPanel
Members at a glance
PopupContentHost | Initializes a new instance of the PopupContentHost class, with the popup's border and scroll bar defaults. |
OnHandleCreated | Raises the HandleCreated event. |
Constructors
PopupContentHost
public PopupContentHost()
Initializes a new instance of the PopupContentHost class, with the popup's border and scroll bar defaults.
The defaults are applied here, once, so anything set after construction - in a designer file or in code - stands. Do not apply them in OnHandleCreated: that runs later, and again on every handle recreation, and would overwrite the caller's settings.
Methods
OnHandleCreated
protected override void OnHandleCreated(EventArgs e)
Raises the HandleCreated event.
- e
- The data for the event.
Kept for compatibility with code that overrides it; it does not reset the host's appearance (see the constructor).