#23 – WPF Units
In Windows Forms, control sizes are specified using pixels. In WPF, sizes are specified using WPF Units. 1 WPF unit = 1/96 inch. This means at 96 dpi (typical), 1 WPF Unit = 1 pixel. But this means...
View Article#203 – Window Size and Location Are Specified in Device Independent Units
The Window class has Left and Top properties that specify the location on the screen of the left and top sides of the window. It also has Width and Height properties that specify the window’s size....
View Article#277 – Images May Have Embedded DpiX and DpiY Information
Even when you specify Stretch=None for an Image control, you may notice that the image does not appear at the expected number of pixels wide/high. This can happen if the image’s resolution (DPI)...
View Article
More Pages to Explore .....