-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathReportsListDialog.xaml
32 lines (29 loc) · 1.89 KB
/
ReportsListDialog.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<Window x:Class="Presenter.ReportsListDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Loc="clr-namespace:Presenter.Resources"
xmlns:Code="clr-namespace:Presenter.App_Code"
xml:lang="en-US"
Title="{x:Static Loc:Labels.ReportsListWindowTitle}" Width="582" SizeToContent="Height" WindowStartupLocation="CenterScreen" ShowInTaskbar="False" FontSize="{Binding Source={x:Static Code:Config.instance}, Path=FontSizeProperty}">
<Grid>
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Width="540" Margin="10">
<TextBlock Text="{x:Static Loc:Labels.ReportsListSelectionDesc}" Margin="0,0,0,10"/>
<ListBox Name="LibraryList" BorderThickness="0">
<ListBox.ItemTemplate>
<DataTemplate>
<CheckBox Content="{Binding}" Margin="2" Click="CheckBox_Click" Loaded="CheckBox_Loaded" />
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<UniformGrid Columns="3" IsItemsHost="True" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,20,0,0">
<Button Padding="2" HorizontalAlignment="Right" Margin="0,0,10,0" Name="button1" VerticalAlignment="Bottom" MinWidth="75" Click="Ok_Click" Content="{x:Static Loc:Labels.GenericOk}" />
<Button Padding="2" HorizontalAlignment="Right" Name="button2" VerticalAlignment="Bottom" MinWidth="75" Click="Cancel_Click" Content="{x:Static Loc:Labels.GenericCancel}" />
</StackPanel>
</StackPanel>
</Grid>
</Window>