C# Class WinRTXamlToolkit.Controls.Extensions.TextBlockExtensions

Contains extension methods for TextBlock.
显示文件 Open project: xyzzer/WinRTXamlToolkit

Public Methods

Method Description
GetCharacterRect ( this tb, int characterIndex ) : Rect

Gets the rectangle boundaries of a character in a TextBlock.

Method Details

GetCharacterRect() public static method

Gets the rectangle boundaries of a character in a TextBlock.
public static GetCharacterRect ( this tb, int characterIndex ) : Rect
tb this The TextBlock.
characterIndex int Index of the character.
return Windows.Foundation.Rect