Skip to main content

SimpleView.Padding Property

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v26.1.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

public PortablePadding Padding { get; set; }

Property Value

Type Description
DevExpress.Portable.PortablePadding

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

Remarks

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