Table of Contents

Namespace NanoByte.Common.EtoControls

Eto.Forms controls and forms.

Dialogs

Use Msg to show simple message boxes and ErrorBox to report exceptions to the user.

InputBox and OutputBox (along with OutputGridBox and OutputTreeBox) provide quick prompts and result displays.

Controls

FilteredTreeView<T> displays a list of INameds in a tree with incremental search.

TaskControl, TaskProgressBar and TaskLabel display the progress of ITasks.

PropertyEditor displays and edits the properties of an object, similar to the Windows Forms PropertyGrid.

TimeSpanControl and UriTextBox provide input for TimeSpans and Uris.

Windows

WindowExtensions centers windows without an owner on the screen and provides Windows-specific helpers for taskbar app IDs, preventing taskbar pinning and UAC shield icons on buttons. The Windows-specific helpers do nothing on other platforms.

API

Classes

ErrorBox

A dialog displaying an error message and details.

ErrorReportForm

Presents the user with a friendly interface in case of an error, offering to report it to the developers.

FilteredTreeView<T>

Displays a list of INameds objects in a Eto.Forms.TreeGridView with incremental search. An automatic hierarchy is generated based on a Separator character.

FormattedTextBuilder

Builds a formatted string with colored paragraphs for display in a Eto.Forms.RichTextArea.

InputBox

Shows a simple dialog asking the user to input some text.

LayoutExtensions

Provides extension methods for laying out wrapped text.

Msg

Provides easier access to typical Eto.Forms.MessageBox configurations.

OutputBox

A simple dialog displaying selectable multi-line text.

OutputGridBox

Displays tabular data to the user.

OutputTreeBox

Displays tree data to the user.

PropertyEditor

Displays the public properties of an object and optionally allows editing them. A simplified alternative to the Windows Forms PropertyGrid.

TaskControl

Combines a TaskProgressBar and a TaskLabel.

TaskLabel

A progress label that takes TaskSnapshot inputs.

TaskProgressBar

A progress bar that takes TaskSnapshot inputs.

TimeSpanControl

Allows the user to input a TimeSpan as days, hours, minutes and seconds.

UriTextBox

A Eto.Forms.TextBox designed specifically for entering URIs.

WindowExtensions

Provides extension methods for Eto.Forms.Windows and other Eto.Forms.Controls.

Interfaces

IContextMenu

An object that can provide its own context menu.