HeaderPane
Main
Hide
Share Link
Print

GetDimension Method, ListClass Class

Returns the location and size of a cell, row header or item.

Class: ListClass
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET

Syntax

public Rectangle GetDimension( CellBaseClass Cell );
public Rectangle GetDimension( ItemClass item );
Public Function GetDimension( ByVal Cell As CellBaseClass ) As Rectangle
Public Function GetDimension( ByVal item As ItemClass ) As Rectangle

Parameters

Cell

The cell or row header for which the location and size is requested.

item

The item, header row or footer row for which the location and size is requested.

Return Value

The location and size, relative to the top, left corner of the control.

Comments

Returns the location and size of a cell, row header or item.

The rectangle of an item covers the complete row, including the row header and both panes of a split tree control. The last row in the display area may extend beyond the bottom of the display area.

If the cell, row header or item is not displayed, an empty rectangle is returned.

See Also ListClass Class | Classes | SftBox/NET 3.0