Table of Contents

Class OutputTreeBox

Namespace
NanoByte.Common.Controls
Assembly
NanoByte.Common.WinForms.dll

Factory methods for OutputTreeBox<T>.

public static class OutputTreeBox
Inheritance
object
OutputTreeBox

Methods

Show<T>(IWin32Window?, string, NamedCollection<T>, char)

Displays an output dialog with tree data.

public static void Show<T>(IWin32Window? owner, string title, NamedCollection<T> data, char separator = '|') where T : INamed

Parameters

owner IWin32Window

The parent window for the dialogs; can be null.

title string

A title for the data.

data NamedCollection<T>

The data to display.

separator char

The character used to separate namespaces in the Names. This controls how the tree structure is generated.

Type Parameters

T

The type of INamed object to list. Special support for types implementing IHighlightColor and/or IContextMenu.