Xceed DataGrid for WPF v7.2 Documentation
DetailsCollapsing Event


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : DetailsCollapsing Event
Raised when a detail grid is about to collapse.
Syntax
'Declaration
 
Public Event DetailsCollapsing As DetailsExpansionChangingEventHandler
'Usage
 
Dim instance As DataGridControl
Dim handler As DetailsExpansionChangingEventHandler
 
AddHandler instance.DetailsCollapsing, handler
public event DetailsExpansionChangingEventHandler DetailsCollapsing
Event Data

The event handler receives an argument of type DetailsExpansionChangingEventArgs containing data related to this event. The following DetailsExpansionChangingEventArgs properties provide information specific to this event.

PropertyDescription
Gets or sets a value that indicates if the routed event is to be canceled.  
Gets the DataGridContext of the master data item.  
(Inherited from System.Windows.RoutedEventArgs)
Gets a value that indicates if the detail grid is expanding (true), or collapsing (false).  
Gets the data item whose detail grid is to be expanded or collapsed.  
(Inherited from )
(Inherited from )
Gets a dictionary of collections associated to each detail grid pertaining to the master item.  
(Inherited from )
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