1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <Page x:Class="ROGOZ.Pages.TaskList"
- 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:ROGOZ.Pages"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="TaskList">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="30"/>
- <RowDefinition Height="30"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
- <ComboBox Margin="5" Width="200" Height="30" Name="ComboSortBy" FontSize="16">
- <ComboBoxItem Content="По исполнителю"/>
- <ComboBoxItem Content="По статусу"/>
- </ComboBox>
- <ComboBox Margin="5" Width="200" Height="30" Name="ComboDiscount" FontSize="16">
- <ComboBoxItem Content="Все"/>
- <ComboBoxItem Content="Не придумал"/>
- </ComboBox>
- <TextBox Name="TBoxSearch" Width="200" Height="30" Margin="5" FontSize="18"/>
- </StackPanel>
- <DataGrid Grid.Row="2" x:Name="DGTasks" AutoGenerateColumns="False" ItemsSource="{Binding}" RenderTransformOrigin="0.5,0.5" Margin="10,10,10,41">
- <DataGrid.Columns>
- <DataGridTextColumn Header="Задача" Binding="{Binding Title}" Width="320"/>
- <DataGridTextColumn Header="Статус" Binding="{Binding Description}" Width="80"/>
- <DataGridTextColumn Header="Исполнитель" Binding="{Binding ExecutorID}" Width="140"/>
- <DataGridTextColumn Header="Менеджер" Width="*"/>
- </DataGrid.Columns>
- </DataGrid>
- <Button Content="Добавить" Grid.Row="2" Width="150" Height="30" HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="100,5" Click="BtnAdd_Click"/>
- <Button Content="Удалить" Grid.Row="2" Width="150" Height="30" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="100,5" Click="BtnDel_Click"/>
- </Grid>
- </Page>
|