Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridControl Class / IsGroupExpanded Method
CollectionViewGroup representing the master group whose state to query.


In This Topic
    IsGroupExpanded Method (DataGridControl)
    In This Topic
    Retrieves a value indicating whether the specified master group is expanded.
    Syntax
    'Declaration
     
    Public Function IsGroupExpanded( _
       ByVal group As CollectionViewGroup _
    ) As Boolean
    'Usage
     
    Dim instance As DataGridControl
    Dim group As CollectionViewGroup
    Dim value As Boolean
     
    value = instance.IsGroupExpanded(group)
    public bool IsGroupExpanded( 
       CollectionViewGroup group
    )

    Parameters

    group
    CollectionViewGroup representing the master group whose state to query.

    Return Value

    true if the group is expanded; false otherwise.
    Remarks
    This method will return the actual state of the group regardless of its parent's state. For example, if the group is expanded but contained in a parent group that is collapsed, true will be returned.
    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