ElementSoundPlayerState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines constants that specify whether XAML controls play sounds.
public enum class ElementSoundPlayerState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class ElementSoundPlayerState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum ElementSoundPlayerState
Public Enum ElementSoundPlayerState
- Inheritance
-
ElementSoundPlayerState
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Fields
Auto | 0 | The platform determines whether or not sounds are played. |
Off | 1 | Sounds are never played on any platform. |
On | 2 | Sounds are played on all platforms. |
Remarks
This enumeration is used by the ElementSoundPlayer.State property.
For more info, see Sound in UWP apps.
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro