Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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