Class OutputTreeBox
Factory methods for OutputTreeBox<T>.
Namespace: NanoByte.Common.Controls
Assembly: NanoByte.Common.WinForms.dll
Syntax
public static class OutputTreeBox : Object
Methods
Show<T>(IWin32Window, String, NamedCollection<T>, Char)
Displays an output dialog with tree data.
Declaration
public static void Show<T>(IWin32Window owner, string title, NamedCollection<T> data, char separator = '|')
where T : INamed
Parameters
Type | Name | Description |
---|---|---|
IWin32Window | owner | The parent window for the dialogs; can be |
String | title | A title for the data. |
NamedCollection<T> | data | The data to display. |
System.Char | separator | The character used to separate namespaces in the Names. This controls how the tree structure is generated. |
Type Parameters
Name | Description |
---|---|
T | The type of INamed object to list. Special support for types implementing IHighlightColor and/or IContextMenu. |