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

Class SelectionState. Implements the IDisposable

Definition

Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

C#
public class SelectionState : IDisposable

Inheritance: objectSelectionState

Implements: IDisposable

Constructors

Initializes a new instance of the SelectionState class.

C#
public SelectionState(Selection selection, bool anchorPositions)
Parameters:selectionSelectionanchorPositionsbool

Properties

Gets the end position.

C#
public CaretPosition EndPosition { get; }
Property Value:

The end position.

Gets the mode.

C#
public TextSelectionMode Mode { get; }
Property Value:

The mode.

Gets the start position.

C#
public CaretPosition StartPosition { get; }
Property Value:

The start position.

Methods

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

C#
public void Dispose()

Implements: IDisposable.Dispose()

Releases unmanaged and - optionally - managed resources.

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool

true to release both managed and unmanaged resources; false to release only unmanaged resources.