Class VolumeMeter
Interaction logic for VolumeMeter.xaml.
Inheritance
VolumeMeter
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WPF.VolumeMeterPro
Assembly: VisioForge.Core.dll
Syntax
public class VolumeMeter : UserControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild
Constructors
VolumeMeter()
Initializes a new instance of the VolumeMeter class.
Declaration
public VolumeMeter()
Properties
Amplitude
Gets or sets current value.
Declaration
public float Amplitude { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Boost
Gets or sets boost value.
Declaration
public float Boost { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
MaxDb
Gets or sets maximum decibels.
Declaration
public float MaxDb { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
MinDb
Gets or sets minimum decibels.
Declaration
public float MinDb { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
MinimalUpdateInterval
Gets or sets minimal update interval to prevent to often refresh. Default is 100 ms.
Declaration
public TimeSpan MinimalUpdateInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Orientation
Gets or sets meter orientation.
Declaration
public Orientation Orientation { get; set; }
Property Value
| Type | Description |
|---|---|
| Orientation |
Methods
Clear()
Clears and refreshes control.
Declaration
public void Clear()
Start()
Starts.
Declaration
public void Start()
Stop()
Stops.
Declaration
public void Stop()
Update()
Updates.
Declaration
public void Update()