Northwoods.GoWPF 1.3.5 Assembly
LocationSpot Property
See Also  Send Feedback
Northwoods.GoXam Namespace > Node Class : LocationSpot Property

Gets or sets the spot in the Node.LocationElement that is this node's location point.

Syntax

Visual Basic (Declaration) 
Public Property LocationSpot As Spot
C# 
public Spot LocationSpot {get; set;}

Property Value

The default value is Spot.TopLeft. The value must be a specific Spot -- i.e. one for which Spot.IsSpot is true. The value is actually stored on the Part.VisualElement. One normally sets it by setting or data-binding the attached property on the root element of the DataTemplate.

Remarks

When the Node.LocationElementName is the default value (an empty string) or when it explicitly refers to the Part.VisualElement, and when this LocationSpot property is Spot.TopLeft, the Node.Location will be the same as the Node.Position.

However, it is common to set this to Spot.Center, so that the Node.Location has a value corresponding to the point at the center of the Node.LocationElement. (The Node.Position always refers to the top-left corner point of the Part.Bounds.)

Requirements

See Also

© 2012 All Rights Reserved.