RichEditControl.Options Property
Provides access to the variety of options which can be specified for the RichEditControl.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.XtraRichEdit.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
RichEditControlOptions | A RichEditControlOptions object containing various RichEditControl’s options. |
Remarks
The Options property provides access to the object which exposes all options implemented for the RichEditControl.
Use the RichEditControlOptions properties to access target options.
The code sample below shows how to access options used to specify document restrictions.
private void RestrictFormatting()
{
richEditControl.Options.DocumentCapabilities.CharacterFormatting = DocumentCapability.Hidden;
richEditControl.Options.DocumentCapabilities.Comments = DocumentCapability.Disabled;
richEditControl.Options.DocumentCapabilities.FloatingObjects = DocumentCapability.Hidden;
}
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Options 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.