WinForms › Scrollable Picture › ScrollablePictureControlDesigner
ScrollablePictureControlDesigner
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.Containers.Scrollers.Designers
Design-time support for ScrollablePicture: it lets the control be moved and resized, and passes
clicks on it to the control, so its scroll bars work on the design surface.
public sealed class ScrollablePictureControlDesigner : ParentControlDesigner
Inherits from / implements: ParentControlDesigner
Remarks
Used by the Windows Forms designer; not for use in application code.
Members at a glance
| Properties | |
|---|---|
SelectionRules | Gets how the control can be manipulated on the design surface: it is visible, movable and resizable on every side. |
| Methods | |
Initialize | Attaches the designer to the control being designed. |
WndProc | Passes the control's own window messages to the control, and selects it on the design surface when it is clicked. |
Properties
SelectionRules
public override SelectionRules SelectionRules
Gets how the control can be manipulated on the design surface: it is visible, movable and resizable on every side.
Methods
Initialize
public override void Initialize(IComponent component)
Attaches the designer to the control being designed.
Parameters
component- The control.
WndProc
protected override void WndProc(ref Message message)
Passes the control's own window messages to the control, and selects it on the design surface when it is clicked.
Parameters
message- The message.