UWP

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfLinearGauge - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfLinearGauge

    Represents the linear gauge.

    Inheritance
    System.Object
    SfLinearGauge
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Gauges
    Assembly: Syncfusion.SfGauge.UWP.dll
    Syntax
    public class SfLinearGauge : Control, IDisposable

    Constructors

    SfLinearGauge()

    Initializes a new instance of the SfLinearGauge class.

    Declaration
    public SfLinearGauge()

    Fields

    AnnotationsProperty

    Declaration
    public static readonly DependencyProperty AnnotationsProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    GaugeSizeProperty

    Declaration
    public static readonly DependencyProperty GaugeSizeProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    HeaderFontFamilyProperty

    Declaration
    public static readonly DependencyProperty HeaderFontFamilyProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    HeaderFontSizeProperty

    Declaration
    public static readonly DependencyProperty HeaderFontSizeProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    HeaderFontStyleProperty

    Declaration
    public static readonly DependencyProperty HeaderFontStyleProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    HeaderFontWeightProperty

    Declaration
    public static readonly DependencyProperty HeaderFontWeightProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    HeaderForegroundProperty

    Declaration
    public static readonly DependencyProperty HeaderForegroundProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    HeaderOffsetProperty

    Declaration
    public static readonly DependencyProperty HeaderOffsetProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    HeaderProperty

    Declaration
    public static readonly DependencyProperty HeaderProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    MainScaleProperty

    Using a DependencyProperty as the backing store for MainScale. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MainScaleProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    OrientationProperty

    Using a DependencyProperty as the backing store for Orientation. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty OrientationProperty
    Field Value
    Type Description
    Windows.UI.Xaml.DependencyProperty

    Properties

    Annotations

    Declaration
    public LinearAnnotationCollection Annotations { get; set; }
    Property Value
    Type Description
    LinearAnnotationCollection

    GaugeSize

    Declaration
    public Size GaugeSize { get; set; }
    Property Value
    Type Description
    Windows.Foundation.Size

    Header

    Gets or sets header for linear gauge

    Declaration
    public string Header { get; set; }
    Property Value
    Type Description
    System.String

    HeaderFontFamily

    Gets or sets a value for header font family

    Declaration
    public FontFamily HeaderFontFamily { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.FontFamily

    HeaderFontSize

    Gets or sets a value for header font size

    Declaration
    public double HeaderFontSize { get; set; }
    Property Value
    Type Description
    System.Double

    HeaderFontStyle

    Gets or sets the value for header font style

    Declaration
    public FontStyle HeaderFontStyle { get; set; }
    Property Value
    Type Description
    Windows.UI.Text.FontStyle

    HeaderFontWeight

    Gets or sets a value for header font weight

    Declaration
    public FontWeight HeaderFontWeight { get; set; }
    Property Value
    Type Description
    Windows.UI.Text.FontWeight

    HeaderForeground

    Gets or sets a value for header foreground

    Declaration
    public Brush HeaderForeground { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Media.Brush

    HeaderOffset

    Gets or sets a value for header offset

    Declaration
    public Point HeaderOffset { get; set; }
    Property Value
    Type Description
    Windows.Foundation.Point

    MainScale

    Gets or sets the main scale of the linear gauge.

    Declaration
    public LinearScale MainScale { get; set; }
    Property Value
    Type Description
    LinearScale
    Examples

    using Syncfusion.UI.Xaml.Gauges; namespace GaugeSample { public sealed partial class LinearGauge { public LinearGauge() { InitializeComponent(); SfLinearGauge linearGauge = new SfLinearGauge(); linearGauge.MainScale = new LinearScale(); this.Layout.Children.Add(linearGauge); } }
    }

    Orientation

    Gets or sets the orientation of the linear gauge.

    Declaration
    public Orientation Orientation { get; set; }
    Property Value
    Type Description
    Windows.UI.Xaml.Controls.Orientation
    Examples

    using Syncfusion.UI.Xaml.Gauges; namespace GaugeSample { public sealed partial class LinearGauge { public LinearGauge() { InitializeComponent(); SfLinearGauge linearGauge = new SfLinearGauge(); linearGauge.MainScale = new LinearScale(); this.Layout.Children.Add(linearGauge); } }
    }

    Methods

    Dispose()

    Declaration
    public void Dispose()

    MeasureOverride(Size)

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size availableSize
    Returns
    Type Description
    Windows.Foundation.Size

    OnApplyTemplate()

    Declaration
    protected override void OnApplyTemplate()

    Implements

    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved