Back to Devexpress

XtraMessageBoxArgs.DoNotShowAgainCheckBoxPadding Property

windowsforms-devexpress-dot-xtraeditors-dot-xtramessageboxargs-d1ca31f0.md

latest2.0 KB
Original Source

XtraMessageBoxArgs.DoNotShowAgainCheckBoxPadding Property

Gets or sets padding for the “Do not show this message againcheckbox.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public Padding DoNotShowAgainCheckBoxPadding { get; set; }
vb
Public Property DoNotShowAgainCheckBoxPadding As Padding

Property Value

TypeDescription
Padding

Checkbox padding.

|

Remarks

This property sets padding for the “Do not show this message again“ checkbox.

The code below adjusts checkbox padding.

csharp
using DevExpress.XtraEditors;
using System.Windows.Forms;
// ...
XtraMessageBoxArgs args = new XtraMessageBoxArgs();
// ...
args.DoNotShowAgainCheckBoxPadding = new Padding(30, 10, 30, 10);
XtraMessageBox.Show(args);
vb
Imports DevExpress.XtraEditors
Imports System.Windows.Forms
' ...
Private args As New XtraMessageBoxArgs()
' ...
args.DoNotShowAgainCheckBoxPadding = New Padding(30, 10, 30, 10)
XtraMessageBox.Show(args)

See Also

XtraMessageBoxArgs Class

XtraMessageBoxArgs Members

DevExpress.XtraEditors Namespace