Skip to main content

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

Initializes a new XtraInputBoxArgs class instance.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

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 Default

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 None

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

See Also