Skip to main content

ASPxRichEditHorizontalRulerSettings.Visibility Property

Gets or sets whether the ruler is shown.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v24.1.dll

NuGet Package: DevExpress.Web.Office

Declaration

[DefaultValue(RichEditRulerVisibility.Auto)]
public override RichEditRulerVisibility Visibility { get; set; }

Property Value

Type Default Description
RichEditRulerVisibility Auto

One of the RichEditRulerVisibility enumeration values.

Available values:

Name Description
Auto

The ruler visibility is determined by the current view.

Visible

The ruler is always visible.

Hidden

The ruler is always hidden.

Property Paths

You can access this nested property as listed below:

Object Type Path to Visibility
ASPxRichEditSettings
.HorizontalRuler .Visibility

Remarks

The RichEditRulerVisibility enumeration values provide the following behavior for the Simple View and Print Layout modes:

Ruler in Simple View Ruler in Print Layout
RichEditRulerVisibility.Auto hidden visible
RichEditRulerVisibility.Visible visible visible
RichEditRulerVisibility.Hidden hidden hidden
See Also