The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

ToggleHiddenTextCommand Class

Toggles between normal and hidden text mode of the selection.

Namespace: DevExpress.XtraRichEdit.Commands

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

Declaration

public class ToggleHiddenTextCommand :
    ToggleCharacterFormattingBoolPropertyCommand
Public Class ToggleHiddenTextCommand
    Inherits ToggleCharacterFormattingBoolPropertyCommand

Remarks

Use the ToggleHiddenTextCommand command to make a portion of text hidden. The hidden text does not appear in standard views. To switch the hidden mode off, you should first select the text, so it is necessary to make it visible. To view the hidden text, use the ToggleShowWhitespaceCommand command or specify the FormattingMarkVisibilityOptions.HiddenText property. The hidden text appears and the ToggleHiddenTextCommand command can be used to toggle it to normal.

You can also use the CharacterPropertiesBase.Hidden property of the API to switch the hidden mode of the DocumentRange on and off.

Inheritance

Object
Command
DevExpress.Utils.Commands.ControlCommand<IRichEditControl, RichEditCommandId, DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
DevExpress.XtraRichEdit.Commands.RichEditCommandBase<DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
RichEditCommand
DevExpress.XtraRichEdit.Commands.SelectionBasedCommandBase
DevExpress.XtraRichEdit.Commands.SelectionBasedPropertyChangeCommandBase
DevExpress.XtraRichEdit.Commands.ChangeCharacterPropertiesCommandBase
DevExpress.XtraRichEdit.Commands.ChangeCharacterFormattingCommandBase<Boolean>
DevExpress.XtraRichEdit.Commands.ToggleChangeCharacterFormattingCommandBase<Boolean>
DevExpress.XtraRichEdit.Commands.ToggleCharacterFormattingBoolPropertyCommand
ToggleHiddenTextCommand
See Also