Skip to main content

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControl.Options Property

Provides access to the variety of options which can be specified for the RichEditControl.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.1.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap

#Declaration

[DXCategory("Options")]
public RichEditControlOptions Options { get; }

#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;
}
See Also