Visual Basic (Declaration) | |
---|---|
Public Property CenterPoint As Point |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Point CenterPoint {get; set;} |
XAML Attributes Usage | |
---|---|
<object CenterPoint=xCenter, yCenter .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
XAML Property Element Usage | |
---|---|
<object> <object.CenterPoint> <Point X=xCenter Y=yCenter/> </object.CenterPoint> </object> |
XAML Attributes Usage | |
---|---|
<object CenterPoint=xCenter, yCenter .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
XAML Property Element Usage | |
---|---|
<object> <object.CenterPoint> <Point X=xCenter Y=yCenter/> </object.CenterPoint> </object> |
Return Value
A Point structure that specifies the center point of this AnnProtractorObject.For XAML example, refer to AnnProtractorObject.
For C#/VB examples, refer to AnnProtractorObject.
An AnnProtractorObject consists of two rulers joined at a point to create an angle. The center point is CenterPoint, the first line ends at FirstPoint and the second line ends at SecondPoint.
For more information, refer to Using Protractors in WPF Annotation Objects.
For more information, refer to Using Protractors in WPF Annotation Objects.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family