MediaElement.IsDecodingOnGPU Property
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Gets a value that indicates whether the MediaElement is being decoded in hardware.
Namespace: System.Windows.Controls
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public ReadOnly Property IsDecodingOnGPU As Boolean
public bool IsDecodingOnGPU { get; }
Property Value
Type: System.Boolean
true if the MediaElement is being decoded in hardware; otherwise, false.
Remarks
Dependency property identifier field: IsDecodingOnGPUProperty
The IsDecodingOnGPU property is only valid after the MediaOpened event has been raised. IsDecodingOnGPU is not valid following a MediaFailed or MediaEnded event being raised.
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.