Skip to main content
A newer version of this page is available. .

ASPxRichEditSettings.Unit Property

Gets or sets a unit of measure used in the ASPxRichEdit.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v20.2.dll

NuGet Package: DevExpress.Web.Office

Declaration

[DefaultValue(RichEditUnit.Inch)]
public RichEditUnit Unit { get; set; }

Property Value

Type Default Description
RichEditUnit **Inch**

One of the RichEditUnit enumeration values.

Available values:

Name Description
Centimeter

Specifies centimeters as the measurement unit.

Inch

Specifies inches as the measurement unit.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Unit
ASP.NET Controls and MVC Extensions ASPxRichEdit
.Settings .Unit
ASP.NET Bootstrap Controls BootstrapRichEdit
.Settings .Unit
ASP.NET MVC Extensions MVCxRichEdit
.Settings .Unit
RichEditSettings
.Settings .Unit
See Also