Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / Cell Class / CanBeCurrent Property


In This Topic
    CanBeCurrent Property (Cell)
    In This Topic
    Gets or sets a boolean value indicating if the cell can be the current cell.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates if the cell can be the current cell.")>
    <CategoryAttribute("Behavior")>
    <ApplyToDesignerAttribute(False)>
    Public Property CanBeCurrent As Boolean
    'Usage
     
    Dim instance As Cell
    Dim value As Boolean
     
    instance.CanBeCurrent = value
     
    value = instance.CanBeCurrent
    [Description("Indicates if the cell can be the current cell.")]
    [Category("Behavior")]
    [ApplyToDesigner(false)]
    public bool CanBeCurrent {get; set;}

    Property Value

    true if the cell can be the current cell; false otherwise.
    Remarks

    If DetailGrid.AllowCellNavigation is set to false, then this property will not allow the cell to be current even if it is set true.

    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