Visual Basic (Declaration) | |
---|---|
Public Property GripperDistance As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public double GripperDistance {get; set;} |
XAML Attributes Usage | |
---|---|
<object GripperDistance=double .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
XAML Attributes Usage | |
---|---|
<object GripperDistance=double .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsRender |
Return Value
The distance in pixels that the AnnObjectBase.RotateGripper control point is originally placed from the bounds of the AnnObjectBase.This example does the following:
displays the AnnObjectBase.RotateCenter and AnnObjectBase.RotateGripper location (in object coordinates) changes the gripper distance to 60 pixels resets the rotate points to a new location (using the new gripper distance)
Visual Basic | Copy Code |
---|---|
Public Sub AnnObject_GripperDistance(ByVal obj As AnnObjectBase) |
C# | Copy Code |
---|---|
public void AnnObject_GripperDistance(AnnObjectBase obj) |
When an AnnObjectBase is first selected, two rotate handles appear:
the AnnObjectBase.RotateCenter and the AnnObjectBase.RotateGripper.
This property is the pixel distance that the AnnObjectBase.RotateGripper is initially
placed from the bounds of the AnnObjectBase.
For more information, refer to WPF Annotation Rotation Options.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family