forked from Slazanger/SMT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
492 lines (418 loc) · 37 KB
/
MainWindow.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:System="clr-namespace:System;assembly=mscorlib"
xmlns:local="clr-namespace:SMT"
xmlns:localEveData="clr-namespace:SMT.EVEData"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
xmlns:dotNetKitControls="clr-namespace:DotNetKit.Windows.Controls;assembly=DotNetKit.Wpf.AutoCompleteComboBox"
xmlns:xcad="clr-namespace:AvalonDock;assembly=AvalonDock"
xmlns:xcadl="clr-namespace:AvalonDock.Layout;assembly=AvalonDock"
xmlns:xcadt="clr-namespace:AvalonDock.Themes;assembly=AvalonDock.Themes.Expression"
xmlns:diag="clr-namespace:System.Diagnostics;assembly=WindowsBase"
xmlns:Themes="clr-namespace:Xceed.Wpf.Toolkit.Themes;assembly=DotNetProjects.Wpf.Extended.Toolkit"
x:Class="SMT.MainWindow"
mc:Ignorable="d"
Title="SMT" Height="850" Width="1124" Icon="smt_bomb_icon.ico" ResizeMode="CanResizeWithGrip">
<Window.Resources>
<local:ZKBBackgroundConverter x:Key="zkbBGConverter" />
<local:ZKBForegroundConverter x:Key="zkbBGFConverter" />
<local:TimeSpanConverter x:Key="timeSpanConverter" />
<ObjectDataProvider x:Key="navigationEnumData" MethodName="GetValues" ObjectType="{x:Type System:Enum}">
<ObjectDataProvider.MethodParameters>
<x:Type TypeName="local:RoutingMode" />
</ObjectDataProvider.MethodParameters>
</ObjectDataProvider>
<DataTemplate x:Key="intelDataDataTemplate">
<DockPanel>
<TextBlock Foreground="Cyan" Padding="0,0,5,0" TextBlock.FontSize="{Binding MapConf.IntelTextSize, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" VerticalAlignment="Top">
<Run Text="["/><Run Text="{Binding IntelChannel, FallbackValue=''}" /><Run Text="]"/>
</TextBlock>
<TextBlock Text="{Binding IntelTime, FallbackValue=TIME, StringFormat=HH:mm}" Foreground="Yellow" Padding="0,0,5,0" TextBlock.FontSize="{Binding MapConf.IntelTextSize, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" VerticalAlignment="Top" />
<TextBlock Text="{Binding IntelString, FallbackValue=Intel Data}" Foreground="White" TextWrapping="WrapWithOverflow" TextBlock.FontSize="{Binding MapConf.IntelTextSize, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}" VerticalAlignment="Top" />
</DockPanel>
</DataTemplate>
</Window.Resources>
<DockPanel>
<StackPanel Orientation="Horizontal" DockPanel.Dock="Top" Background="{DynamicResource MenuBackground}" Height="27">
<Menu Style="{DynamicResource ResourceKey={x:Type Menu}}">
<MenuItem Header="File">
<MenuItem Header="Characters" Click="Characters_MenuItem_Click" />
<MenuItem Header="Preferences" Click="Preferences_MenuItem_Click" />
<MenuItem Header="Exit" Click="Exit_MenuItem_Click" />
</MenuItem>
<MenuItem Header="Data">
<MenuItem Header="Force ESI Update" Click="ForceESIUpdate_MenuItem_Click" />
</MenuItem>
<MenuItem Header="View">
<MenuItem x:Name="miFullScreenToggle" Header="FullScreen" IsCheckable="True" IsChecked="False" Click="FullScreenToggle_MenuItem_Click" />
</MenuItem>
</Menu>
<Label Margin="30,0,0,0" Padding="7">Active Character :</Label>
<ComboBox x:Name="CurrentActiveCharacterCombo" Width="180" IsReadOnly="True" SelectionChanged="CurrentActiveCharacterCombo_Selected" Height="18" />
</StackPanel>
<StatusBar x:Name="AppStatusBar" DockPanel.Dock="Bottom">
<StatusBarItem>
<TextBlock><Run Text="EVE Time :" /></TextBlock>
</StatusBarItem>
<StatusBarItem>
<TextBlock Text="{Binding ServerTime, StringFormat=HH:mm}" Foreground="White" />
</StatusBarItem>
<Separator />
<StatusBarItem>
<TextBlock><Run Text="Tranquility Version:" /></TextBlock>
</StatusBarItem>
<StatusBarItem>
<TextBlock Text="{Binding ServerVersion}" Foreground="White" />
</StatusBarItem>
<Separator />
<StatusBarItem>
<TextBlock Text="{Binding NumPlayers}" Foreground="White" />
</StatusBarItem>
<StatusBarItem>
<TextBlock Text="Players" />
</StatusBarItem>
</StatusBar>
<xcad:DockingManager x:Name="dockManager">
<xcad:DockingManager.Theme>
<xcadt:ExpressionDarkTheme />
</xcad:DockingManager.Theme>
<xcadl:LayoutRoot>
<xcadl:LayoutRoot.RightSide>
<xcadl:LayoutAnchorSide>
<xcadl:LayoutAnchorGroup>
<xcadl:LayoutAnchorable Title="Anoms" CanClose="False" CanAutoHide="True" CanHide="False" ContentId="AnomsContentID" AutoHideMinHeight="200" AutoHideMinWidth="280" x:Name="avlpAnoms">
<Grid x:Name="MainAnomGrid" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Grid.RowDefinitions>
<RowDefinition Height="60" />
<RowDefinition Height="*" />
<RowDefinition Height="26" />
</Grid.RowDefinitions>
<StackPanel Grid.Row="0">
<Button x:Name="btnClearAnomList" Content="Clear" Click="btnClearAnomList_Click" />
<Label Content="{Binding ANOMManager.ActiveSystem.SystemName}" FontSize="18" FontWeight="Bold" />
</StackPanel>
<DataGrid x:Name="AnomSigList" Grid.Row="1" AreRowDetailsFrozen="True" AutoGenerateColumns="False" ItemsSource="{Binding ANOMManager.ActiveSystem.Anoms.Values}" HeadersVisibility="Column">
<DataGrid.CellStyle>
<Style TargetType="{x:Type DataGridCell}">
<Style.Triggers>
<DataTrigger Binding="{Binding Type}" Value="Unknown">
<Setter Property="Background" Value="Red" />
</DataTrigger>
<DataTrigger Binding="{Binding State}" Value="State2">
<Setter Property="Background" Value="Green" />
</DataTrigger>
</Style.Triggers>
</Style>
</DataGrid.CellStyle>
<DataGrid.Columns>
<DataGridTextColumn Header="SIG" Binding="{Binding Signature}" Width="*" />
<DataGridTextColumn Header="Type" Binding="{Binding Type}" Width="*" />
<DataGridTextColumn Header="Name" Binding="{Binding Name}" Width="*" />
</DataGrid.Columns>
</DataGrid>
<StackPanel Grid.Row="2">
<Button x:Name="btnUpdateAnomList" Content="Update from Clipboard" Click="btnUpdateAnomList_Click" />
</StackPanel>
</Grid>
</xcadl:LayoutAnchorable>
<xcadl:LayoutAnchorable Title="Characters" CanClose="False" CanAutoHide="True" CanHide="False" ContentId="CharactersContentID" AutoHideMinHeight="200" AutoHideMinWidth="280">
<ScrollViewer Background="{DynamicResource ButtonBackground}">
<StackPanel>
<DataGrid x:Name="CharactersList" Grid.Row="1" AreRowDetailsFrozen="True" AutoGenerateColumns="False" CanUserAddRows="False" IsReadOnly="False" MouseDoubleClick="CharactersList_MouseDoubleClick" HeadersVisibility="Column" SelectionUnit="FullRow" GridLinesVisibility="None" IsSynchronizedWithCurrentItem="False">
<DataGrid.CellStyle>
<Style TargetType="{x:Type DataGridCell}">
<Style.Triggers>
<DataTrigger Binding="{Binding IsOnline}" Value="False">
<Setter Property="Background" Value="DarkGray" />
</DataTrigger>
<DataTrigger Binding="{Binding IsOnline}" Value="True">
<Setter Property="Background" Value="{DynamicResource ButtonBackground}" />
</DataTrigger>
</Style.Triggers>
</Style>
</DataGrid.CellStyle>
<DataGrid.ContextMenu>
<ContextMenu>
<MenuItem Header="Delete" Click="CharactersListMenuItemDelete_Click" />
</ContextMenu>
</DataGrid.ContextMenu>
<DataGrid.Columns>
<DataGridTextColumn Header="Name" Binding="{Binding Name}" CanUserReorder="False" Width="*" IsReadOnly="True" />
<DataGridTextColumn Header="Location" Binding="{Binding Location}" CanUserReorder="False" Width="*" IsReadOnly="True" />
<DataGridTextColumn Header="Region" Binding="{Binding Region}" CanUserReorder="False" Width="*" IsReadOnly="True" />
</DataGrid.Columns>
</DataGrid>
<CheckBox Content="Show Characters On Map" IsChecked="{Binding MapConf.ShowCharacterNamesOnMap}" Margin="3" />
<Button x:Name="btn_AddCharacter" Click="btn_AddCharacter_Click" Content="Add Character" />
</StackPanel>
</ScrollViewer>
</xcadl:LayoutAnchorable>
<xcadl:LayoutAnchorable Title="Jump Bridges" CanClose="False" CanAutoHide="True" CanHide="False" ContentId="JumpBridgesContentID" AutoHideMinHeight="200" AutoHideMinWidth="280">
<Grid x:Name="JumpBridgeGrid">
<Grid.RowDefinitions>
<RowDefinition Height="30" />
<RowDefinition Height="25" />
<RowDefinition Height="25" />
<RowDefinition Height="25" />
<RowDefinition Height="25" />
<RowDefinition Height="30" />
<RowDefinition Height="25" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Orientation="Horizontal" Margin="2">
<Label Content="Gate SearchFilter : " />
<TextBox x:Name="GateSearchFilter" Text=" » " Width="167" />
</StackPanel>
<Button x:Name="ImportJumpGatesBtn" Content="Find Gates" Click="FindJumpGatesBtn_Click" Margin="2" Grid.Row="1" />
<Button x:Name="ClearJumpGatesBtn" Content="Clear Gates" Click="ClearJumpGatesBtn_Click" Margin="2" Grid.Row="2" />
<Button x:Name="ImportPasteJumpGatesBtn" Content="Import from Clipboard" Click="ImportPasteJumpGatesBtn_Click" Margin="2" Grid.Row="3" />
<Button x:Name="ExportJumpGatesBtn" Content="Export Jump Bridges" Click="ExportJumpGatesBtn_Click" Margin="2" Grid.Row="4" />
<Label Content="Ansiblex Gates" Margin="0" Grid.Row="5" FontWeight="Bold" FontSize="18"/>
<Label x:Name="AnsiblexSummaryLbl" Grid.Row="6" Content="" FontStyle="Italic" FontSize="12" />
<DataGrid x:Name="JumpBridgeList" Margin="2" Grid.Row="7" AutoGenerateColumns="False" AreRowDetailsFrozen="True" IsReadOnly="True" SelectionUnit="FullRow" SelectedItem="{Binding SelectedItemProperty, Mode=TwoWay}">
<DataGrid.CellStyle>
<Style TargetType="{x:Type DataGridCell}">
<Style.Triggers>
<DataTrigger Binding="{Binding FromID}" Value="0">
<Setter Property="Background" Value="#222" />
</DataTrigger>
<DataTrigger Binding="{Binding ToID}" Value="0">
<Setter Property="Background" Value="#222" />
</DataTrigger>
<DataTrigger Binding="{Binding Disabled}" Value="True">
<Setter Property="Background" Value="Red" />
</DataTrigger>
</Style.Triggers>
</Style>
</DataGrid.CellStyle>
<DataGrid.ContextMenu>
<ContextMenu>
<MenuItem Header="Delete" Click="DeleteJumpGateMenuItem_Click" />
<MenuItem Header="Enable/Disable" Click="EnableDisableJumpGateMenuItem_Click" />
</ContextMenu>
</DataGrid.ContextMenu>
<DataGrid.Columns>
<DataGridTextColumn Header="From" Binding="{Binding From}" Width="*" />
<DataGridTextColumn Header="To" Binding="{Binding To}" Width="*" />
</DataGrid.Columns>
</DataGrid>
</Grid>
</xcadl:LayoutAnchorable>
<xcadl:LayoutAnchorable Title="Route" CanClose="False" CanAutoHide="True" CanHide="False" ContentId="RouteContentID" AutoHideMinHeight="200" AutoHideMinWidth="280">
<Grid x:Name="MainRouteGrid">
<ScrollViewer Background="{DynamicResource ButtonBackground}">
<StackPanel>
<GroupBox Header="Navigation Options">
<StackPanel Margin="4">
<StackPanel Orientation="Horizontal">
<Label Content="Mode" />
<ComboBox ItemsSource="{Binding Source={StaticResource navigationEnumData}}" SelectedItem="{Binding ActiveCharacter.NavigationMode, ElementName=RegionUC, Mode=TwoWay}" Margin="2" Width="150" />
</StackPanel>
<CheckBox Content="Use Ansiblex Gates" IsChecked="{Binding ActiveCharacter.UseAnsiblexGates, ElementName=RegionRC}" Margin="2" />
</StackPanel>
</GroupBox>
<GroupBox Header="WayPoints">
<StackPanel Margin="4">
<ListBox ItemsSource="{Binding ActiveCharacter.Waypoints, ElementName=RegionUC}" MinHeight="50" Margin="2" />
<StackPanel Orientation="Horizontal" Margin="2">
<dotNetKitControls:AutoCompleteComboBox x:Name="RouteSystemDropDownAC" FontSize="12" Width="156" />
<Button x:Name="AddWaypointsBtn" Click="AddWaypointsBtn_Click" Content="Add WayPoint" Margin="2" />
</StackPanel>
<Button x:Name="ReCalculateRouteBtn" Click="ReCalculateRouteBtn_Click" Content="Recalculate" Margin="2" />
<Button x:Name="ClearWaypointsBtn" Click="ClearWaypointsBtn_Click" Content="Clear All" Margin="2" />
</StackPanel>
</GroupBox>
<GroupBox Header="Route">
<StackPanel Margin="4">
<ListBox ItemsSource="{Binding ActiveCharacter.ActiveRoute, ElementName=RegionUC}" MinHeight="50" />
<StackPanel Orientation="Horizontal" Margin="2">
<Label Content="Total number of jumps : " />
<Label Content="{Binding ActiveCharacter.ActiveRoute.Count, ElementName=RegionUC}" />
</StackPanel>
<Button x:Name="CopyRouteBtn" Click="CopyRouteBtn_Click" Content="Copy Route" Margin="2" />
</StackPanel>
</GroupBox>
</StackPanel>
</ScrollViewer>
</Grid>
</xcadl:LayoutAnchorable>
<!-- Temp Disabled <xcadl:LayoutAnchorable Title="Jump Planner" CanClose="False" CanAutoHide="True" CanHide="False" ContentId="JumpPlannerContentID" AutoHideMinHeight="200" AutoHideMinWidth="280">
<Grid x:Name="JumpPlannerGrid">
<ScrollViewer Background="#FFE5E5E5">
<StackPanel>
<Label Content="Jump Planner Options" />
<ComboBox x:Name="JPShipType" />
<CheckBox x:Name="JPUseGates" Content="Use Gates" />
<Button x:Name="JPSuggestRoute" Click="JPSuggestRoute_Click" Content="Suggest Route" />
<ListBox x:Name="JPSuggestedRoute" />
</StackPanel>
</ScrollViewer>
</Grid>
</xcadl:LayoutAnchorable>
-->
<xcadl:LayoutAnchorable Title="Thera" CanClose="False" CanAutoHide="True" CanHide="false" ContentId="TheraContentID" AutoHideMinHeight="200" AutoHideMinWidth="280">
<ScrollViewer>
<StackPanel>
<DataGrid x:Name="TheraConnectionsList" Grid.Row="1" AreRowDetailsFrozen="True" AutoGenerateColumns="False" IsReadOnly="True" MouseDoubleClick="TheraConnectionsList_MouseDoubleClick" HeadersVisibility="Column" Background="AliceBlue">
<DataGrid.CellStyle>
<Style TargetType="{x:Type DataGridCell}">
<Style.Triggers>
<DataTrigger Binding="{Binding EstimatedEOL}" Value="critical">
<Setter Property="Background" Value="Red" />
</DataTrigger>
</Style.Triggers>
</Style>
</DataGrid.CellStyle>
<DataGrid.Columns>
<DataGridTextColumn Header="System" Binding="{Binding System}" Width="*" />
<DataGridTextColumn Header="Region" Binding="{Binding Region}" Width="*" />
<DataGridTextColumn Header="In Sig" Binding="{Binding InSignatureID}" Width="*" />
<DataGridTextColumn Header="Out Sig" Binding="{Binding OutSignatureID}" Width="*" />
<DataGridTextColumn Header="EOL Status" Binding="{Binding EstimatedEOL}" Width="*" />
</DataGrid.Columns>
</DataGrid>
<Button x:Name="btn_UpdateThera" Click="btn_UpdateThera_Click" Content="Update Connections" />
</StackPanel>
</ScrollViewer>
</xcadl:LayoutAnchorable>
<xcadl:LayoutAnchorable Title="Storms" CanClose="False" CanAutoHide="True" CanHide="false" ContentId="StormContentID" AutoHideMinHeight="200" AutoHideMinWidth="280">
<ScrollViewer>
<StackPanel>
<DataGrid x:Name="MetaliminalStormList" Grid.Row="1" AreRowDetailsFrozen="True" AutoGenerateColumns="False" IsReadOnly="True" HeadersVisibility="Column" Background="AliceBlue">
<DataGrid.Columns>
<DataGridTextColumn Header="System" Binding="{Binding System}" Width="*" />
<DataGridTextColumn Header="Region" Binding="{Binding Region}" Width="*" />
<DataGridTextColumn Header="Type" Binding="{Binding Type}" Width="*" />
</DataGrid.Columns>
</DataGrid>
</StackPanel>
</ScrollViewer>
</xcadl:LayoutAnchorable>
<xcadl:LayoutAnchorable Title="SOV Campaigns" CanClose="False" CanAutoHide="True" CanHide="false" ContentId="SOVCampaignsID" AutoHideMinHeight="200" AutoHideMinWidth="280">
<ScrollViewer>
<StackPanel>
<DataGrid x:Name="SovCampaignList" Grid.Row="1" AreRowDetailsFrozen="True" AutoGenerateColumns="False" IsReadOnly="True" MouseDoubleClick="SovCampaignList_MouseDoubleClick" HeadersVisibility="Column">
<DataGrid.CellStyle>
<Style TargetType="{x:Type DataGridCell}">
<Style.Triggers>
<DataTrigger Binding="{Binding Path=IsActive, NotifyOnSourceUpdated=True, NotifyOnTargetUpdated=True, UpdateSourceTrigger=PropertyChanged}" Value="true">
<Setter Property="Background" Value="DarkRed" />
</DataTrigger>
</Style.Triggers>
</Style>
</DataGrid.CellStyle>
<DataGrid.Columns>
<DataGridTextColumn Header="System" Binding="{Binding Path=System, Mode=OneTime, UpdateSourceTrigger=PropertyChanged}" Width="*" />
<DataGridTextColumn Header="Region" Binding="{Binding Path=Region, Mode=OneTime, UpdateSourceTrigger=PropertyChanged}" Width="*" />
<DataGridTextColumn Header="Type" Binding="{Binding Path=Type, Mode=OneTime, UpdateSourceTrigger=PropertyChanged}" Width="*" />
<DataGridTemplateColumn Header="Defenders Score" Width="*">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<Grid>
<ProgressBar Value="{Binding Path=DefendersScore, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" Minimum="0" Maximum="1" Height="13" ToolTipService.ToolTip="{Binding State}" ToolTipService.InitialShowDelay="100" ToolTipService.BetweenShowDelay="100" />
<TextBlock Text="{Binding Path=DefendersScore, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}" HorizontalAlignment="Center" VerticalAlignment="Center" Foreground="Black" IsHitTestVisible="False" />
</Grid>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
<DataGridTextColumn Header="Starts in" Binding="{Binding Path=TimeToStart, Mode=OneTime, UpdateSourceTrigger=PropertyChanged, Converter={StaticResource timeSpanConverter}}" Width="*" />
<DataGridTextColumn Header="Defenders" Binding="{Binding Path=DefendingAllianceName, Mode=OneTime, UpdateSourceTrigger=PropertyChanged}" Width="*" />
</DataGrid.Columns>
</DataGrid>
</StackPanel>
</ScrollViewer>
</xcadl:LayoutAnchorable>
<xcadl:LayoutAnchorable Title="Trig Invasions" CanClose="False" CanAutoHide="True" CanHide="false" ContentId="TrigInvasionsID" AutoHideMinHeight="200" AutoHideMinWidth="280">
<ScrollViewer>
<StackPanel>
<DataGrid x:Name="TrigInvasionsList" Grid.Row="1" AreRowDetailsFrozen="True" AutoGenerateColumns="False" IsReadOnly="True" MouseDoubleClick="TrigInvasionsList_MouseDoubleClick" HeadersVisibility="Column">
<DataGrid.Columns>
<DataGridTextColumn Header="System" Binding="{Binding Path=SystemName, Mode=OneTime, UpdateSourceTrigger=PropertyChanged}" Width="*" />
<DataGridTextColumn Header="Status" Binding="{Binding Path=Status, Mode=OneTime, UpdateSourceTrigger=PropertyChanged}" Width="*" />
<DataGridTextColumn Header="Sec" Binding="{Binding Path=DerivedSecurityStatus, Mode=OneTime, UpdateSourceTrigger=PropertyChanged}" Width="*" />
</DataGrid.Columns>
</DataGrid>
</StackPanel>
</ScrollViewer>
</xcadl:LayoutAnchorable>
</xcadl:LayoutAnchorGroup>
</xcadl:LayoutAnchorSide>
</xcadl:LayoutRoot.RightSide>
<xcadl:LayoutPanel>
<xcadl:LayoutAnchorablePaneGroup DockWidth="250" DockMinWidth="250" Orientation="Vertical">
<xcadl:LayoutAnchorablePane>
<xcadl:LayoutAnchorable x:Name="ZKBLayoutAnchorable" Title="ZKB Feed" CanClose="False" CanAutoHide="True" CanHide="False" ContentId="ZKBContentID" AutoHideMinHeight="200" AutoHideMinWidth="280">
<Grid>
<ScrollViewer Background="{DynamicResource ButtonBackground}">
<StackPanel CanVerticallyScroll="True" ScrollViewer.CanContentScroll="True">
<CheckBox Content="Selected Region Only" x:Name="ZKBFeedFilterViewChk" IsChecked="True" Checked="ZKBFeedFilterViewChk_Checked" Unchecked="ZKBFeedFilterViewChk_Checked" Margin="4" />
<DataGrid x:Name="ZKBFeed" Grid.Row="1" AreRowDetailsFrozen="True" Cursor="Hand" AutoGenerateColumns="False" CanUserAddRows="False" MouseUp="ZKBContexMenu_ShowSystem_Click" MouseDoubleClick="ZKBFeed_MouseDoubleClick_1" HeadersVisibility="Column" SelectionUnit="FullRow" GridLinesVisibility="None" MinHeight="200">
<DataGrid.Columns>
<DataGridTextColumn Header="System" Binding="{Binding SystemName}" Width="30*" IsReadOnly="True" CanUserReorder="False" CanUserSort="False" />
<DataGridTextColumn Header="Alliance" Binding="{Binding VictimAllianceName}" Width="40*" IsReadOnly="True" CanUserReorder="False" CanUserSort="False" />
<DataGridTextColumn Header="Ship Type" Binding="{Binding ShipType}" Width="30*" IsReadOnly="True" CanUserReorder="False" CanUserSort="False" />
</DataGrid.Columns>
<DataGrid.RowStyle>
<Style TargetType="{x:Type DataGridRow}">
<Setter Property="Background" Value="{Binding Converter={StaticResource zkbBGConverter}}" />
<Setter Property="Foreground" Value="{Binding Converter={StaticResource zkbBGFConverter}}"/>
</Style>
</DataGrid.RowStyle>
<DataGrid.ContextMenu>
<ContextMenu>
<MenuItem Header="Show System" Click="ZKBContexMenu_ShowSystem_Click" />
<MenuItem Header="Open Kill on ZKB" Click="ZKBContexMenu_ShowZKB_Click" />
</ContextMenu>
</DataGrid.ContextMenu>
</DataGrid>
</StackPanel>
</ScrollViewer>
</Grid>
</xcadl:LayoutAnchorable>
</xcadl:LayoutAnchorablePane>
<xcadl:LayoutAnchorablePane>
<xcadl:LayoutAnchorable x:Name="IntelLayoutAnchorable" Title="Intel" CanClose="False" CanAutoHide="True" CanHide="False" ContentId="IntelContentID" AutoHideMinHeight="200" AutoHideMinWidth="280">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="25" />
</Grid.RowDefinitions>
<ListView x:Name="RawIntelBox" Margin="0,2" MouseDoubleClick="RawIntelBox_MouseDoubleClick" ScrollViewer.HorizontalScrollBarVisibility="Disabled" Grid.Row="0" ItemTemplate="{StaticResource intelDataDataTemplate}" />
<Button Content="Clear Intel" Grid.Row="1" x:Name="ClearIntelBtn" Click="ClearIntelBtn_Click" />
</Grid>
</xcadl:LayoutAnchorable>
<xcadl:LayoutAnchorable Title="Fleet" CanClose="False" CanAutoHide="True" CanHide="False" ContentId="FleetContentID" AutoHideMinHeight="200" AutoHideMinWidth="280">
<ScrollViewer Background="{DynamicResource ButtonBackground}">
<DataGrid x:Name="FleetMembersList" Grid.Row="1" AreRowDetailsFrozen="True" AutoGenerateColumns="False" CanUserAddRows="False" IsReadOnly="True" MouseDoubleClick="CharactersList_MouseDoubleClick" HeadersVisibility="Column" SelectionUnit="FullRow" GridLinesVisibility="None" IsSynchronizedWithCurrentItem="False">
<DataGrid.Columns>
<DataGridTextColumn Header="Name" Binding="{Binding Name}" CanUserReorder="False" Width="*" />
<DataGridTextColumn Header="Location" Binding="{Binding Location}" CanUserReorder="False" Width="*" />
<DataGridTextColumn Header="Region" Binding="{Binding Region}" CanUserReorder="False" Width="*" />
<DataGridTextColumn Header="ShipType" Binding="{Binding ShipType}" CanUserReorder="False" Width="*" />
</DataGrid.Columns>
</DataGrid>
</ScrollViewer>
</xcadl:LayoutAnchorable>
</xcadl:LayoutAnchorablePane>
</xcadl:LayoutAnchorablePaneGroup>
<xcadl:LayoutDocumentPane ShowHeader="True" AllowDuplicateContent="False">
<xcadl:LayoutDocument CanClose="False" CanFloat="True" ContentId="UniverseContentID" Title="Regions">
<Grid>
<local:RegionsViewControl x:Name="RegionsViewUC" />
</Grid>
</xcadl:LayoutDocument>
<xcadl:LayoutDocument CanClose="False" CanFloat="True" ContentId="MapRegionContentID" Title="Region">
<local:RegionControl x:Name="RegionUC" />
</xcadl:LayoutDocument>
<xcadl:LayoutDocument CanClose="False" CanFloat="True" ContentId="FullUniverseViewID" Title="Universe">
<local:UniverseControl x:Name="UniverseUC" />
</xcadl:LayoutDocument>
</xcadl:LayoutDocumentPane>
</xcadl:LayoutPanel>
</xcadl:LayoutRoot>
</xcad:DockingManager>
</DockPanel>
</Window>