Xceed Grid for WinForms v4.3 Documentation
CurrentCell Property


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : CurrentCell Property
Gets or sets a reference to the grid's current cell.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public Property CurrentCell As Cell
'Usage
 
Dim instance As GridControl
Dim value As Cell
 
instance.CurrentCell = value
 
value = instance.CurrentCell
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public Cell CurrentCell {get; set;}

Property Value

A reference to the grid's current Cell object. Can be a null reference (Nothing in Visual Basic)
Remarks

If both AllowCellNavigation and AllowCellNavigation are false then it is not possible to have a current cell and CurrentCell will return a null reference (Nothing in Visual Basic).

Only cells whose CanBeCurrent property is set to true can be current.

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

GridControl Class
GridControl Members