Update sample to show how to manipulate the image center
This commit is contained in:
Родитель
853a4a9f0c
Коммит
52975a6e12
|
@ -9,7 +9,9 @@
|
|||
|
||||
<Grid>
|
||||
<controls:ConstrainedBox AspectRatio="16:3" VerticalAlignment="Top">
|
||||
<Image Source="/Assets/Photos/WestSeattleView.jpg" Stretch="UniformToFill"/>
|
||||
<Image Source="/Assets/Photos/WestSeattleView.jpg"
|
||||
Stretch="UniformToFill"
|
||||
VerticalAlignment="Center"/> <!-- Center on the City -->
|
||||
</controls:ConstrainedBox>
|
||||
<controls:ConstrainedBox MultipleX="64"
|
||||
AspectRatio="1:1"
|
||||
|
|
Загрузка…
Ссылка в новой задаче