Xceed DataGrid for WPF v7.2 Documentation
DetailsExpansionChangedEventArgs Constructor


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DetailsExpansionChangedEventArgs Class : DetailsExpansionChangedEventArgs Constructor
The routed event identifier.
The data item whose detail grid was expanded or collapsed.
The DataGridContext of the master data item.
true if the detail grid was expanded, false if it was collapsed.
Initializes a new instance of the DetailsExpansionChangedEventArgs class.
Syntax
'Declaration
 
Public Function New( _
   ByVal routedEvent As RoutedEvent, _
   ByVal dataItem As Object, _
   ByVal dataGridContext As DataGridContext, _
   ByVal isExpanded As Boolean _
)
'Usage
 
Dim routedEvent As RoutedEvent
Dim dataItem As Object
Dim dataGridContext As DataGridContext
Dim isExpanded As Boolean
 
Dim instance As New DetailsExpansionChangedEventArgs(routedEvent, dataItem, dataGridContext, isExpanded)
public DetailsExpansionChangedEventArgs( 
   RoutedEvent routedEvent,
   object dataItem,
   DataGridContext dataGridContext,
   bool isExpanded
)

Parameters

routedEvent
The routed event identifier.
dataItem
The data item whose detail grid was expanded or collapsed.
dataGridContext
The DataGridContext of the master data item.
isExpanded
true if the detail grid was expanded, false if it was collapsed.
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

DetailsExpansionChangedEventArgs Class
DetailsExpansionChangedEventArgs Members