Intersoft ClientUI Documentation
AudioSource Property (UXDock)



Gets or sets the audio source to be played when a UXDockButton is clicked.
Syntax
<CategoryAttribute("Audio")>
Public Property AudioSource As String
Dim instance As UXDock
Dim value As String
 
instance.AudioSource = value
 
value = instance.AudioSource
[CategoryAttribute("Audio")]
public string AudioSource {get; set;}
[CategoryAttribute("Audio")]
public:
property String^ AudioSource {
   String^ get();
   void set (    String^ value);
}
Remarks

UXDock has the ability to play a short audio or voice clip when a button is clicked. To achieve this, you set the AudioSource property to a supported media type such as MP3 or WAV. Leave the property empty if you do not want to play an audio when the button is clicked.

XAML
Copy Code
<Intersoft:UXDock AudioSource="audio.wav">           
</Intersoft:UXDock>

This property is available UXDock level and UXDockButton level. Modifying the properties at UXDock level will apply to all buttons belong to UXDock.

On the other hand, modifying the value at UXDockButton level will only apply to that specified button.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXDock Class
UXDock Members

Concepts

UXDock

Send Feedback