TextLine.GetPreviousCaretCharacterHit(CharacterHit) Method

Definition

Gets the previous character hit for caret navigation.

public:
 abstract System::Windows::Media::TextFormatting::CharacterHit GetPreviousCaretCharacterHit(System::Windows::Media::TextFormatting::CharacterHit characterHit);
public abstract System.Windows.Media.TextFormatting.CharacterHit GetPreviousCaretCharacterHit (System.Windows.Media.TextFormatting.CharacterHit characterHit);
abstract member GetPreviousCaretCharacterHit : System.Windows.Media.TextFormatting.CharacterHit -> System.Windows.Media.TextFormatting.CharacterHit

Parameters

characterHit
CharacterHit

The current CharacterHit object.

Returns

The previous CharacterHit object based on caret navigation.

Applies to