Gets data parameter of the command.
Assembly: PresentationCore (in PresentationCore.dll)
This property represents a generic data parameter that is defined by the particular command.
If this parameter is not needed, a null reference (Nothing in Visual Basic) can be passed.
Normally, the is used to pass specific information to the command when it is executed. The type of the data is defined by the command.
The following example creates an ExecutedRoutedEventHandler for a custom RoutedCommand. The handler updates a TextBox with the current time and the Value property of a Slider control that is passed to the handler through the .
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.