1234567891011121314151617181920212223242526272829 |
- <Window x:Class="WpfApp2.Windows.DetailWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- 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:local="clr-namespace:WpfApp2.Windows"
- mc:Ignorable="d"
- Title="DetailWindow" Height="450" Width="800">
- <Grid RenderTransformOrigin="0.498,0.573">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="64"/>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="auto"/>
- </Grid.ColumnDefinitions>
- <Image Source="{Binding ImageBitmap}" Grid.ColumnSpan="1" Margin="2,83,2,183"/>
- <StackPanel Orientation="Vertical" Margin="0,0,27,190" Grid.Column="1">
- <TextBlock Text="{Binding name}"/>
- <TextBlock Text="{Binding price}"/>
- <TextBlock Text="{Binding detail}"/>
- <TextBlock Text="{Binding type}"/>
- <TextBlock Text="{Binding date, StringFormat='dd.MM.yyyy'}"/>
- <TextBlock Text="{Binding available}"/>
- </StackPanel>
- <TextBlock Grid.Column="2" Text="{Binding type}" Margin="0,2,10,0"/>
- <Button IsCancel="True" Click="ExitButton_Click" Margin="20,273,46,26" Grid.Column="1" Background="DarkRed">OK</Button>
- </Grid>
- </Window>
|