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

XtraDialogArgs(IWin32Window, Control, String, DialogResult[], Int32) Constructor

Initializes a new XtraDialogArgs class instance.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public XtraDialogArgs(
    IWin32Window owner,
    Control content,
    string caption,
    DialogResult[] buttons,
    int defaultButtonIndex
)

Parameters

Name Type Description
owner IWin32Window

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

content Control

A Control object that specifies the dialog box content.

caption String

The text in the title bar.

buttons DialogResult[]

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

defaultButtonIndex Int32

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

See Also