Skip to main content
.NET Framework 4.5.2+

TextBox.MarginTop Property

Gets or sets the distance between the top of the text and the top edge of the text box.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core


float MarginTop { get; set; }

Property Value

Type Description

The distance in measurement units specified by the Document.Unit property.


Use the Shape.MarginTop property to specify the distance between a text box and the main document content.

See Also