ElementSoundPlayerState
ElementSoundPlayerState
ElementSoundPlayerState
ElementSoundPlayerState
Enum
Definition
Defines constants that specify whether XAML controls play sounds.
public : enum class ElementSoundPlayerStatepublic enum ElementSoundPlayerStatePublic Enum ElementSoundPlayerState// This API is not available in Javascript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
Fields
| Auto Auto Auto Auto | The platform determines whether or not sounds are played. |
| Off Off Off Off | Sounds are never played on any platform. |
| On On On On | Sounds are played on all platforms. |
Remarks
This enumeration is used by the ElementSoundPlayer.State property.
For more info, see Sound in UWP apps.