/// <summary> /// Get the ITree representing the current verbalization settings /// </summary> protected override ITree GetTree(ITypeDescriptorContext context, object value) { ITree tree = new VirtualTree(); IBranch rootBranch = new ProviderBranch((string)value, TargetProviders, SnippetsProviders, VerbalizationDirectory, LanguageFormatString); tree.Root = rootBranch; if (rootBranch.VisibleItemCount == 1) { tree.ToggleExpansion(0, 0); } return(tree); }