A newer version of this page is available. Switch to the current version.

AutoCorrectInfo Members

Provides data and methods that enable you to process input text and calculate the replacement object when handling the RichEditControl.AutoCorrect event.

Constructors

Name Description
AutoCorrectInfo(IRichEditControl) Initializes a new instance of the AutoCorrectInfo class with the specified setting.

Properties

Name Description
CanDecrementStart Gets whether the text range can be extended by moving its start.
ReplaceWith Gets or sets the object used to replace the input string in the document.
Text Gets the input string to check whether it should be replaced.

Methods

Name Description
DecrementEndPosition() Decreases a text range being analyzed by moving its end by one position.
DecrementStartPosition() Extends a text range being analyzed by moving its start by one position.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) 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.
IncrementEndPosition() Extends a text range being analyzed by moving its end by one position.
IncrementStartPosition() Decreases a text range being analyzed by moving its start by one position.
MemberwiseClone() Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also