123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <UserControl 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"
- x:Class="reactivepril.Page2"
- xmlns:vm="using:reactivepril.ViewModels"
- xmlns:v="using:reactivepril.View"
- x:DataType="vm:Page2ViewModel">
- <Grid RowDefinitions="70,*">
- <StackPanel Orientation="Horizontal" Grid.Row="0">
- <Button Content="Выход" HorizontalAlignment="Right" VerticalAlignment="Center" Command="{Binding GoBack}"/>
- <WrapPanel Margin="18">
-
- <TextBlock Text="Поиск:" Height="35" Padding="10"/>
- <TextBox Text="{Binding TextFind}" Watermark="Введите текст для поиска" Height="35" Grid.Column="0" Grid.Row="0"/>
- <TextBlock Text="Фильтр по полу" Grid.Column="0" Grid.Row="0" Height="35" Padding="10"/>
- <ComboBox ItemsSource="{Binding GenderList}" SelectedItem="{Binding FilteredGender}" Height="35" Grid.Column="0" Grid.Row="0">
- <ComboBox.ItemTemplate>
- <DataTemplate>
- <TextBlock Text="{Binding NameGender}"/>
- </DataTemplate>
- </ComboBox.ItemTemplate>
- </ComboBox>
-
- </WrapPanel>
- </StackPanel>
- <ListBox ItemsSource="{Binding Users}" Grid.Row="1">
- <ListBox.ItemTemplate>
- <DataTemplate>
- <StackPanel>
- <TextBlock Text="{Binding Name, StringFormat=Имя: {0}}"/>
- <TextBlock Text="{Binding GendersNavigation.NameGender, StringFormat=Пол: {0}}"/>
- </StackPanel>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- <Button Content="Профиль" HorizontalAlignment="Center" VerticalAlignment="Stretch" Command="{Binding GoToProf}"/>
- </Grid>
- </UserControl>
|