XtraMessageBoxArgs.TextPadding Property
In This Article
Gets or sets text padding within an XtraMessageBox.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Description |
---|---|
Padding | Text padding. |
#Remarks
Use the Text property to specify XtraMessageBox text.
The TextPadding property sets the padding for this text.
The code below adjusts text padding.
using DevExpress.XtraEditors;
using System.Windows.Forms;
// ...
XtraMessageBoxArgs args = new XtraMessageBoxArgs();
// ...
args.TextPadding = new Padding(30, 10, 30, 10);
XtraMessageBox.Show(args);
See Also