ShapeCanvasGetAnchor Method |
Retrieves the Anchor of a certain shape element.
Namespace:
Ptv.XServer.Controls.Map.Layers.Shapes
Assembly:
Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax public static LocationAnchor GetAnchor(
UIElement element
)
Public Shared Function GetAnchor (
element As UIElement
) As LocationAnchor
public:
static LocationAnchor GetAnchor(
UIElement^ element
)
static member GetAnchor :
element : UIElement -> LocationAnchor
Parameters
- element
- Type: System.WindowsUIElement
The element of which the anchor should be retrieved.
Return Value
Type:
LocationAnchor The shape element anchor as a point. Returns a Point with zeroed coordinates if none was set.
See Also