HypernovaDesktop Components · docs
Binarymission
WinFormsHeader Control › BinaryScrollablePanel

BinaryScrollablePanel

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

The custom scrollable panel control that can be used to make the BinaryHeaderControl client area, scrollable.

public class BinaryScrollablePanel : Panel

Inherits from / implements: Panel

Remarks

By default, the BinaryHeaderControl is not scrollable - i.e. its AutoScroll property is always set to false.
If you want to auto-scroll the client area of the BinaryHeaderControl control, then you will need to place this control BinaryScrollablePanel inside the BinaryHeaderControl and then place your controls (i.e. the child controls) on this control's surface.

Members at a glance

BinaryScrollablePanelInitializes a new instance of the BinaryScrollablePanel class.
ColorSchemeGets or sets the color scheme.
EndColorForGradientRenderingGets or sets the end color for scrollable panel's background gradient rendering.
GradientDrawingDirectionGets or sets the gradient drawing direction.
StartColorForGradientRenderingGets or sets the start color for scrollable panel's background gradient rendering.
OnEnterRaises the Enter event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.
OnMouseWheelRaises the MouseWheel event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.
OnPaintRaises the Paint event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.
OnPaintBackgroundRaises the PaintBackground event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.
OnParentChangedRaises the ParentChanged event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.
OnResizeRaises the Resize event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.
WndProcProcesses the Windows messages sent to this control's window.

Constructors

BinaryScrollablePanel

public BinaryScrollablePanel() : base()

Initializes a new instance of the BinaryScrollablePanel class.

Properties

ColorScheme

public ColorScheme ColorScheme

Gets or sets the color scheme.

Value. The color scheme.

EndColorForGradientRendering

public Color EndColorForGradientRendering

Gets or sets the end color for scrollable panel's background gradient rendering.

Value. The end color.

GradientDrawingDirection

public LinearGradientMode GradientDrawingDirection

Gets or sets the gradient drawing direction.

Value. The gradient drawing direction.

StartColorForGradientRendering

public Color StartColorForGradientRendering

Gets or sets the start color for scrollable panel's background gradient rendering.

Value. The start color.

Methods

OnEnter

protected override void OnEnter(EventArgs e)

Raises the Enter event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

OnMouseWheel

protected override void OnMouseWheel(MouseEventArgs e)

Raises the MouseWheel event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

OnPaint

protected override void OnPaint(PaintEventArgs e)

Raises the Paint event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

OnPaintBackground

protected override void OnPaintBackground(PaintEventArgs pevent)

Raises the PaintBackground event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.

pevent
The data for the event.

OnParentChanged

protected override void OnParentChanged(EventArgs e)

Raises the ParentChanged event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

OnResize

protected override void OnResize(EventArgs e)

Raises the Resize event. BinaryScrollablePanel overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

WndProc

protected override void WndProc(ref Message m)

Processes the Windows messages sent to this control's window.