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

RulerOptions.Visibility Property

Gets or sets whether the ruler is shown.

Namespace: DevExpress.XtraRichEdit

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

Declaration

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

Property Value

Type Default Description
RichEditRulerVisibility **Auto**

A RichEditRulerVisibility enumeration member specifying the visibility mode.

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:

Library Object Type Path to Visibility
WinForms Controls SnapControlOptions
.HorizontalRuler.Visibility
RichEditControlOptions
.HorizontalRuler.Visibility
WPF Controls RichEditControlOptions
.HorizontalRuler.Visibility
Office File API RichEditControlOptionsBase
.HorizontalRuler.Visibility
ASP.NET Web Forms Controls ASPxRichEditSettings
.HorizontalRuler.Visibility

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Visibility property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also