DpiHelper.GetDeviceActualSize(FrameworkElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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