ScrollerPanel
A custom Panel control acts like a stock .NET Panel control, and additionally provides many features including being able to customize various user-interface aspects of the scrollbars in the control.
public class ScrollerPanel : Control, IScrollersDockHost, IScrollerPanel
Inherits from / implements: Control, IScrollersDockHost, IScrollerPanel
Members at a glance
ScrollerPanel | Initializes a new instance of the ScrollerPanel class. |
BorderColor | Gets or sets the color of the border. |
BorderSize | Gets or sets the size of the border. |
BorderStyle | Gets or sets the border style. |
ContentHostingPanel | Gets or sets the content hosting panel. |
DefaultSize | Gets the size this control starts out at before anything sets it. |
DockHost | Gets the dock host. |
HorizontalScrollBar | Gets the horizontal scroll bar. |
ScrollBarsOpaqueCornerColor | Gets or sets the color of the scroll bars opaque corner. |
ScrollControlsCompositeSizeMetadata | Gets the scroll controls composite size metadata. |
ScrollSize | Gets or sets the size of the scroll. |
ShouldNotPerformDockHostHorizontalSizePainting | Gets a value indicating whether the control should not perform dock host horizontal size painting. |
ShouldNotPerformDockHostVerticalSizePainting | Gets a value indicating whether the control should not perform dock host vertical size painting. |
ShouldProvideExtendedRenderingArtefacts | Gets a value indicating whether the control should provide extended rendering artifacts. |
VerticalScrollBar | Gets the vertical scroll bar. |
IsInputKey | Reports whether this control wants a key that the framework would otherwise treat as navigation. |
OnHandleCreated | Raises the HandleCreated event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior. |
OnKeyDown | Raises the KeyDown event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior. |
OnKeyUp | Raises the KeyUp event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior. |
OnMouseWheel | Raises the MouseWheel event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior. |
OnPaint | Raises the Paint event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior. |
OnParentChanged | Raises the ParentChanged event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior. |
OnSizeChanged | Raises the SizeChanged event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior. |
OnTabStopChanged | Raises the TabStopChanged event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior. |
OnVisibleChanged | Raises the VisibleChanged event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior. |
WndProc | Processes the Windows messages sent to this control's window. |
ScrollerPanelUpdated | Occurs when scroller panel is updated. |
Constructors
ScrollerPanel
Initializes a new instance of the ScrollerPanel class.
Properties
BorderColor
Gets or sets the color of the border.
Value. The color of the border.
BorderSize
Gets or sets the size of the border.
Value. The size of the border.
BorderStyle
Gets or sets the border style.
Value. The border style.
ContentHostingPanel
Gets or sets the content hosting panel.
DefaultSize
Gets the size this control starts out at before anything sets it.
DockHost
Gets the dock host.
HorizontalScrollBar
Gets the horizontal scroll bar.
ScrollBarsOpaqueCornerColor
Gets or sets the color of the scroll bars opaque corner.
ScrollControlsCompositeSizeMetadata
Gets the scroll controls composite size metadata.
ScrollSize
Gets or sets the size of the scroll.
ShouldNotPerformDockHostHorizontalSizePainting
Gets a value indicating whether the control should not perform dock host horizontal size painting.
ShouldNotPerformDockHostVerticalSizePainting
Gets a value indicating whether the control should not perform dock host vertical size painting.
ShouldProvideExtendedRenderingArtefacts
Gets a value indicating whether the control should provide extended rendering artifacts.
VerticalScrollBar
Gets the vertical scroll bar.
Methods
IsInputKey
Reports whether this control wants a key that the framework would otherwise treat as navigation.
OnHandleCreated
Raises the HandleCreated event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnKeyDown
Raises the KeyDown event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnKeyUp
Raises the KeyUp event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnMouseWheel
Raises the MouseWheel event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnPaint
Raises the Paint event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnParentChanged
Raises the ParentChanged event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnSizeChanged
Raises the SizeChanged event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnTabStopChanged
Raises the TabStopChanged event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnVisibleChanged
Raises the VisibleChanged event. ScrollerPanel overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
WndProc
Processes the Windows messages sent to this control's window.
Events
ScrollerPanelUpdated
Occurs when scroller panel is updated.