I've been building some WPF windows and controls and using the provided WPFDemo for getting the window to stay in focus while the user operates in cad window. My question is regarding the size of the WPF window, it doesn't seem to follow the width that I am setting in XAML properties, but its also not totally irrelevant, almost as if there's a MinWidth that's being overridden somewhere. Here's an example:
Here's window xaml:
Here's the actual control reporting the binding of the window.width
Here's how i declare the window:
Try to change the value of ‘name’ parameter passed to 'm_wndHelper.Attach (WPFDemoApp.Instance, true, "WPFDemo1");'. Mstn saves the user settings and will restore these settings when show dialog next time.
Answer Verified By: Viktor_Kulik