Rank: Newbie Groups: Member
Joined: 1/21/2016 Posts: 0
|
Add a Size propertie to automatically resize image on controls like BitmapButton
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,201
|
Hi,
The exact purpose of the BitmapButton control is to produce pixel accurate rendering of the image. In another word, the whole purpose of this control is to turn resizing/scaling off. If you just want the regular resizing behavior, you can use standard WPF button with an image. The downside of that is sometimes it can produce blurry images due to resizing. This is exactly where BitmapButton fits in --- it's a no resizing image button to preserve image accuracy.
Thanks!
|