Skip to main content
All docs
V26.1
  • XtraDialog.ShowAsync(IWin32Window, Control) Method

    Displays the XtraDialog asynchronously and returns the Task that is completed when the XtraDialog closes.

    Namespace: DevExpress.XtraEditors

    Assembly: DevExpress.XtraEditors.v26.1.dll

    Declaration

    public static Task<DialogResult> ShowAsync(
        IWin32Window owner,
        Control content
    )

    Parameters

    Name Type Description
    owner IWin32Window

    An object that serves as the dialog’s top-level window and owner.

    content Control

    A control to be displayed in the dialog’s client area.

    Returns

    Type Description
    Task<DialogResult>

    An operation that executes asynchronously and is completed when the XtraDialog closes.

    See Also