GlyphRun.GetNextCaretCharacterHit Method

Retrieves the next valid caret character hit in the logical direction in the GlyphRun.

Namespace: System.Windows.Media
Assembly: PresentationCore (in presentationcore.dll)

public CharacterHit GetNextCaretCharacterHit (
	CharacterHit characterHit
)
public CharacterHit GetNextCaretCharacterHit (
	CharacterHit characterHit
)
public function GetNextCaretCharacterHit (
	characterHit : CharacterHit
) : CharacterHit
You cannot use methods in XAML.

Parameters

characterHit

The CharacterHit to use for computing the next hit value.

Return Value

A CharacterHit that represents the next valid caret character hit in the logical direction. If the return value is equal to characterHit, no further navigation is possible in the GlyphRun.

To retrieve the previous valid caret character hit, use GetPreviousCaretCharacterHit.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: