|
|
|
@ -116,10 +116,13 @@
@@ -116,10 +116,13 @@
|
|
|
|
|
<Separator /> |
|
|
|
|
<!-- 'Open' toolbar category is inserted here --> |
|
|
|
|
<Separator /> |
|
|
|
|
<ComboBox Name="assemblyListComboBox" Width="100" MaxDropDownHeight="Auto" |
|
|
|
|
ItemsSource="{Binding AssemblyListManager.AssemblyLists}" |
|
|
|
|
ToolTip="{x:Static properties:Resources.SelectAssemblyListDropdownTooltip}" |
|
|
|
|
SelectedItem="{Binding SessionSettings.ActiveAssemblyList}" /> |
|
|
|
|
<Grid Margin="2,0"> |
|
|
|
|
<ItemsControl ItemsSource="{Binding AssemblyListManager.AssemblyLists}" Height="0" Margin="15,0" /> |
|
|
|
|
<ComboBox Name="assemblyListComboBox" MaxDropDownHeight="Auto" |
|
|
|
|
ItemsSource="{Binding AssemblyListManager.AssemblyLists}" |
|
|
|
|
ToolTip="{x:Static properties:Resources.SelectAssemblyListDropdownTooltip}" |
|
|
|
|
SelectedItem="{Binding SessionSettings.ActiveAssemblyList}" /> |
|
|
|
|
</Grid> |
|
|
|
|
<Button Command="{x:Static local:ILSpyCommands.ManageAssemblyListsCommand}" |
|
|
|
|
ToolTip="{x:Static properties:Resources.ManageAssemblyLists}"> |
|
|
|
|
<Image Width="16" Height="16" Source="{controls:XamlResource Images/AssemblyList}" |
|
|
|
@ -142,17 +145,23 @@
@@ -142,17 +145,23 @@
|
|
|
|
|
Style="{StaticResource DarkModeAwareImageStyle}" /> |
|
|
|
|
</CheckBox> |
|
|
|
|
<Separator /> |
|
|
|
|
<ComboBox Name="languageComboBox" DisplayMemberPath="Name" Width="100" MaxDropDownHeight="Auto" |
|
|
|
|
IsEnabled="{Binding Workspace.ActiveTabPage.SupportsLanguageSwitching}" |
|
|
|
|
ItemsSource="{x:Static local:Languages.AllLanguages}" |
|
|
|
|
ToolTip="{x:Static properties:Resources.SelectLanguageDropdownTooltip}" |
|
|
|
|
SelectedItem="{Binding SessionSettings.LanguageSettings.Language}" /> |
|
|
|
|
<ComboBox Name="languageVersionComboBox" DisplayMemberPath="DisplayName" Width="120" MaxDropDownHeight="Auto" |
|
|
|
|
ToolTip="{x:Static properties:Resources.SelectVersionDropdownTooltip}" |
|
|
|
|
Visibility="{Binding SelectedItem.HasLanguageVersions, ElementName=languageComboBox, Converter={toms:BooleanToVisibilityConverter}}" |
|
|
|
|
IsEnabled="{Binding Workspace.ActiveTabPage.SupportsLanguageSwitching}" |
|
|
|
|
ItemsSource="{Binding SelectedItem.LanguageVersions, ElementName=languageComboBox, UpdateSourceTrigger=PropertyChanged}" |
|
|
|
|
SelectedItem="{Binding SessionSettings.LanguageSettings.LanguageVersion, UpdateSourceTrigger=PropertyChanged}" /> |
|
|
|
|
<Grid Margin="2,0"> |
|
|
|
|
<ItemsControl ItemsSource="{x:Static local:Languages.AllLanguages}" DisplayMemberPath="Name" Height="0" Margin="15,0" /> |
|
|
|
|
<ComboBox Name="languageComboBox" DisplayMemberPath="Name" MaxDropDownHeight="Auto" |
|
|
|
|
IsEnabled="{Binding Workspace.ActiveTabPage.SupportsLanguageSwitching}" |
|
|
|
|
ItemsSource="{x:Static local:Languages.AllLanguages}" |
|
|
|
|
ToolTip="{x:Static properties:Resources.SelectLanguageDropdownTooltip}" |
|
|
|
|
SelectedItem="{Binding SessionSettings.LanguageSettings.Language}" /> |
|
|
|
|
</Grid> |
|
|
|
|
<Grid Margin="2,0"> |
|
|
|
|
<ItemsControl ItemsSource="{Binding SelectedItem.LanguageVersions, ElementName=languageComboBox, UpdateSourceTrigger=PropertyChanged}" DisplayMemberPath="DisplayName" Height="0" Margin="15,0" /> |
|
|
|
|
<ComboBox Name="languageVersionComboBox" DisplayMemberPath="DisplayName" MaxDropDownHeight="Auto" |
|
|
|
|
ToolTip="{x:Static properties:Resources.SelectVersionDropdownTooltip}" |
|
|
|
|
Visibility="{Binding SelectedItem.HasLanguageVersions, ElementName=languageComboBox, Converter={toms:BooleanToVisibilityConverter}}" |
|
|
|
|
IsEnabled="{Binding Workspace.ActiveTabPage.SupportsLanguageSwitching}" |
|
|
|
|
ItemsSource="{Binding SelectedItem.LanguageVersions, ElementName=languageComboBox, UpdateSourceTrigger=PropertyChanged}" |
|
|
|
|
SelectedItem="{Binding SessionSettings.LanguageSettings.LanguageVersion, UpdateSourceTrigger=PropertyChanged}" /> |
|
|
|
|
</Grid> |
|
|
|
|
</ToolBar> |
|
|
|
|
<!-- Update panel --> |
|
|
|
|
<Border DockPanel.Dock="Top" BorderBrush="Black" BorderThickness="1" Name="updatePanel" Visibility="Collapsed"> |
|
|
|
|