Version

RowExpansionChanged Event (BaseDataSource)

Indicates that a row has been expanded or collapsed.
Syntax
public event DataSourceRowExpansionChangedHandler RowExpansionChanged
Event Data

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

PropertyDescription
NewState The new state of the row. True is expanded, False is collapsed.
OldState The previous state of the row. True is expanded, False is collapsed.
RowIndex The index of the row being expanded or collapsed.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also