Xceed Toolkit Plus for WPF v4.6 Documentation
CanBeCurrentWhenReadOnly Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > ColumnBase Class : CanBeCurrentWhenReadOnly Property
Gets or sets a value indicating whether cells in the column can receive focus when the parent column's ReadOnly property is set to true.
Syntax
'Declaration
 
Public Property CanBeCurrentWhenReadOnly As Boolean
'Usage
 
Dim instance As ColumnBase

Dim value As Boolean

 

instance.CanBeCurrentWhenReadOnly = value

 

value = instance.CanBeCurrentWhenReadOnly
public bool CanBeCurrentWhenReadOnly {get; set;}

Property Value

true if the column can be current when its ReadOnly property is set to true; false otherwise. By default, true.
Remarks

When a column's CanBeCurrentWhenReadOnly property is false and its ReadOnly property is true, its cells cannot receive focus: clicking on these cells has no effect, and using the keyboard (arrow keys, Tab key, etc.) causes the focus rectangle to skip the cells. Furthermore, the cell's EditTemplate is not displayed.

The value of this property is ignored if ReadOnly is set to false.

Requirements

Target Platforms: Windows 11, Windows 10, 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

ColumnBase Class
ColumnBase Members