Table of Contents

Class DialogFactory

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Contains static methods which call standard dialogs.

public static class DialogFactory
Inheritance
DialogFactory

Properties

Handler

Gets or sets IDialogFactoryHandler object used to create dialogs.

Methods

AskBrightness(byte)

Shows dialog which asks to enter the brightness value. Possible values are 0..255.

AskByte(string, byte, byte)

Shows dialog which asks to enter a byte value.

AskLightness(byte)

Shows dialog which asks to enter the lightness value. Possible values are 0..200.

AskTransparency(byte)

Shows dialog which asks to enter the transparency value. Possible values are 0..255.

EditColumnsWithListEditor(ListView)

Edits Columns with list editor.

EditItemsWithListEditor(ListControl)

Edits Items with list editor.

EditItemsWithListEditor(ListView)

Edits Items with list editor.

EditItemsWithListEditor(StatusBar?)

Edits Panels with list editor.

EditItemsWithListEditor(TreeView)

Edits Items with list editor.

EditPropertyWithListEditor(object?, PropertyInfo?)

Edits property with list editor.

EditPropertyWithListEditor(object?, string)

Edits property with list editor.

EditWithListEdit(object?, EventArgs)

Used as event handler.

GetNumberFromUser(string?, string?, string?, long, long, long, Control?, PointI?)

Shows a dialog asking the user for numeric input.

GetTextFromUser(string?, string?, string?, Control?, int, int, bool)

Pop up a dialog box with title set to caption, message, and a defaultValue. The user may type in text and press OK to return this text, or press Cancel to return the empty string.

ShowCriticalMessage(string, Exception?)

Shows critical message on the screen using any possible way.

ShowDeveloperTools()

Shows developer tools window.

ShowRunTerminalCommandDlg(string?)

Shows "Run terminal command" dialog.