Northwoods.Go Assembly > Northwoods.Go Namespace > GoObject Class : Location Property |
'Declaration <DescriptionAttribute("The natural location for this object, perhaps different from Position.")> <CategoryAttribute("Bounds")> <TypeConverterAttribute("Northwoods.Go.GoPointFConverter, Northwoods.Go, Version=5.1.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")> Public Overridable Property Location As PointF
[DescriptionAttribute("The natural location for this object, perhaps different from Position.")] [CategoryAttribute("Bounds")] [TypeConverterAttribute("Northwoods.Go.GoPointFConverter, Northwoods.Go, Version=5.1.0.45, Culture=neutral, PublicKeyToken=a4e3b7b70161cfe8")] public virtual PointF Location {get; set;}
PointF
value is in document coordinates.Location
. For groups, one of the child objects might be the natural thing to be positioned as the user would see it. For example, the icon of a node might provide the Location for the node as a whole. If you override this property, you should also override SetSizeKeepingLocation.Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2