FlexGrid for WinForms
Top Property



Gets the position of the top of this row, in pixels, relative to the grid.
Syntax
'Declaration
 
Public ReadOnly Property Top As Integer
'Usage
 
Dim instance As Row
Dim value As Integer
 
value = instance.Top
public int Top {get;}
public:
property int Top {
   int get();
}
Remarks

The value returned is the sum of row heights from the top of the grid until this row, and does not account for the scroll position. To account for the scroll position, this value should be adjusted using the grid's C1.Win.C1FlexGrid.Util.BaseControls.ScrollableControl.ScrollPosition property.

To retrieve the size and position of a cell, use the C1FlexGridBase.GetCellRect method.

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

Row Class
Row Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback