.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.
CreateNew Specifies whether or not the Create New Document operation is permitted.
Cut Specifies whether or not the Cut operation is permitted.
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.
Drop Specifies whether or not the Drop operation is permitted.
EastAsianTextAlignment Specifies whether or not the Distribute and Thai Distribute alignment operations are permitted.
Encrypt Gets or sets whether to enable document encryption.
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.
Open Specifies whether or not the Open Document operation is permitted.
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.
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.
RightToLeftTextDirection Specifies whether or not the right-to-left text direction is permitted.
Save Specifies whether or not the Save Document operation is permitted.
SaveAs Specifies whether or not the Save Document As... operation is permitted.
ShowPopupMenu Specifies whether or not the RichEdit popup menu can be displayed.
TabMarker Specifies which character(s) to insert when pressing the TAB key.
Touch Specifies whether or not the touch device input is analyzed.
UseFontSubstitution Specifies whether or not to use a font substitution for displaying characters that are missing in the current font.
UseThemeFonts Specifies whether to use theme fonts to retrieve default document font information.
Zooming Specifies whether or not the Zoom operation is permitted.

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) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. 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