|
19 | 19 | <StackPanel> |
20 | 20 | <GroupBoxHeader="{x:Static local:Strings.CodeLens}"> |
21 | 21 | <StackPanel> |
22 | | - <CheckBoxx:Name="enableCodeLens"IsChecked="{Binding Enabled}" |
23 | | -Content="{x:Static local:Strings.CodeLens_Switch}"/> |
24 | | - <CheckBoxx:Name="useColors"IsChecked="{Binding UseColors}" |
25 | | -Content="{x:Static local:Strings.CodeLens_UseColors}"/> |
26 | | - <CheckBoxx:Name="replaceWithLineLens"IsChecked="{Binding ReplaceWithLineLens}" |
27 | | -Content="{x:Static local:Strings.CodeLens_Replace_LineLens}"/> |
28 | | - <Grid> |
29 | | - <Grid.ColumnDefinitions> |
30 | | - <ColumnDefinitionWidth="Auto"/> |
31 | | - <ColumnDefinitionWidth="70" /> |
32 | | - </Grid.ColumnDefinitions> |
33 | | - <Label Grid.Column="0"Content="{x:Static local:Strings.CodeLens_Prefix}"/> |
34 | | - <TextBoxx:Name="prefix" Grid.Column="1" |
35 | | -Text="{Binding Prefix, UpdateSourceTrigger=PropertyChanged}" |
36 | | -HorizontalContentAlignment="Right" |
37 | | -VerticalContentAlignment="Center"Margin="7,0,-116,0"> |
38 | | - </TextBox> |
39 | | - </Grid> |
| 22 | + <StackPanel> |
| 23 | + <CheckBoxx:Name="enableCodeLens"IsChecked="{Binding Enabled}" |
| 24 | +Content="{x:Static local:Strings.CodeLens_Switch}"/> |
| 25 | + </StackPanel> |
| 26 | + <StackPanelMargin="15 0 0 0"> |
| 27 | + <CheckBoxx:Name="useColors"IsChecked="{Binding UseColors}" |
| 28 | +Content="{x:Static local:Strings.CodeLens_UseColors}" |
| 29 | +IsEnabled="{Binding IsChecked, ElementName=enableCodeLens}"/> |
| 30 | + <CheckBoxx:Name="replaceWithLineLens"IsChecked="{Binding ReplaceWithLineLens}" |
| 31 | +Content="{x:Static local:Strings.CodeLens_Replace_LineLens}" |
| 32 | +IsEnabled="{Binding IsChecked, ElementName=enableCodeLens}"/> |
| 33 | + <Grid> |
| 34 | + <Grid.ColumnDefinitions> |
| 35 | + <ColumnDefinitionWidth="Auto"/> |
| 36 | + <ColumnDefinitionWidth="70" /> |
| 37 | + </Grid.ColumnDefinitions> |
| 38 | + <Label Grid.Column="0"Content="{x:Static local:Strings.CodeLens_Prefix}"/> |
| 39 | + <TextBoxx:Name="prefix" Grid.Column="1" |
| 40 | +Text="{Binding Prefix, UpdateSourceTrigger=PropertyChanged}" |
| 41 | +HorizontalContentAlignment="Right" |
| 42 | +VerticalContentAlignment="Center"Margin="7,0,-116,0" |
| 43 | +IsEnabled="{Binding IsChecked, ElementName=enableCodeLens}"> |
| 44 | + </TextBox> |
| 45 | + </Grid> |
| 46 | + </StackPanel> |
40 | 47 | </StackPanel> |
41 | 48 | </GroupBox> |
42 | 49 | </StackPanel> |
|