Back to Devexpress

TextEditCustomHighlightTextEventArgs Members

windowsforms-devexpress-dot-xtraeditors-dot-texteditcustomhighlighttexteventargs-dot-underscore-members.md

latest6.6 KB
Original Source

TextEditCustomHighlightTextEventArgs Members

Contains data for the TextEdit.CustomHighlightText and RepositoryItemTextEdit.CustomHighlightText events.

Constructors

NameDescription
TextEditCustomHighlightTextEventArgs(Int32, String, Int32, Boolean)Initializes a new instance of the TextEditCustomHighlightTextEventArgs class with specified settings.

Fields

NameDescription
Empty staticProvides a value to use with events that do not have event data. Inherited from EventArgs.

Properties

NameDescription
LineIndexGets the zero-based index of the currently processed text line for multi-line text. Returns 0 for single-line text.
TextGets the currently processed text/text line (for multi-line text).
TextPositionGets the position of the currently processed text line within the editor’s text.

Methods

NameDescription
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.
HighlightRange(Int32, Int32, Action<TextEdit.Block>)Highlights or custom paints a text block at a specified position.
HighlightRange(Int32, Int32, Color, Color)Highlights a text block at a specific position using custom foreground and background colors.
HighlightRange(Int32, Int32, Color)Highlights a text block at a specified position using a custom foreground color.
HighlightRanges(String, Action<TextEdit.Block>, CompareOptions)Highlights or custom paints all text blocks that have the specified content.
HighlightRanges(String, Color, Color, CompareOptions)Highlights all text blocks that have specified content using custom foreground and background colors.
HighlightRanges(String, Color, CompareOptions)Highlights all text blocks that have the specified content using a custom foreground color.
HighlightWords(String, Action<TextEdit.Block>, CompareOptions)Highlights or custom paints whole words.
HighlightWords(String, Color, Color, CompareOptions)Highlights whole words using custom foreground and background colors.
HighlightWords(String, Color, CompareOptions)Highlights whole words using a custom foreground color.
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.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

TextEditCustomHighlightTextEventArgs Class

DevExpress.XtraEditors Namespace