Skip to main content

DXDialog(String, DialogButtons, Boolean) Constructor

Initializes a new instance of the DXDialog class with the specified settings.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public DXDialog(
    string title,
    DialogButtons dialogButtons,
    bool setButtonHandlers
)

Parameters

Name Type Description
title String

A string value that specifies the dialog’s title. This value is assigned to the Title property.

dialogButtons DialogButtons

A DevExpress.Xpf.Core.DialogButtons enumeration value that specifies which buttons are displayed within the dialog. This value is assigned to the DXDialog.Buttons property.

setButtonHandlers Boolean

true to set the default button click handlers; otherwise false.

Remarks

If false is passed as the setButtonHandlers parameter, click handlers for standard dialog buttons (such as the OK and Cancel buttons) will not be set.

See Also