Intersoft ClientUI Documentation
AudioSource Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXDock Namespace > UXDock Class : AudioSource Property






Gets or sets the audio source to be played when a UXDockButton is clicked.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Audio")>
Public Property AudioSource As String
Visual Basic (Usage)Copy Code
Dim instance As UXDock
Dim value As String
 
instance.AudioSource = value
 
value = instance.AudioSource
C# 
[CategoryAttribute("Audio")]
public string AudioSource {get; set;}
Delphi 
public read-write property AudioSource: String; 
JScript 
CategoryAttribute("Audio")
public function get,set AudioSource : String
Managed Extensions for C++ 
[CategoryAttribute("Audio")]
public: __property string* get_AudioSource();
public: __property void set_AudioSource( 
   string* value
);
C++/CLI 
[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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.