DpiHelper.SetDeviceHeight(Window, Double) 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.
Sets the window's Height using device units
public:
void SetDeviceHeight(System::Windows::Window ^ % window, double deviceHeight);
public void SetDeviceHeight (ref System.Windows.Window window, double deviceHeight);
member this.SetDeviceHeight : Window * double -> unit
Public Sub SetDeviceHeight (ByRef window As Window, deviceHeight As Double)
Parameters
- window
- Window
Window to modify
- deviceHeight
- Double
New height in device units