Quantcast
Channel: 2,000 Things You Should Know About WPF » DPI
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

#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



Image may be NSFW.
Clik here to view.

#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

Image may be NSFW.
Clik here to view.

#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
Browsing all 3 articles
Browse latest View live




Latest Images