ProjetThe/ProjetTheAlone/View/DashBoard.xaml

129 lines
6.6 KiB
XML

<Window x:Class="ProjetTheAlone.View.DashBoard"
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:ProjetTheAlone.View"
xmlns:control="clr-namespace:ProjetTheAlone.UserControlDIY"
xmlns:diag="clr-namespace:System.Diagnostics;assembly=WindowsBase"
xmlns:classes="clr-namespace:ProjetTheAlone.Classes"
mc:Ignorable="d"
Title="DashBoard" Height="495.378" Width="1014.286" xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
TextElement.FontWeight="Regular"
TextElement.FontSize="13"
TextOptions.TextFormattingMode="Ideal"
TextOptions.TextRenderingMode="Auto"
Background="{DynamicResource MaterialDesignPaper}"
FontFamily="{DynamicResource MaterialDesignFont}"
Name="wnd" Closing="wnd_Closing" WindowStyle="None" MouseDown="wnd_MouseDown"
Loaded="wnd_Loaded">
<Window.Resources>
<local:DebugDummyConverter x:Key="DebugDummyConverter" />
</Window.Resources>
<Grid x:Name="testQuand">
<Grid.RowDefinitions>
<RowDefinition Height="10*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid Grid.Column="0">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<DataGrid x:Name="dgEventPasse2" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
IsReadOnly="True" AutoGenerateColumns="False" Height="auto">
<DataGrid.Columns>
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
<DataGridTextColumn Header="Event Avant Avant hier" Binding="{Binding E_description}" Width="*" />
</DataGrid.Columns>
</DataGrid>
<DataGrid x:Name="dgEventPasse1" Grid.Column="1" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
IsReadOnly="True" AutoGenerateColumns="False" Grid.Row="1" Height="auto">
<DataGrid.Columns>
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
<DataGridTextColumn Header="Event Avent hier" Binding="{Binding E_description}" Width="*" />
</DataGrid.Columns>
</DataGrid>
<DataGrid x:Name="dgEventPasse0" Grid.Column="2" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
IsReadOnly="True" AutoGenerateColumns="False" Grid.Row="1" Height="auto">
<DataGrid.Columns>
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
<DataGridTextColumn Header="Event Hier" Binding="{Binding E_description}" Width="*" />
</DataGrid.Columns>
</DataGrid>
</Grid>
<Grid Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
</Grid>
<Grid Grid.Column="1" >
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<!-- <RowDefinition Height="auto"/>-->
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<control:Repa Grid.Row="0" x:Name="RepasAjd" Loaded="RepasMatin_Loaded"></control:Repa>
<control:Repa Grid.Row="0" x:Name="RepasDemain" Grid.Column="1" ></control:Repa>
<control:Repa Grid.Row="0" x:Name="RepasApresDemain" Grid.Column="2" >
</control:Repa>
<DataGrid x:Name="dgEventFuture0" Grid.Column="0" Grid.Row="2" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
IsReadOnly="True" AutoGenerateColumns="False" Height="auto">
<DataGrid.Columns>
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
<DataGridTextColumn Header="Event Aujourd'hui" Binding="{Binding E_description}" Width="*" />
</DataGrid.Columns>
</DataGrid>
<DataGrid x:Name="dgEventFuture1" Grid.Column="1" Grid.Row="2" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
IsReadOnly="True" AutoGenerateColumns="False" Height="auto">
<DataGrid.Columns>
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
<DataGridTextColumn Header="Event demain" Binding="{Binding E_description}" Width="*" />
</DataGrid.Columns>
</DataGrid>
<DataGrid x:Name="dgEventFuture2" Grid.Column="2" Grid.Row="2" ItemsSource="{Binding BcpEvent}" VerticalScrollBarVisibility="Visible"
IsReadOnly="True" AutoGenerateColumns="False" Height="auto">
<DataGrid.Columns>
<DataGridTextColumn Visibility="Hidden" Binding="{Binding ID_event}" />
<DataGridTextColumn Header="Event après demain" Binding="{Binding E_description}" Width="*" />
</DataGrid.Columns>
</DataGrid>
<materialDesign:PackIcon Kind="Close" Grid.Column="3" HorizontalAlignment="Right" Cursor="Hand" MouseDown="PackIcon_MouseDown"/>
</Grid>
<Grid Grid.Row="2" Visibility="Visible" Grid.ColumnSpan="2">
<Border >
<Border.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="OrangeRed" Offset="0" />
<GradientStop Color="DarkOrange" Offset="1" />
</LinearGradientBrush>
</Border.Background>
</Border>
<TextBlock x:Name="Alert" Style="{StaticResource MaterialDesignTitleTextBlock}" VerticalAlignment="Center" Height="Auto" HorizontalAlignment="Stretch" Text="{Binding TextAfficher}" Grid.ColumnSpan="2" Margin="0,9" />
</Grid>
</Grid>
</Window>