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.
HANDOVER 3bf. The defaults are applied here, once, so anything set after construction - in a designer file or in code - stands. They used to be applied in OnHandleCreated, which runs after all of that, and again every time the handle is recreated: every colour, border and scroll bar setting a caller made was put back to these values the moment the host was shown.
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 no longer resets the host's appearance (see the constructor).