123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <Page x:Class="Savelev_ToursApp.AddEditPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:Savelev_ToursApp"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="AddEditPage">
- <Grid Background="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}">
- <Grid.RowDefinitions>
- <RowDefinition Height="97*"/>
- <RowDefinition Height="132*"/>
- <RowDefinition Height="109*"/>
- <RowDefinition Height="112*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="27*"/>
- <ColumnDefinition Width="133*"/>
- </Grid.ColumnDefinitions>
- <TextBlock Text="Название" Grid.Row="0" ></TextBlock>
- <TextBlock Text="Количество звёезд" Grid.Row="1"></TextBlock>
- <TextBlock Text="Страна" Grid.Row="2"></TextBlock>
- <TextBlock MaxHeight="100" Grid.Column="1"></TextBlock>
- <TextBlock Grid.Column="1"/>
- <TextBox Text="{Binding Name}" Grid.Column="1" Margin="10,0,22,27" Height="29" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,3.25" Background="{DynamicResource {x:Static SystemColors.InactiveBorderBrushKey}}"/>
- <TextBox Text="{Binding CountOfStars}" Grid.Column="1" Margin="0,0,408,38" RenderTransformOrigin="0.311,0.92" Grid.Row="1" Background="{DynamicResource {x:Static SystemColors.InactiveBorderBrushKey}}" HorizontalAlignment="Right" Width="241" Height="34" VerticalAlignment="Bottom">
- <TextBox.RenderTransform>
- <TransformGroup>
- <ScaleTransform/>
- <SkewTransform AngleY="-0.112"/>
- <RotateTransform/>
- <TranslateTransform Y="-0.386"/>
- </TransformGroup>
- </TextBox.RenderTransform>
- </TextBox>
- <ComboBox SelectedItem="{Binding Country}" x:Name="ComboCountries" DisplayMemberPath="Name" Grid.Row="2" Grid.Column="1" Margin="0,0,10,31" Height="38" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="645"></ComboBox>
- <Button Content="Сохранить" Grid.ColumnSpan="2" Grid.Row="3" Name="BtnSave" Click="BtnSave_Click"></Button>
- </Grid>
- </Page>
|