Table of Contents

Interface IDialogFactoryHandler

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

Contains methods and properties which create system dialogs.

public interface IDialogFactoryHandler : IDisposable

Methods

CreateColorDialogHandler(ColorDialog)

Creates IColorDialogHandler interface provider.

CreateFontDialogHandler(FontDialog)

Creates IFontDialogHandler interface provider.

CreateOpenFileDialogHandler(OpenFileDialog)

Creates IOpenFileDialogHandler interface provider.

CreateSaveFileDialogHandler(SaveFileDialog)

Creates ISaveFileDialogHandler interface provider.

CreateSelectDirectoryDialogHandler(SelectDirectoryDialog)

Creates ISelectDirectoryDialogHandler interface provider.

GetNumberFromUserAsync(LongFromUserParams)

Shows a dialog asking the user for numeric input.

GetTextFromUserAsync(TextFromUserParams)

Popups a dialog box with a title, message and input box. The user may type in text and press 'OK' to return this text, or press 'Cancel' to return the empty string.

ShowMessageBox(MessageBoxInfo)

Default show message box handler.