Version

OnRecordExpanding Method

Occurs before a Record is expanded
Syntax
'Declaration
 
Protected Overridable Sub OnRecordExpanding( _
   ByVal args As RecordExpandingEventArgs _
) 
protected virtual void OnRecordExpanding( 
   RecordExpandingEventArgs args
)

Parameters

args
Remarks

The user can expand a collapsed record if the RecordPresenter's visual tree includes an expansion indicator. Programmatically this can be accomplished by setting the Records Record.IsExpanded property to true.

Note: The ActiveRecord can also be expanded by calling the ExecuteCommand(RoutedCommand) method with the DataPresenterCommands.ExpandRecord command.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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