MindFusion.Wpf Pack Programmer's Guide
LinearGauge Class
Remarks See Also
 





Represents a linear gauge control.

Namespace: MindFusion.Gauges.Wpf
Assembly: MindFusion.Gauges.Wpf

 Syntax

C#  Copy Code

public class LinearGauge : ItemsControl

Visual Basic  Copy Code

Public Class LinearGauge
    Inherits ItemsControl

 Remarks

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">
  <gauges:LinearScale Orientation="Horizontal" />
</gauges:LinearGauge>

The above code will produce a gauge similar to the following image.

 Inheritance Hierarchy

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

 See Also

LinearGauge Members
MindFusion.Gauges.Wpf Namespace