-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathSettingsDialogControl.xaml
More file actions
78 lines (68 loc) · 3.14 KB
/
Copy pathSettingsDialogControl.xaml
File metadata and controls
78 lines (68 loc) · 3.14 KB
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
<DataTemplate xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vs="http://schemas.microsoft.com/visualstudio/extensibility/2022/xaml"
xmlns:styles="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.15.0"
xmlns:colors="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.15.0">
<DataTemplate.Resources>
<Style TargetType="TextBox" BasedOn="{StaticResource {x:Static styles:VsResourceKeys.ThemedDialogTextBoxStyleKey}}" />
<Style TargetType="CheckBox" BasedOn="{StaticResource {x:Static styles:VsResourceKeys.ThemedDialogCheckBoxStyleKey}}">
<Setter Property="Margin" Value="0 5" />
</Style>
<Style TargetType="Label" BasedOn="{StaticResource {x:Static styles:VsResourceKeys.ThemedDialogLabelStyleKey}}">
<Setter Property="Margin" Value="-5 0 0 0" />
</Style>
</DataTemplate.Resources>
<StackPanel>
<GroupBox
Header="Look & Feel"
Margin="5"
Padding="5">
<StackPanel>
<CheckBox IsChecked="{Binding ShowFilterToolbar, Mode=TwoWay}">
Show the filter toolbar
</CheckBox>
<CheckBox IsChecked="{Binding ShowHistoryIndicators, Mode=TwoWay}">
Show history/edit indicators
</CheckBox>
<CheckBox IsChecked="{Binding AutoHighlight, Mode=TwoWay}">
Auto-highlight active code item
</CheckBox>
<CheckBox IsChecked="{Binding ShowToolWindowForUnsupportedFiles, Mode=TwoWay}">
Show the tool window for unsupported files and files without code items
</CheckBox>
<CheckBox IsChecked="{Binding UseCompactMode, Mode=TwoWay}">
Use compact mode with less spacing
</CheckBox>
</StackPanel>
</GroupBox>
<GroupBox
Header="Performance"
Margin="5"
Padding="5">
<StackPanel>
<CheckBox IsChecked="{Binding UpdateWhileTyping, Mode=TwoWay}">
Update CodeNav while typing
</CheckBox>
<StackPanel>
<Label>
Do not auto load CodeNav for files with more than X lines
</Label>
<TextBox
HorizontalAlignment="Left"
Text="{Binding AutoLoadLineThreshold, Mode=TwoWay}"
MinWidth="200" />
</StackPanel>
</StackPanel>
</GroupBox>
<GroupBox
Header="Analytics"
Margin="5"
Padding="5">
<StackPanel>
<CheckBox IsChecked="{Binding EnableCrashAnalytics, Mode=TwoWay}">
Enable sending crash analytics to Application Insights
</CheckBox>
</StackPanel>
</GroupBox>
</StackPanel>
</DataTemplate>