XtraMessageBoxArgs.IconPadding Property
Gets or sets padding for an XtraMessageBox icon.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
Padding | Message box icon padding. |
Remarks
Use the Icon property to add an icon to an XtraMessageBox.
The IconPadding property sets the padding for this icon.
The code below adjusts icon padding.
using DevExpress.XtraEditors;
using System.Windows.Forms;
// ...
XtraMessageBoxArgs args = new XtraMessageBoxArgs();
// ...
args.IconPadding = new Padding(0, 5, 0, 0);
XtraMessageBox.Show(args);
See Also