Skip to main content

RulerOptions.Visibility Property

Gets or sets whether the ruler is shown.

Namespace: DevExpress.XtraRichEdit

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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.

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