Visual Basic (Declaration) | |
---|---|
Public Property PointerPosition As Point |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Point PointerPosition {get; set;} |
XAML Attributes Usage | |
---|---|
<object PointerPosition=xPosition, yPosition .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | None |
XAML Property Element Usage | |
---|---|
<object> <object.PointerPosition> <Point X=xPosition Y=xPosition/> </object.PointerPosition> </object> |
XAML Attributes Usage | |
---|---|
<object PointerPosition=xPosition, yPosition .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | None |
XAML Property Element Usage | |
---|---|
<object> <object.PointerPosition> <Point X=xPosition Y=xPosition/> </object.PointerPosition> </object> |
Return Value
A Point structure that specifies the position of the pointerFor XAML example, refer to AnnGroupObject.
For C#/VB examples, refer to AnnTextPointerObject.
The pointer will be drawn as the shortest straight line between any of the 4 corners
of the bounding rectangle and this position. The annotation framework will update
this line automatically when this AnnTextPointerObject object is transformed.
For more information, refer to Using Text in WPF Annotation Objects.
For more information, refer to Using Text in WPF Annotation Objects.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family