6 changed files with 138 additions and 31 deletions
@ -1,46 +1,83 @@
@@ -1,46 +1,83 @@
|
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<gui:OptionPanel |
||||
x:Class="ICSharpCode.CodeCoverage.CodeCoverageOptionsPanelXaml" |
||||
x:Class="ICSharpCode.CodeCoverage.CodeCoverageOptionsPanel" |
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||||
xmlns:core="http://icsharpcode.net/sharpdevelop/core" |
||||
xmlns:gui="clr-namespace:ICSharpCode.SharpDevelop.Gui;assembly=ICSharpCode.SharpDevelop" |
||||
|
||||
xmlns:widgets="http://icsharpcode.net/sharpdevelop/widgets"> |
||||
|
||||
<GroupBox Header="{core:Localize ICSharpCode.CodeCoverage.OptionsPanel.CodeCoverageColoursGroupBoxText}"> |
||||
<Grid ShowGridLines="True" > |
||||
<!--xmlns:local="clr-namespace:ICSharpCode.CodeCoverage"--> |
||||
|
||||
<GroupBox |
||||
Header="{core:Localize ICSharpCode.CodeCoverage.OptionsPanel.CodeCoverageColoursGroupBoxText}"> |
||||
<Grid > |
||||
<Grid.RowDefinitions> |
||||
<RowDefinition Height="Auto"></RowDefinition> |
||||
<RowDefinition Height="Auto"></RowDefinition> |
||||
<RowDefinition Height="Auto"></RowDefinition> |
||||
<RowDefinition Height="Auto"></RowDefinition> |
||||
<RowDefinition Height="Auto"></RowDefinition> |
||||
<RowDefinition Height="40"></RowDefinition> |
||||
</Grid.RowDefinitions> |
||||
|
||||
<Grid.ColumnDefinitions> |
||||
<ColumnDefinition></ColumnDefinition> |
||||
<ColumnDefinition></ColumnDefinition> |
||||
<ColumnDefinition></ColumnDefinition> |
||||
<ColumnDefinition Width="Auto"></ColumnDefinition> |
||||
<ColumnDefinition Width="30"></ColumnDefinition> |
||||
</Grid.ColumnDefinitions> |
||||
|
||||
<Label Content="{core:Localize ICSharpCode.CodeCoverage.OptionsPanel.DisplayItemsLabel}"></Label> |
||||
<Label |
||||
Content="{core:Localize ICSharpCode.CodeCoverage.OptionsPanel.DisplayItemsLabel}"></Label> |
||||
|
||||
<Label Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="3,0,0,3" |
||||
<Label |
||||
Grid.Column="2" |
||||
HorizontalAlignment="Stretch" |
||||
VerticalAlignment="Center" |
||||
Content="{core:Localize ICSharpCode.CodeCoverage.OptionsPanel.ItemForegroundLabel}"></Label> |
||||
|
||||
<Button Grid.Row="1" Grid.Column="3" Padding="9,1" VerticalAlignment="Center" |
||||
Content="..."></Button> |
||||
<gui:ColorPickerButton |
||||
Grid.Row="1" Grid.Column="3" VerticalAlignment="Center" |
||||
Value="{Binding ForeGroundColor}" |
||||
Text="..."> |
||||
</gui:ColorPickerButton> |
||||
|
||||
<Label Grid.Row="2" Grid.Column="2" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="3,0,0,3" |
||||
<Label |
||||
Grid.Row="2" |
||||
Grid.Column="2" |
||||
HorizontalAlignment="Stretch" |
||||
VerticalAlignment="Center" |
||||
Content="{core:Localize ICSharpCode.CodeCoverage.OptionsPanel.ItemBackgroundLabel}"></Label> |
||||
|
||||
<Button Grid.Row="4" Grid.Column="3" Padding="9,1" VerticalAlignment="Center" |
||||
Content="..."></Button> |
||||
<ListView x:Name="displayItemsListBox" Grid.Row="1" Grid.ColumnSpan="2" Grid.RowSpan="3" |
||||
ItemsSource="{Binding DisplayItems}"> |
||||
<gui:ColorPickerButton |
||||
Grid.Row="3" Grid.Column="3" VerticalAlignment="Center" |
||||
Value="{Binding BackGroundColor}" |
||||
Text="..."> |
||||
</gui:ColorPickerButton> |
||||
|
||||
</ListView> |
||||
<ListView x:Name="displayItemsListBox" |
||||
Grid.Row="1" Grid.ColumnSpan="2" Grid.RowSpan="3" |
||||
ItemsSource="{Binding DisplayItems}" |
||||
SelectedIndex="0" |
||||
SelectedItem="{Binding DisplayItem}" |
||||
IsSynchronizedWithCurrentItem="True"></ListView> |
||||
|
||||
<TextBlock |
||||
Grid.Row="6" |
||||
Grid.ColumnSpan="3" |
||||
Text="{core:Localize ICSharpCode.CodeCoverage.OptionsPanel.SampleText}" |
||||
TextAlignment="Center" |
||||
FontSize="15" |
||||
VerticalAlignment="Center"> |
||||
<TextBlock.Foreground> |
||||
<SolidColorBrush Color="{Binding ForeGroundColor}"></SolidColorBrush> |
||||
</TextBlock.Foreground> |
||||
<TextBlock.Background> |
||||
<SolidColorBrush Color="{Binding BackGroundColor}"></SolidColorBrush> |
||||
</TextBlock.Background> |
||||
</TextBlock> |
||||
</Grid> |
||||
</GroupBox> |
||||
</gui:OptionPanel> |
Loading…
Reference in new issue