officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-characterpropertiesbase-1a5e4771.md
Gets or sets a value indicating whether a character(s) is hidden.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
bool? Hidden { get; set; }
Property Hidden As Boolean?
| Type | Description |
|---|---|
| Nullable<Boolean> |
true if characters are hidden; otherwise, false or null , for a mixture of true and false.
|
Use the CharacterProperties interface to change character formatting.
The ToggleHiddenTextCommand command can also be used to mark the text as hidden.
To display hidden text, preserving its characteristic as hidden, specify the FormattingMarkVisibilityOptions.HiddenText option or execute the ToggleShowWhitespaceCommand command.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Hidden property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
how-to-use-docvariable-fields/CS/DocumentVariablesExample/Form1.cs#L61
cp.ForeColor = Color.Red;
cp.Hidden = true;
e.RecordDocument.EndUpdateCharacters(cp);
wpf-richedit-use-docvariable-fields/CS/MainWindow.xaml.cs#L58
cp.ForeColor = Color.Red;
cp.Hidden = true;
e.RecordDocument.EndUpdateCharacters(cp);
how-to-use-docvariable-fields/VB/DocumentVariablesExample/Form1.vb#L60
cp.ForeColor = Color.Red
cp.Hidden = True
e.RecordDocument.EndUpdateCharacters(cp)
wpf-richedit-use-docvariable-fields/VB/MainWindow.xaml.vb#L57
cp.ForeColor = Color.Red
cp.Hidden = True
e.RecordDocument.EndUpdateCharacters(cp)
See Also
CharacterPropertiesBase Interface