wpf-devexpress-dot-xpf-dot-richedit-dot-dxricheditcommentoptions.md
Gets or sets the visibility mode of a document comment. This is a dependency property.
Namespace : DevExpress.Xpf.RichEdit
Assembly : DevExpress.Xpf.RichEdit.v25.2.dll
NuGet Package : DevExpress.Wpf.RichEdit
public RichEditCommentVisibility Visibility { get; set; }
Public Property Visibility As RichEditCommentVisibility
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to Visibility |
|---|---|
| DXRichEditAnnotationOptions |
.CommentsOptions .Visibility
| | RichEditControl |
.CommentOptions .Visibility
|
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
DXRichEditCommentOptions Class