GrapeCity MultiRow Windows Forms Documentation
Location Property (Cell)


Gets or sets the coordinates of the upper-left corner of the cell relative to the upper-left corner of its parent Section.
Syntax
<LocalizableAttribute(True)>
<SRCategoryAttribute("Layout")>
<SRDescriptionAttribute("Indicates the coordinates of the upper-left corner of the Cell relative to the upper-left corner of its owner Section.")>
Public Property Location As Point
Dim instance As Cell
Dim value As Point
 
instance.Location = value
 
value = instance.Location
[Localizable(true)]
[SRCategory("Layout")]
[SRDescription("Indicates the coordinates of the upper-left corner of the Cell relative to the upper-left corner of its owner Section.")]
public Point Location {get; set;}

Property Value

A System.Drawing.Point value that represents the upper-left corner of the cell relative to the upper-left corner of its parent Section.
Remarks
Because the System.Drawing.Point class is a value type (Structure in Visual Basic, struct in Visual C#), it is returned by value, which means that accessing the property returns a copy of the upper-left point of the cell. So, adjusting the System.Drawing.Point.X or System.Drawing.Point.Y property of the System.Drawing.Point returned from this property does not affect the Left, Right, Top, or Bottom property values of the cell. Set each property value individually to adjust these properties, or set the Location property with a new System.Drawing.Point.
Requirements

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

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.