blob: 09f34621e5af25ee865523a471669c0d0666fd81 (
plain)
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
33
34
35
36
|
<UserControl x:Class="Tango.FSE.Procedures.Dialogs.AddReferenceAssemblyView"
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:material="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:local="clr-namespace:Tango.FSE.Procedures.Dialogs"
mc:Ignorable="d"
Width="1000" Height="600" d:DataContext="{d:DesignInstance Type=local:AddReferenceAssemblyViewVM, IsDesignTimeCreatable=False}" Background="{StaticResource FSE_PrimaryBackgroundLightBrush}" Foreground="{StaticResource FSE_PrimaryForegroundBrush}">
<Grid Margin="10">
<DockPanel>
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal">
<material:PackIcon Kind="LibraryEdit" Width="32" Height="32" />
<TextBlock Margin="10 0 0 0" FontSize="{StaticResource FSE_LargeFontSize}" VerticalAlignment="Center">Reference Assemblies</TextBlock>
</StackPanel>
<Border Margin="0 20 0 0" BorderThickness="1" BorderBrush="{StaticResource FSE_BorderBrush}" Background="{StaticResource FSE_PrimaryBackgroundDarkBrush}" CornerRadius="5">
<ScrollViewer Margin="2" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
<ItemsControl ItemsSource="{Binding ReferenceAssemblies}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Border Padding="5">
<StackPanel Orientation="Horizontal">
<CheckBox VerticalAlignment="Center" IsChecked="{Binding IsSelected,Mode=TwoWay}" />
<material:PackIcon Margin="5 0 0 0" VerticalAlignment="Center" Kind="Library" Width="20" Height="20" />
<TextBlock Margin="10 0 0 0" Text="{Binding Data.Name}" VerticalAlignment="Center"></TextBlock>
</StackPanel>
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</ScrollViewer>
</Border>
</DockPanel>
</Grid>
</UserControl>
|