Skip to main content

DXRichEditCommentOptions.Visibility Property

Gets or sets the visibility mode of a document comment. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v24.2.dll

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

public RichEditCommentVisibility Visibility { get; set; }

Property Value

Type Description
RichEditCommentVisibility

A RichEditCommentVisibility enumeration value specifying the comment visibility mode.

Available values:

Name Description
Auto

Comment visibility is determined automatically.

Visible

Comments are always visible.

Hidden

Comments are always hidden.

Property Paths

You can access this nested property as listed below:

Object Type Path to Visibility
DXRichEditAnnotationOptions
.CommentsOptions .Visibility
RichEditControl
.CommentOptions .Visibility

Remarks

When the Visibility property is set to RichEditCommentVisibility.Visible, the comment balloons are displayed and the corresponding document ranges are highlighted.

To disable displaying the comment balloons only, set the Visibility to RichEditCommentVisibility.Hidden, and the DXRichEditCommentOptions.HighlightCommentedRange option - to true.

See Also