WinForms › Scroll Bars › IScrollersDockHost
IScrollersDockHost
interface.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ScrollBars
Implemented by a control that creates and docks the suite's scroll bars inside itself, such as the suite's scrolling panel and scrollable picture box.
public interface IScrollersDockHost
Remarks
Pass the host to the scroll bar constructors that take one: the bar then serves
DockHost and sizes itself to it. The two flags let the host say, for its current layout,
whether each bar should stop short of the other.
Applications that only use the hosts do not need to implement it.
Members at a glance
| Properties | |
|---|---|
DockHost | Gets the control the scroll bars dock into – usually the host itself. |
ShouldNotPerformDockHostHorizontalSizePainting | Gets whether a self-positioning horizontal bar should end short of the vertical bar, because both are showing. |
ShouldNotPerformDockHostVerticalSizePainting | Gets whether a self-positioning vertical bar should end short of the horizontal bar, because both are showing. |
Properties
DockHost
Control DockHost
Gets the control the scroll bars dock into – usually the host itself.
ShouldNotPerformDockHostHorizontalSizePainting
bool ShouldNotPerformDockHostHorizontalSizePainting
Gets whether a self-positioning horizontal bar should end short of the vertical bar, because both are showing.
- Value
truewhile both bars are showing.
ShouldNotPerformDockHostVerticalSizePainting
bool ShouldNotPerformDockHostVerticalSizePainting
Gets whether a self-positioning vertical bar should end short of the horizontal bar, because both are showing.
- Value
truewhile both bars are showing.