first edit
This commit is contained in:
22
XLIMS.CORE/Windows/MainWindow.xaml
Normal file
22
XLIMS.CORE/Windows/MainWindow.xaml
Normal file
@@ -0,0 +1,22 @@
|
||||
<Window x:Class="XLIMS.CORE.Windows.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="XLIMS"
|
||||
WindowState="Maximized">
|
||||
<DockPanel LastChildFill="True">
|
||||
<Border DockPanel.Dock="Left" Width="40"
|
||||
Background="Gray">
|
||||
<ListBox ItemsSource="{Binding Activities}"
|
||||
SelectedItem="{Binding CurrentActivity,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding Title}"/>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
</Border>
|
||||
<ContentControl DataContext="{Binding CurrentActivity}" Content="{Binding View}"/>
|
||||
</DockPanel>
|
||||
</Window>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user