|
2 | 2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | 3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | 4 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 | | - xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
6 | | - xmlns:charting="clr-namespace:System.Windows.Forms.DataVisualization.Charting;assembly=System.Windows.Forms.DataVisualization" |
| 5 | + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
7 | 6 | xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" |
8 | 7 | xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions" |
9 | 8 | xmlns:livet="http://schemas.livet-mvvm.net/2011/wpf" |
10 | 9 | xmlns:lvChartPlugin="clr-namespace:LvChartPlugin" |
11 | 10 | mc:Ignorable="d" |
12 | 11 | d:DesignHeight="300" d:DesignWidth="300"> |
| 12 | + |
| 13 | + <UserControl.Resources> |
| 14 | + <ResourceDictionary Source="Styles/PluginStyle.xaml"/> |
| 15 | + </UserControl.Resources> |
| 16 | + |
13 | 17 | <i:Interaction.Triggers> |
14 | 18 |
|
15 | 19 | <livet:InteractionMessageTrigger Messenger="{Binding Messenger}" |
|
20 | 24 | </livet:InteractionMessageTrigger> |
21 | 25 | </i:Interaction.Triggers> |
22 | 26 | <Grid> |
23 | | - <Button Content="Open Chart Window" |
24 | | - VerticalAlignment="Center" |
25 | | - HorizontalAlignment="Center" |
26 | | - Padding="20"> |
| 27 | + <Grid.RowDefinitions> |
| 28 | + <RowDefinition Height="Auto"/> |
| 29 | + <RowDefinition/> |
| 30 | + </Grid.RowDefinitions> |
| 31 | + |
| 32 | + <Border Grid.Row="0" |
| 33 | + BorderThickness="0,0,0,1" |
| 34 | + BorderBrush="{DynamicResource ActiveBorderBrushKey}"> |
| 35 | + <TextBlock Text="艦娘 Level チャート" |
| 36 | + Style="{DynamicResource HeaderTextStyleKey}" |
| 37 | + Margin="10,0,10,10"/> |
| 38 | + </Border> |
| 39 | + |
| 40 | + <Button Grid.Row="1" |
| 41 | + Content="Open Chart Window" |
| 42 | + VerticalAlignment="Top" |
| 43 | + HorizontalAlignment="Left" |
| 44 | + Padding="20, 10" |
| 45 | + Margin="10"> |
27 | 46 | <i:Interaction.Triggers> |
28 | 47 | <i:EventTrigger EventName="Click"> |
29 | 48 | <ei:CallMethodAction TargetObject="{Binding}" |
|
0 commit comments