Skip to main content
All docs
V25.1
  • XtraBaseArgs.Caption Property

    Gets or sets the shown object (XtraMessageBox, XtraInputBox, etc.) caption.

    Namespace: DevExpress.XtraEditors

    Assembly: DevExpress.XtraEditors.v25.1.dll

    NuGet Package: DevExpress.Win.Navigation

    Declaration

    public string Caption { get; set; }

    Property Value

    Type Description
    String

    The owner caption.

    Remarks

    Caption string can be formatted with HTML-inspired tags.

    XtraMessageBoxArgs xma = new XtraMessageBoxArgs();
    xma.Caption = "<b><color=green>Greed Bold Title</color></b>";
    xma.Text = "<color=red><size=+4>Increased red content text</size></color>";
    xma.AllowHtmlText = DevExpress.Utils.DefaultBoolean.True;
    XtraMessageBox.Show(xma);
    
    See Also