HypernovaDesktop Components · docs
Binarymission
WinForms › Scroll Bars › VerticalScrollBarControlDesigner

VerticalScrollBarControlDesigner

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ScrollBars.Designers

Design-time support for the vertical scroll bar: it lets the bar be moved and resized on the design surface and passes clicks on it to the bar, so its arrows and thumb work in the designer.

public sealed class VerticalScrollBarControlDesigner : ParentControlDesigner

Inherits from / implements: ParentControlDesigner

Remarks

Used by the Windows Forms designer; not for use in application code.

Members at a glance

Properties
SelectionRulesGets how the bar can be manipulated on the design surface: it is visible, movable and resizable on every side.
Methods
InitializeAttaches the designer to the bar being designed.
WndProcPasses the bar's own window messages to the bar, and selects it on the design surface when it is clicked.

Properties

SelectionRules

public override SelectionRules SelectionRules

Gets how the bar 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 bar being designed.

Parameters
component
The bar.

WndProc

protected override void WndProc(ref Message message)

Passes the bar's own window messages to the bar, and selects it on the design surface when it is clicked.

Parameters
message
The message.