All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

XtraBaseArgs.Showing Event

Provides access to a Form embedded into a shown object.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public event EventHandler<XtraMessageShowingArgs> Showing
Public Event Showing As EventHandler(Of XtraMessageShowingArgs)

Event Data

The Showing event's data class is DevExpress.XtraEditors.XtraMessageShowingArgs.

Remarks

The code below illustrates how to change the background color for a form embedded into an XtraInputBox.

XtraInputBoxArgs xia = new XtraInputBoxArgs();
(xia as XtraBaseArgs).Buttons = new DialogResult[] {
    DialogResult.OK, DialogResult.Cancel, DialogResult.Retry };
xia.Caption = "User not found. Enter a valid user name.";
xia.Showing += Xia_Showing;
XtraInputBox.Show(xia);

private void Xia_Showing(object sender, XtraMessageShowingArgs e)
{
    e.Form.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning;
}
See Also