-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPDPlotView.txt
44 lines (44 loc) · 1.93 KB
/
PDPlotView.txt
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
37
38
39
40
41
42
43
44
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="2*"/>
</Grid.ColumnDefinitions>
<StackPanel>
<TextBox Text="{Binding PatientId}" Margin="5"/>
<Button Command="{Binding OpenPatientCommand}" Content="Open Patient" Margin="5"/>
</StackPanel>
<StackPanel Grid.Row="1">
<TextBlock Text="Plans:" FontWeight="Bold" HorizontalAlignment="Center" Margin="5"/>
<ListView ItemsSource="{Binding Plans}" SelectedItem="{Binding SelectedPlan}">
<ListView.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Id}" Padding="2"/>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackPanel>
<StackPanel Grid.Row="1" Grid.Column="1">
<TextBlock Text="Fields:" FontWeight="Bold" HorizontalAlignment="Center" Margin="5"/>
<ListView ItemsSource="{Binding Fields}" SelectedItem="{Binding SelectedField}">
<ListView.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Id}" Padding="2"/>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackPanel>
<Grid Grid.Row="1" Grid.Column="2">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock>
<Run Text="Calculated Field Size: "/>
<Run Text="{Binding FieldSize}"/>
</TextBlock>
<oxy:PlotView Model="{Binding ProfilePlotModel}" Grid.Row="1"/>
</Grid>