A newer version of this page is available. Switch to the current version.

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.v20.2.dll

Declaration

public RichEditCommentVisibility Visibility { get; set; }

Property Value

Type Description
RichEditCommentVisibility

A RichEditCommentVisibility enumeration value specifying the comment visibility mode.

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