Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Windows.Controls
  3. MediaElement
  4. HasAudio
  • MediaElement
    • BalanceProperty
    • BufferingEndedEvent
    • BufferingStartedEvent
    • IsMutedProperty
    • LoadedBehaviorProperty
    • MediaEndedEvent
    • MediaFailedEvent
    • MediaOpenedEvent
    • ScriptCommandEvent
    • ScrubbingEnabledProperty
    • SourceProperty
    • StretchDirectionProperty
    • StretchProperty
    • UnloadedBehaviorProperty
    • VolumeProperty
    • MediaElement()
    • Balance
    • BufferingProgress
    • CanPause
    • Clock
    • DownloadProgress
    • HasAudio
    • HasVideo
    • IsBuffering
    • IsMuted
    • LoadedBehavior
    • NaturalDuration
    • NaturalVideoHeight
    • NaturalVideoWidth
    • Position
    • ScrubbingEnabled
    • Source
    • SpeedRatio
    • Stretch
    • StretchDirection
    • UnloadedBehavior
    • Volume
    • ArrangeOverride(Size)
    • Close()
    • MeasureOverride(Size)
    • OnCreateAutomationPeer()
    • OnRender(DrawingContext)
    • Pause()
    • Play()
    • Stop()
    • BufferingEnded
    • BufferingStarted
    • MediaEnded
    • MediaFailed
    • MediaOpened
    • ScriptCommand
net452
namespace System.Windows.Controls
{
    [Localizability(LocalizationCategory.NeverLocalize)]
    public class MediaElement : FrameworkElement, IUriContext
    {
        public bool HasAudio { get; }
    }
}
.NET
5.06.07.08.09.0
.NET Core
3.03.1
.NET Framework
3.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net452
Assembly

PresentationFramework , Version=4.0.0.0, PublicKeyToken=31bf3856ad364e35

Referencing

Your project needs to set <UseWPF>True</UseWPF>.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

11/11/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙