Skip to main content
A newer version of this page is available. .

XtraInputBoxArgs(UserLookAndFeel, IWin32Window, String, String, Object, DialogResult[], Int32, DefaultBoolean, MessageBeepSound) Constructor

Initializes a new XtraInputBoxArgs class instance.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public XtraInputBoxArgs(
    UserLookAndFeel lookAndFeel = null,
    IWin32Window owner = null,
    string prompt = null,
    string title = null,
    object defaultResponse = null,
    DialogResult[] buttons = null,
    int defaultButtonIndex = 0,
    DefaultBoolean allowHtmlText = DefaultBoolean.Default,
    MessageBeepSound beep = MessageBeepSound.None
)

Optional Parameters

Name Type Default Description
lookAndFeel UserLookAndFeel *null*

An object that specifies look and feel settings.

owner IWin32Window *null*

An IWin32Window object that provides look and feel settings for the dialog box.

prompt String *null*

The text above the editor.

title String *null*

The text in the title bar.

defaultResponse Object *null*

The editor’s default value.

buttons DialogResult[] *null*

An array of DialogResult values that specify which buttons to display in the input box.

defaultButtonIndex Int32 0

An integer value that specifies the default button’s index in the buttons array.

allowHtmlText DefaultBoolean 2

True to parse HTML tags; False to display the plain text; Default to use the static (Shared in VB) XtraMessageBox.AllowHtmlText property.

beep DevExpress.XtraEditors.MessageBeepSound 0

A value that specifies the system sound played when the input box is shown.

See Also