Back to Devexpress

RichEditBehaviorOptions Members

officefileapi-devexpress-dot-xtrarichedit-dot-richeditbehavioroptions-dot-underscore-members.md

latest10.0 KB
Original Source

RichEditBehaviorOptions Members

Specifies the restricted operations that cannot be performed by end-users over a document.

Constructors

NameDescription
RichEditBehaviorOptions()For internal use. Initializes a new instance of the RichEditBehaviorOptions class with the default settings.

Properties

NameDescription
CopySpecifies whether or not the Copy operation is permitted.
CreateNewSpecifies whether or not the Create New Document operation is permitted.
CutSpecifies whether or not the Cut operation is permitted.
DefaultMaxZoomFactorIndicates the maximum default zoom factor.
DefaultMinZoomFactorIndicates the minimum default zoom factor.
DocumentPropertiesAutoUpdateGets or sets whether to update the document properties automatically.
DragSpecifies whether or not the Drag operation is permitted.
DropSpecifies whether or not the Drop operation is permitted.
EastAsianTextAlignmentSpecifies whether the Distribute and Thai Distribute alignment operations are permitted.
EncryptGets or sets whether to enable document encryption.
FontSourceSpecifies the settings applied to the default font of a RichEdit control.
FontSubstitutionRetrieves font substitution options.
ForeColorSourceSpecifies the color settings applied to the default font of a RichEdit control.
KeepTextHighlightingOnClearFormattingGets or sets whether the ClearFormattingCommand removes text highlighting.
MaxZoomFactorSpecifies the upper limit of document zooming.
MinZoomFactorSpecifies the lower limit of document zooming.
OfficeScrollingSpecifies whether or not the Office Scrolling feature is enabled.
OpenSpecifies whether or not the Open Document operation is permitted.
OvertypeAllowedSpecifies whether or not the overtype mode is allowed.
PageBreakInsertModeGets or sets whether a page break is inserted next to the specified position or in the new line.
PasteSpecifies whether or not the Paste operation is permitted.
PasteLineBreakSubstitutionSpecifies the substitute character that is used to replace the line break in pasted HTML.
PasteSingleCellAsTextSpecifies whether or not to paste a cell from the Clipboard as plain text.
PrintingSpecifies whether or not the printing operations are permitted.
RightToLeftTextDirectionSpecifies whether or not the right-to-left text direction is permitted.
SaveSpecifies whether or not the Save Document operation is permitted.
SaveAsSpecifies whether or not the Save Document As… operation is permitted.
ShowPopupMenuSpecifies whether or not the RichEdit popup menu can be displayed.
TabMarkerSpecifies which character(s) to insert when pressing the TAB key.
TouchSpecifies whether or not the touch device input is analyzed.
UseFontSubstitutionSpecifies whether or not to use a font substitution for displaying characters that are missing in the current font.
UseThemeFontsSpecifies whether to use theme fonts to retrieve default document font information.
ZoomingSpecifies whether or not the Zoom operation is permitted.

Methods

NameDescription
Assign(BaseOptions)Copies all settings from the object passed as the parameter to the current object.
BeginUpdate()Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate()Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate()Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Resets all notification options to their default values. Inherited from RichEditNotificationOptions.
ToString()Returns a string representing the currently enabled options. Inherited from BaseOptions.

Events

NameDescription
ChangedOccurs when the options are modified. Inherited from RichEditNotificationOptions.

See Also

RichEditBehaviorOptions Class

DevExpress.XtraRichEdit Namespace