123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <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"
- mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- Width="900" Height="490"
- xmlns:vm ="using:kuzminIVProjectWorkOnDemo.ViewModels"
- x:Class="kuzminIVProjectWorkOnDemo.PageForService"
- x:DataType="vm:PageForServiceViewModel"
- Icon="/Assets/school_logo.ico"
- Title="Школа языков Леарн">
-
- <Grid Margin="10">
- <Grid.RowDefinitions>
- <RowDefinition Height="*" />
- <RowDefinition Height="60" />
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="570" />
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <StackPanel Orientation="Horizontal" Grid.Row="0" Grid.Column="0" VerticalAlignment="Center">
- <StackPanel>
- <TextBlock Text="Основное изображение" />
- <StackPanel>
- <Image Width="200" Height="200" />
- <Button Content="Изменить фото" Width="200" Height="40" Margin="10" Classes="ButtonInTemplate" />
- </StackPanel>
- </StackPanel>
- <StackPanel>
- <StackPanel>
- <TextBlock Text="ID" />
- <TextBox IsReadOnly="True" Text="{Binding Id}" />
-
- </StackPanel>
- <StackPanel>
- <TextBlock Text="Наименование" />
- <TextBox />
- </StackPanel>
- <StackPanel>
- <TextBlock Text="Стоимость" />
- <TextBox />
- </StackPanel>
- <StackPanel>
- <TextBlock Text="Длительность в минутах" />
- <TextBox />
- </StackPanel>
- <StackPanel>
- <TextBlock Text="Описание" />
- <TextBox />
- </StackPanel>
- <StackPanel>
- <TextBlock Text="Скидка" />
- <TextBox />
- </StackPanel>
- <TextBlock Text="Сообщения" />
- </StackPanel>
- </StackPanel>
- <ListBox SelectionMode="Multiple" ScrollViewer.HorizontalScrollBarVisibility="Disabled" Grid.Row="0" Grid.Column="1" >
- <ListBox.ItemsPanel>
- <ItemsPanelTemplate>
- <WrapPanel />
- </ItemsPanelTemplate>
- </ListBox.ItemsPanel>
- <ListBox.ItemTemplate>
- <DataTemplate>
- <StackPanel>
- <Image Width="100" Height="100" />
- </StackPanel>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- <TextBlock Grid.Row="0" Grid.Column="1" Text="Нет фото" FontSize="25" HorizontalAlignment="Center" VerticalAlignment="Center" />
- <StackPanel Grid.Row="1" Orientation="Horizontal" Margin="10" HorizontalAlignment="Center">
- <Button Width="200" Margin="10" Content="Сохранить изменения" Classes="ButtonInTemplate" Height="40"/>
- <Button Width="260" Margin="10" Content="Добавить дополнительные фото" Classes="ButtonInTemplate" Height="40" />
- </StackPanel>
- <Button Grid.Row="1" Grid.Column="1" Width="200" Margin="10" Content="Отмена" Classes="ButtonInTemplate" Height="40" />
- </Grid>
- </Window>
|