Modifying points works
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<Window xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:vm="using:GazpromApp.ViewModels"
|
||||
x:Name="Window"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
Width="{Binding FileName.Size.Width}" Height="{Binding FileName.Size.Height}" MaxWidth="1280" MaxHeight="720"
|
||||
x:Class="GazpromApp.Views.ImageView"
|
||||
x:DataType="vm:ImageViewModel"
|
||||
Title="Просмотр изображения"
|
||||
WindowStartupLocation="CenterOwner">
|
||||
<Design.DataContext>
|
||||
<vm:ImageViewModel/>
|
||||
</Design.DataContext>
|
||||
<Image Source="{Binding FileName}"/>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user