Gets or sets the associated with this RoutedEventArgs instance.
Assembly: PresentationCore (in PresentationCore.dll)
Attempted to change the value while the event is being routed.
You cannot set this value on a RoutedEventArgs that has already been routed (for instance, if you obtained the arguments through a handler). Attempting to do so will generate an exception. You can only set it on an instance that has not yet been used to generate an invocation of the event.
The value of cannot be null at any time.
The following example creates new routed event data with an initial constructor and then sets the property as a subsequent operation. You must have set prior to raising the routed event.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.