Xceed DataGrid for WPF v7.2 Documentation
GetIsCellFocusScope Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > Cell Class : GetIsCellFocusScope Method
The dependency object form which the property value is read.
Gets the value of the IsCellFocusScope attached property for the specified dependency object.
Syntax
'Declaration
 
Public Shared Function GetIsCellFocusScope( _
   ByVal obj As DependencyObject _
) As Boolean
'Usage
 
Dim obj As DependencyObject
Dim value As Boolean
 
value = Cell.GetIsCellFocusScope(obj)
public static bool GetIsCellFocusScope( 
   DependencyObject obj
)

Parameters

obj
The dependency object form which the property value is read.

Return Value

The IsCellFocusScope property value for the dependency object. By default, false.
Remarks
This property is used when a CellEditor is activated. It can be set on a input control (in the CellEditor.EditTemplate) that will receive the initial focus when the cell enters edit mode. Its usage is optional. If omitted, the focus will be set on the first focusable control found.
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

Cell Class
Cell Members