Created
May 24, 2010 11:07
-
-
Save glebd/411753 to your computer and use it in GitHub Desktop.
Sharp bitmap image in XAML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Width, Height and Stretch ensure proper display of 72 dpi images --> | |
<Image Source="/MyProject;component/View/Resources/reddot.png" | |
RenderOptions.BitmapScalingMode="NearestNeighbor" | |
Stretch="Uniform" | |
Width="6" | |
Height="6" | |
Canvas.Left="0" | |
Canvas.Top="2" | |
HorizontalAlignment="Left" | |
VerticalAlignment="Top"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment