Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraBaseArgs.Caption Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.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