Freigeben über


AbstractSelectionPresentationProperties Class

Definition

Provides UI specific properties about an Selection.

public ref class AbstractSelectionPresentationProperties abstract
public abstract class AbstractSelectionPresentationProperties
type AbstractSelectionPresentationProperties = class
Public MustInherit Class AbstractSelectionPresentationProperties
Inheritance
AbstractSelectionPresentationProperties

Constructors

AbstractSelectionPresentationProperties()

Properties

CaretBounds

Gets the caret location and size.

ContainingTextViewLine

Gets the ITextViewLine that contains the InsertionPoint.

IsOverwriteMode

Gets whether the caret should be rendered as overwrite.

IsWithinViewport

Gets whether the caret is shown in its entirety on the screen.

PreferredXCoordinate

Gets the position that the caret prefers to occupy on a given line. This position may not be honored if virtual space is off and the line is insufficiently long. See CaretBounds for the actual location.

PreferredYCoordinate

Gets the position that the caret prefers to occupy vertically in the view. This position is used for operations such as page up/down, but may not be honored if there is an adornment at the desired location. See CaretBounds for the actual location.

Methods

TryGetContainingTextViewLine(ITextViewLine)

Tries to get the ITextViewLine that contains the InsertionPoint. This can fail if the call happens during a view layout or after the view is closed.

Applies to