ElementSoundKind Enum

Definition

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

public enum class ElementSoundKind
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class ElementSoundKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum ElementSoundKind
Public Enum ElementSoundKind
Inheritance
ElementSoundKind
Attributes

Fields

Focus 0

The sound to play when an element gets focus.

GoBack 6

The sound to play when a user navigates back.

Hide 3

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

Invoke 1

The sound to play when an element is invoked.

MoveNext 5

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

MovePrevious 4

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

Show 2

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

Remarks

For more info, see Sound design guidance.

Applies to

See also