Xceed DataGrid for WPF v7.2 Documentation
GetIsCellsHost Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views.Surfaces Namespace > RegionPresenter Class : GetIsCellsHost Method
The dependency object from which the property value is read.
Gets a value that indicates whether the Panel to which it is attached can contain cells.
Syntax
'Declaration
 
Public Shared Function GetIsCellsHost( _

   ByVal obj As DependencyObject _

) As Boolean
'Usage
 
Dim obj As DependencyObject

Dim value As Boolean

 

value = RegionPresenter.GetIsCellsHost(obj)
public static bool GetIsCellsHost( 

   DependencyObject obj

)

Parameters

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

Return Value

true if the Panel can contain cells; false otherwise.
Remarks
Within a region presenter, a Panel must be identified as the element in which the cells displayed in the region will be contained by setting the presenter'sIsCellsHost attached property to true. If a corresponding region configuration defines a new template but does not include a Panel identified as being a cell host, the names of the fields that were provided through the FieldNames property but were not explicitly positioned in the template will not be displayed in the region.
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

RegionPresenter Class
RegionPresenter Members