July 28, 2014
Gets a value indicating if media can be paused if the Pause method is called.
Assembly: System.Windows (in System.Windows.dll)
Dependency property identifier field: CanPauseProperty
Streaming media cannot be paused. Therefore returns false for any case where the MediaElement has loaded streaming media. However, it should not be inferred that any case where is false always indicates streaming media. This API is intended for determining whether user capabilities are available at a point in time so that your application can present appropriate UI, and is not intended for probing the media itself.
One scenario for this property is to check it after MediaOpened is raised, and potentially change the display characteristics of any "Pause" button that appears in UI if is false.