DpiHelper.SetDeviceWidth(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 Width using device units
public:
void SetDeviceWidth(System::Windows::Window ^ % window, double deviceWidth);
public void SetDeviceWidth (ref System.Windows.Window window, double deviceWidth);
member this.SetDeviceWidth : Window * double -> unit
Public Sub SetDeviceWidth (ByRef window As Window, deviceWidth As Double)
Parameters
- window
- Window
Window to modify
- deviceWidth
- Double
New width in device units