.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SimpleView.Padding Property

Gets or sets the distance in pixels between the text and the control's borders.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.2.Core.dll


public PortablePadding Padding { get; set; }
Public Property Padding As PortablePadding

Property Value

Type Description

This structure is equivalent to System.Windows.Forms.Padding and contains padding information.


The example below shows how to specify left, top, right, and bottom paddings in the Simple View.

richEditControl1.Views.SimpleView.Padding = new DevExpress.Portable.PortablePadding(100, 20, 100, 20);
See Also