WinForms › Scrollable Panel › ScrollablePanelControlDesigner
ScrollablePanelControlDesigner
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.Containers.Designers
Design-time support for the scrollable panel: it fixes the selection handles the designer offers and draws a hint on the empty surface.
public sealed class ScrollablePanelControlDesigner : ControlDesigner
Inherits from / implements: ControlDesigner
Members at a glance
SelectionRules | Gets the directions the designer allows this control to be resized in. |
Initialize | Attaches this designer to the control instance it is designing. |
OnPaintAdornments | Raises the PaintAdornments event. ScrollablePanelControlDesigner overrides it so the control's own handling runs alongside the base behavior. |
Properties
SelectionRules
public override SelectionRules SelectionRules
Gets the directions the designer allows this control to be resized in.
Methods
Initialize
public override void Initialize(IComponent component)
Attaches this designer to the control instance it is designing.
OnPaintAdornments
protected override void OnPaintAdornments(PaintEventArgs pe)
Raises the PaintAdornments event. ScrollablePanelControlDesigner overrides it so the control's own handling runs alongside the base behavior.
- pe
- The data for the event.