Skip to content

FrameworkElement.GetDpi method

Gets the DPI of the window hosting this element, or the system DPI when detached.

public uint GetDpi()

The DPI value.