66 xmlns : local =" clr-namespace:Concealment"
77 mc : Ignorable =" d"
88 d : DesignHeight =" 300" d : DesignWidth =" 300" >
9- <DockPanel >
10- <StackPanel DockPanel.Dock=" Top" >
9+ <UserControl .DataContext>
10+ <local : ConcealmentPlugin />
11+ </UserControl .DataContext>
12+ <Grid >
13+ <Grid .RowDefinitions>
14+ <RowDefinition Height =" Auto" />
15+ <RowDefinition />
16+ </Grid .RowDefinitions>
17+ <StackPanel Grid.Row=" 0" >
1118 <StackPanel DataContext =" {Binding Settings.Data}" >
1219 <CheckBox Content =" Enable Concealment" Margin =" 3" IsChecked =" {Binding Enabled}" />
13- <CheckBox Content =" Exempt Production" ToolTip =" Don't conceal grids with active production blocks." Margin =" 3" IsChecked =" {Binding ExemptProduction}" />
20+ <CheckBox Content =" Conceal Production" ToolTip =" Conceal grids with active production blocks." Margin =" 3" IsChecked =" {Binding ConcealProduction}" />
21+ <CheckBox Content =" Conceal Pirates" ToolTip =" Conceal grids owned by Space Pirates." Margin =" 3" IsChecked =" {Binding ConcealPirates}" />
1422 <StackPanel Orientation =" Horizontal" >
1523 <TextBox Margin =" 3" Width =" 150" Text =" {Binding ConcealDistance}" />
1624 <Label Content =" Conceal Distance (meters)" Margin =" 3" />
3341 <Button Content =" Manual Reveal" Margin =" 3" Click =" Reveal_OnClick" />
3442 </StackPanel >
3543 <Button Content =" Edit Excluded Subtypes" Margin =" 3" Click =" EditExclusion_OnClick" />
44+ <Label Content =" {Binding ConcealedGroups.Count, StringFormat=Concealed groups: {0}}" />
45+ <Button Content =" Reveal Selected" Margin =" 3" DockPanel.Dock=" Bottom" Click =" RevealSelected_OnClick" />
3646 </StackPanel >
37- <Button Content =" Reveal Selected" Margin =" 3" DockPanel.Dock=" Bottom" Click =" RevealSelected_OnClick" />
38- <ListView Name =" Concealed" Margin =" 3" DockPanel.Dock=" Bottom" ItemsSource =" {Binding ConcealGroups}" >
47+ <ListView Grid.Row=" 1" Name =" Concealed" Margin =" 3" DockPanel.Dock=" Bottom" ItemsSource =" {Binding ConcealedGroups}" >
3948 <ItemsControl .ItemTemplate>
4049 <DataTemplate >
4150 <StackPanel >
4453 </DataTemplate >
4554 </ItemsControl .ItemTemplate>
4655 </ListView >
47- </DockPanel >
56+ </Grid >
4857
4958</UserControl >
0 commit comments