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.

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.

ShowMessageBox(MessageBoxInfo)

Default show message box handler.