ElementSoundKind ElementSoundKind ElementSoundKind ElementSoundKind Enum

Definition

Defines constants that specify the sound played by the ElementSoundPlayer.Play method.

public : enum class ElementSoundKind
enum class winrt::Windows::UI::Xaml::ElementSoundKind : int32_t
public enum ElementSoundKind
Public Enum ElementSoundKind
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Fields

Focus Focus Focus Focus 0

The sound to play when an element gets focus.

GoBack GoBack GoBack GoBack 6

The sound to play when a user navigates back.

Hide Hide Hide Hide 3

The sound to play when a flyout, dialog, or command bar is closed.

Invoke Invoke Invoke Invoke 1

The sound to play when an element is invoked.

MoveNext MoveNext MoveNext MoveNext 5

The sound to play when a user navigates to the next panel or view within a page.

MovePrevious MovePrevious MovePrevious MovePrevious 4

The sound to play when a user navigates to the previous panel or view within a page.

Show Show Show Show 2

The sound to play when a flyout, dialog, or command bar is opened.

Remarks

For more info, see Sound in UWP apps.

See also