Class
SelectionState

Class SelectionState. Implements the IDisposable

Definition

Namespace:Telerik.Windows.Controls.SyntaxEditor.UI

Assembly:Telerik.Windows.Controls.SyntaxEditor.dll

Syntax:

cs-api-definition
public class SelectionState : IDisposable

Inheritance: objectSelectionState

Implements: IDisposable

Constructors

SelectionState(Selection, bool)

Initializes a new instance of the SelectionState class.

Declaration

cs-api-definition
public SelectionState(Selection selection, bool anchorPositions)

Parameters

selection

Selection

anchorPositions

bool

Properties

EndPosition

Gets the end position.

Declaration

cs-api-definition
public CaretPosition EndPosition { get; }

Property Value

CaretPosition

The end position.

Mode

Gets the mode.

Declaration

cs-api-definition
public TextSelectionMode Mode { get; }

Property Value

TextSelectionMode

The mode.

StartPosition

Gets the start position.

Declaration

cs-api-definition
public CaretPosition StartPosition { get; }

Property Value

CaretPosition

The start position.

Methods

Dispose()

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

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

Declaration

cs-api-definition
protected virtual void Dispose(bool disposing)

Parameters

disposing

bool

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