Represents a linear gauge control.
Namespace: MindFusion.Gauges.Wpf
Assembly: MindFusion.Gauges.Wpf
C# Copy Code |
---|
public class LinearGauge : ItemsControl |
Visual Basic Copy Code |
---|
Public Class LinearGauge |
The LinearGauge class acts as a container for LinearScale objects. The use of the gauge is not mandatory. However, the gauge provides a nice background skinning and glass effect. The following code illustrates how to define an LinearGauge object with a single scale in XAML:
XAML Copy Code |
---|
<gauges:LinearGauge Orientation="Horizontal"> |
The above code will produce a gauge similar to the following image.
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ItemsControl
MindFusion.Gauges.Wpf.LinearGauge