Interface · Core and Composition
WindowMetricsEvent
Coalesced post-layout metrics for the containing desktop window.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Members
clientHeight
readonly clientHeight: numberArranged client height in device-independent pixels.
Type: number
clientWidth
readonly clientWidth: numberArranged client width in device-independent pixels.
Type: number
displayName
readonly displayName: stringOperating-system name of the current display, when available.
Type: string
isPrimary
readonly isPrimary: booleanWhether the current display is the primary display.
Type: boolean
pixelWorkingArea
readonly pixelWorkingArea: { height: number; width: number; x: number; y: number }Current display work area in physical desktop pixels.
Type: { height: number; width: number; x: number; y: number }
scaling
readonly scaling: numberNative pixels per device-independent pixel on the current display.
Type: number
windowState
readonly windowState: WindowStateCurrent native presentation state.
Type: WindowState
workingAreaHeight
readonly workingAreaHeight: numberCurrent display work-area height in device-independent pixels.
Type: number
workingAreaWidth
readonly workingAreaWidth: numberCurrent display work-area width in device-independent pixels.
Type: number
Related symbols
Source
SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:31 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.