.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CommentOptions.Visibility Property

Specifies the visibility mode of a document comment.

Namespace: DevExpress.XtraRichEdit

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

Declaration

[DefaultValue(RichEditCommentVisibility.Auto)]
public RichEditCommentVisibility Visibility { get; set; }
<DefaultValue(RichEditCommentVisibility.Auto)>
Public Property Visibility As RichEditCommentVisibility
[DefaultValue(RichEditCommentVisibility.Auto)]
public RichEditCommentVisibility Visibility { get; set; }
<DefaultValue(RichEditCommentVisibility.Auto)>
Public Property Visibility As RichEditCommentVisibility
[DefaultValue(RichEditCommentVisibility.Auto)]
public RichEditCommentVisibility Visibility { get; set; }
<DefaultValue(RichEditCommentVisibility.Auto)>
Public Property Visibility As RichEditCommentVisibility

Property Value

Type Default Description
RichEditCommentVisibility

Auto

A RichEditCommentVisibility enumeration value.

Property Value

Type Default Description
RichEditCommentVisibility

Auto

A RichEditCommentVisibility enumeration value.

Property Value

Type Default Description
RichEditCommentVisibility

Auto

A RichEditCommentVisibility enumeration value.

Remarks

When the CommentOptions.Visibility is set to RichEditCommentVisibility.Visible, the comment balloons are displayed and document ranges are highlighted. You can hide comments and highlight commented ranges by setting the Visibility to Hidden and the CommentOptions.HighlightCommentedRange option - to true. Note that the Visibility property value changes to Visible after adding a new comment.

See Also