Поделиться через


MediaCommandEventHandler Delegate

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Represents the method that will handle the MediaCommand event.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Delegate Sub MediaCommandEventHandler ( _
    sender As Object, _
    e As MediaCommandEventArgs _
)
public delegate void MediaCommandEventHandler(
    Object sender,
    MediaCommandEventArgs e
)

Parameters

  • sender
    Type: System.Object
    The object where the event handler is attached.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference