Developer Resources

SystemMetrics

Overview

The SystemMetrics class provides access to system metrics.

Properties

SystemMetrics.BorderHeight
The height of a single border.
SystemMetrics.BorderWidth
The width of a single border.
SystemMetrics.CaptionHeight
The height of a window caption area.
SystemMetrics.CursorHeight
The height of the cursor.
SystemMetrics.CursorWidth
The width of the cursor.
SystemMetrics.DoubleClickHeight
The maximum vertical distance between two mouse clicks in order to generate a double-click.
SystemMetrics.DoubleClickWidth
The maximum horizontal distance between two mouse clicks in order to generate a double-click.
SystemMetrics.DragHeight
The minimum vertical distance the mouse must move from a drag point in order to generate a drag event.
SystemMetrics.DragWidth
The minimum horizontal distance the mouse must move from a drag point in order to generate a drag event.
SystemMetrics.EdgeHeight
The height of a 3D border.
SystemMetrics.EdgeWidth
The width of a 3D border.
SystemMetrics.FrameSizeHeight
The height of the frame of a thick-framed window.
SystemMetrics.FrameSizeWidth
The width of the frame of a thick-framed window.
SystemMetrics.HorizontalScrollArrowHeight
The height of the arrow bitmap on a horizontal scrollbar.
SystemMetrics.HorizontalScrollArrowWidth
The width of the arrow bitmap on a horizontal scrollbar.
SystemMetrics.HorizontalScrollbarHeight
The height of a horizontal scrollbar.
SystemMetrics.HorizontalThumbWidth
The width of a horizontal scrollbar thumb tracker.
SystemMetrics.IconHeight
The default height of an icon.
SystemMetrics.IconWidth
The default width of an icon.
SystemMetrics.IconSpacingHeight
The height of a grid cell for items tiled in large icon view.
SystemMetrics.IconSpacingWidth
The width of a grid cell for items tiled in large icon view.
SystemMetrics.MenuBarHeight
The height of a menu bar.
SystemMetrics.ScreenHeight
The height of the screen.
SystemMetrics.ScreenWidth
The width of the screen.
SystemMetrics.SmallIconHeight
The recommended height of a small icon.
SystemMetrics.SmallIconWidth
The recommended width of a small icon.
SystemMetrics.VerticalScrollArrowHeight
The height of the arrow bitmap on a vertical scrollbar.
SystemMetrics.VerticalScrollArrowWidth
The width of the arrow bitmap on a vertical scrollbar.
SystemMetrics.VerticalScrollbarWidth
The width of a vertical scrollbar.
SystemMetrics.VerticalThumbHeight
The height of a vertical scrollbar thumb tracker.
SystemMetrics.WindowMinimumHeight
The minimum height of a window.
SystemMetrics.WindowMinimumWidth
The minimum width of a window.