Create Advanced treeView in WalletExlorer.
ADD
WalletWasabi.Gui/Controls/WalletExplorer/WalletAdvancedViewModel.cs
+using ReactiveUI;
+using System.Collections.ObjectModel;
+
+namespace WalletWasabi.Gui.Controls.WalletExplorer
+{
+ public class WalletAdvancedViewModel : WalletActionViewModel
+ {
+ private ObservableCollection<WalletActionViewModel> _items;
+
+ public WalletAdvancedViewModel(WalletViewModel walletViewModel) : base(walletViewModel.Name, walletViewModel)
+ {
+ Items = new ObservableCollection<WalletActionViewModel>();
+ }
+
+ public ObservableCollection<WalletActionViewModel> Items
+ {
+ get => _items;
+ set => this.RaiseAndSetIfChanged(ref _items, value);
+ }
+ }
+}

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletExplorerView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/WalletExplorerView.xaml
</StackPanel>
</Button>
</TreeDataTemplate>
+
+ <TreeDataTemplate DataType="ViewModels:WalletAdvancedViewModel" ItemsSource="{Binding Items}">
+ <Button BorderThickness="0" Background="Transparent" HorizontalAlignment="Stretch" HorizontalContentAlignment="Left">
+ <StackPanel Orientation="Horizontal" Spacing="6">
+ <TextBlock Text="Advancede" Height="19" VerticalAlignment="Center" />
+ </StackPanel>
+ </Button>
+ </TreeDataTemplate>
</TreeView.DataTemplates>
</TreeView>
</Grid>

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
@@ -45,9 +45,14 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
Actions.Add(new ReceiveTabViewModel(this));
Actions.Add(new CoinJoinTabViewModel(this));
Actions.Add(new HistoryTabViewModel(this));
- Actions.Add(new WalletInfoViewModel(this));
- Actions.Add(new SendTabViewModel(this, isTransactionBuilder: true));
- Actions.Add(new TransactionBroadcasterViewModel(this));
+
+ var advanced = new WalletAdvancedViewModel(this);
+ Actions.Add(advanced);
+ advanced.Items.Add(new WalletInfoViewModel(this));
+ advanced.Items.Add(new SendTabViewModel(this, isTransactionBuilder: true));
+ advanced.Items.Add(new TransactionBroadcasterViewModel(this));
+
+ // Open and select tabs.
Actions?.OfType<SendTabViewModel>()?.FirstOrDefault()?.DisplayActionTab();
if (receiveDominant)

Create Advanced treeView in WalletExlorer.