WinForms › Scroll Bar Marker › ImageMarkSizingMode
ImageMarkSizingMode
enum.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.MarkerScrollBar
How a ScrollBarImageMark chooses the size its image is drawn at.
public enum ImageMarkSizingMode
Members at a glance
| Members | |
|---|---|
Image | The image's own size. An image wider than a vertical bar, or taller than a horizontal one, is cut to the bar's thickness less 2 pixels. |
ScrollBar | A square as wide as the bar is thick, less 2 pixels (and less the border, when one is drawn). |
UserSize | The mark's ScrollBarMarkBase.Size. A side longer than the bar is thick falls back to the
image's own size, and to the bar's thickness less 2 pixels (and less the border) if that is still too
long. |
Members
Image
The image's own size. An image wider than a vertical bar, or taller than a horizontal one, is cut to the bar's thickness less 2 pixels.
ScrollBar
A square as wide as the bar is thick, less 2 pixels (and less the border, when one is drawn).
UserSize
The mark's ScrollBarMarkBase.Size. A side longer than the bar is thick falls back to the
image's own size, and to the bar's thickness less 2 pixels (and less the border) if that is still too
long.