Dela via


Hyperlink.ElementSoundMode Property

Definition

Gets or sets a value that specifies the control's preference for whether it plays sounds.

public:
 property ElementSoundMode ElementSoundMode { ElementSoundMode get(); void set(ElementSoundMode value); };
ElementSoundMode ElementSoundMode();

void ElementSoundMode(ElementSoundMode value);
public ElementSoundMode ElementSoundMode { get; set; }
var elementSoundMode = hyperlink.elementSoundMode;
hyperlink.elementSoundMode = elementSoundMode;
Public Property ElementSoundMode As ElementSoundMode

Property Value

An enumeration value that specifies the control's preference for whether it plays sounds. The default is Default.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

For more info, see Sound in UWP apps.

Applies to

See also