Skip to main content
A newer version of this page is available. .

RichEditBehaviorOptions Members

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

Constructors

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

Properties

Name Description
Copy Specifies whether or not the Copy operation is permitted.
CopyAllowed For internal use. Use the RichEditBehaviorOptions.Copy property instead.
CreateNew Specifies whether or not the Create New Document operation is permitted.
CreateNewAllowed For internal use. Use the RichEditBehaviorOptions.CreateNew property instead.
Cut Specifies whether or not the Cut operation is permitted.
CutAllowed For internal use. Use the RichEditBehaviorOptions.Cut property instead.
DefaultMaxZoomFactor Indicates the maximum default zoom factor.
DefaultMinZoomFactor Indicates the minimum default zoom factor.
DocumentPropertiesAutoUpdate Gets or sets whether to update the document properties automatically.
Drag Specifies whether or not the Drag operation is permitted.
DragAllowed For internal use. Use the RichEditBehaviorOptions.Drag property instead.
Drop Specifies whether or not the Drop operation is permitted.
DropAllowed For internal use. Use the RichEditBehaviorOptions.Drop property instead.
FontSource Specifies the settings applied to the default font of a RichEdit control.
ForeColorSource Specifies the color settings applied to the default font of a RichEdit control.
KeepTextHighlightingOnClearFormatting Gets or sets whether the ClearFormattingCommand removes text highlighting.
MaxZoomFactor Specifies the upper limit of document zooming.
MinZoomFactor Specifies the lower limit of document zooming.
OfficeScrolling Specifies whether or not the Office Scrolling feature is enabled.
OfficeScrollingAllowed For internal use. Use the RichEditBehaviorOptions.OfficeScrolling property instead.
Open Specifies whether or not the Open Document operation is permitted.
OpenAllowed For internal use. Use the RichEditBehaviorOptions.Open property instead.
OvertypeAllowed Specifies whether or not the overtype mode is allowed.
PageBreakInsertMode Gets or sets whether a page break is inserted next to the specified position or in the new line.
Paste Specifies whether or not the Paste operation is permitted.
PasteAllowed For internal use. Use the RichEditBehaviorOptions.Paste property instead.
PasteLineBreakSubstitution Specifies the substitute character that is used to replace the line break in pasted HTML.
PasteSingleCellAsText Specifies whether or not to paste a cell from the Clipboard as plain text.
Printing Specifies whether or not the printing operations are permitted.
PrintingAllowed For internal use. Use the RichEditBehaviorOptions.Printing property instead.
RightToLeftTextDirection Specifies whether or not the right-to-left text direction is permitted.
RightToLeftTextDirectionAllowed For internal use. Use the RichEditBehaviorOptions.RightToLeftTextDirection property instead.
Save Specifies whether or not the Save Document operation is permitted.
SaveAllowed For internal use. Use the RichEditBehaviorOptions.Save property instead.
SaveAs Specifies whether or not the Save Document As… operation is permitted.
SaveAsAllowed For internal use. Use the RichEditBehaviorOptions.SaveAs property instead.
ShowPopupMenu Specifies whether or not the RichEdit popup menu can be displayed.
ShowPopupMenuAllowed For internal use. Use the RichEditBehaviorOptions.ShowPopupMenu property instead.
TabMarker Specifies which character(s) to insert when pressing the TAB key.
Touch Specifies whether or not the touch device input is analyzed.
TouchAllowed For internal use. Use the RichEditBehaviorOptions.Touch property instead.
UseFontSubstitution Specifies whether or not to use a font substitution for displaying characters that are missing in the current font.
Zooming Specifies whether or not the Zoom operation is permitted.
ZoomingAllowed For internal use. Use the RichEditBehaviorOptions.Zooming property instead.

Methods

Name Description
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) static Determines 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() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines 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

Name Description
Changed Occurs when the options are modified. Inherited from RichEditNotificationOptions.
See Also