Xceed DataGrid for WPF v7.2 Documentation
HasDetails Property (DataGridContext)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridContext Class : HasDetails Property
Gets a value indicating whether the context has details.
Syntax
'Declaration
 
Public ReadOnly Property HasDetails As Boolean
'Usage
 
Dim instance As DataGridContext
Dim value As Boolean
 
value = instance.HasDetails
public bool HasDetails {get;}

Property Value

true if the context has details; false otherwise.
Remarks
The data-grid context of a grid always exists; however, detail contexts are created and exist only when they are expanded and will be destroyed when a detail is collapsed. A data-grid context's HasDetails property can be queried to determine if it has details; however, it does not indicate whether the details are expanded and consequently have a context. To know if the details of a specific data item are expanded and therefore have a context, the AreDetailsExpanded method can be used.
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

DataGridContext Class
DataGridContext Members