New to Telerik UI for WinFormsStart a free 30-day trial

Represents RadTextBoxControlElement text changing event arguments

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TextBoxChangingEventArgs : TextChangingEventArgs

Inheritance: objectEventArgsCancelEventArgsTextChangingEventArgsTextBoxChangingEventArgs

Inherited Members TextChangingEventArgs.OldValueTextChangingEventArgs.NewValueCancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the TextBoxChangingEventArgs class.

C#
public TextBoxChangingEventArgs(int startPosition, int length, string oldText, string newText, TextBoxChangeAction action)
Parameters:startPositionint

The start position.

lengthint

The length.

oldTextstring

The old text.

newTextstring

The new text.

actionTextBoxChangeAction

The action.

Properties

Gets the text change action.

C#
public TextBoxChangeAction Action { get; }

Gets the selection length.

C#
public int Length { get; }

Gets the start position.

C#
public int StartPosition { get; }