Compartilhar via


DpiHelper.GetDeviceActualSize(FrameworkElement) Method

Definition

Get the FrameworkElement's Size in device units

public:
 System::Windows::Size GetDeviceActualSize(System::Windows::FrameworkElement ^ element);
public System.Windows.Size GetDeviceActualSize (System.Windows.FrameworkElement element);
member this.GetDeviceActualSize : System.Windows.FrameworkElement -> System.Windows.Size
Public Function GetDeviceActualSize (element As FrameworkElement) As Size

Parameters

element
FrameworkElement

FrameworkElement to inspect

Returns

Actual Size in device units

Applies to