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

An event arguments of SelectionChangingEventHandler

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class SelectionChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsSelectionChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the SelectionChangingEventArgs class.

C#
public SelectionChangingEventArgs(int oldSelectionStart, int oldSelectionLength, int newSelectionStart, int newSelectionLength)
Parameters:oldSelectionStartint

The old selection start.

oldSelectionLengthint

Old length of the selection.

newSelectionStartint

The new selection start.

newSelectionLengthint

New length of the selection.

Properties

Gets the new length of the selection.

C#
public int NewSelectionLength { get; }
Property Value:

The new length of the selection.

Gets the new selection start.

C#
public int NewSelectionStart { get; }

Gets the old length of the selection.

C#
public int OldSelectionLength { get; }
Property Value:

The old length of the selection.

Gets the old selection start.

C#
public int OldSelectionStart { get; }