Visual Basic (Declaration) | |
---|---|
Public Property Position As Point |
C# | |
---|---|
public Point Position {get; set;} |
Property Value
Setting this property just changes the value of Node.Location, offset to account for any difference between Node.Location and Node.Position.This is only a CLR property, so this property cannot be data-bound. It is common to data-bind the Node.Location property.
Most operations work with the node's location, not the position. One exception is the Move method.