ResultOffset Property

FrameworkTextComposition.ResultOffset Property

.NET Framework (current version)
 

Gets the offset of the finalized text when the TextInput event occurs.

Namespace:   System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public int ResultOffset { get; }

Property Value

Type: System.Int32

The offset of the finalized text when the TextInput event occurs.

When the TextInputStart or TextInputUpdate event occurs, ResultLength is –1.

ResultOffset is introduced in the .NET Framework version 3.5. For more information, see .NET Framework Versions and Dependencies.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft