DpiHelper::GetDeviceActualSize Method (FrameworkElement^)

Visual Studio 2015
 

Gets the FrameworkElement's Size in device units.

Namespace:   Microsoft.VisualStudio.Utilities.Dpi
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public:
Size GetDeviceActualSize(
	FrameworkElement^ element
)

Parameters

element
Type: System.Windows::FrameworkElement^

The FrameworkElement to inspect.

Return Value

Type: System.Windows::Size

The actual Size in device units.

Return to top
Show: