Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControl.Unit Property

Gets or sets a measure unit used within the control.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.1.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap

#Declaration

[DefaultValue(DocumentUnit.Document)]
[DXCategory("Layout")]
public DocumentUnit Unit { get; set; }

#Property Value

Type Default Description
DocumentUnit Document

One of the DocumentUnit enumeration values.

Available values:

Name Description
Document

Specifies documents (one three-hundredths of an inch) as measurement units.

Inch

Specifies inches as measurement units.

Millimeter

Specifies millimeters as measurement units.

Centimeter

Specifies centimeters as measurement units.

Point

Specifies points as measurement units.

See Also