skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class GaugeMeasure

Represents the measurement of the scale elements that explicitly support Star (*) unit sizing.

Inheritance
System.Object
GaugeMeasure
Namespace: Telerik.Windows.Controls.Gauge
Assembly: Telerik.Windows.Controls.DataVisualization.dll

Syntax

public sealed class GaugeMeasure : ValueType

Constructors

GaugeMeasure(Double)

Initializes a new instance of the GaugeMeasure structure, using the specified absolute value in pixels.

Declaration
public GaugeMeasure(double pixels)
Parameters
System.Double pixels

The absolute count of pixels to establish as the value.

GaugeMeasure(Double, GridUnitType)

Initializes a new instance of the GaugeMeasure structure and specifies what kind of value it holds.

Declaration
public GaugeMeasure(double value, GridUnitType type)
Parameters
System.Double value

The initial value.

System.Windows.GridUnitType type

The GridUnitType held by the GaugeMeasure.

Properties

Auto

Gets an instance of GaugeMeasure that holds a value whose size is determined by the size properties of the content object.

Declaration
public static GaugeMeasure Auto { get; }
Property Value
GaugeMeasure

GridUnitType

Gets the associated GridUnitType for the GaugeMeasure.

Declaration
public GridUnitType GridUnitType { get; }
Property Value
System.Windows.GridUnitType

IsAbsolute

Gets a value that indicates whether the GaugeMeasure holds a value that is expressed in pixels.

Declaration
public bool IsAbsolute { get; }
Property Value
System.Boolean

IsAuto

Gets a value that indicates whether the GaugeMeasure holds a value whose size is determined by the size properties of the content object.

Declaration
public bool IsAuto { get; }
Property Value
System.Boolean

IsStar

Gets a value that indicates whether the GaugeMeasure holds a value that is expressed as a weighted proportion of available space.

Declaration
public bool IsStar { get; }
Property Value
System.Boolean

Value

Gets a Double that represents the value of the GaugeMeasure.

Declaration
public double Value { get; }
Property Value
System.Double

Methods

Equals(Object)

Compares two GaugeMeasure structures for equality.

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

The instance of GaugeMeasure to compare to this instance.

Returns
System.Boolean

true if instances are equal; otherwise, false.

Equals(GaugeMeasure, GaugeMeasure)

Compares two GaugeMeasure structures for equality.

Declaration
public static bool Equals(GaugeMeasure measure1, GaugeMeasure measure2)
Parameters
GaugeMeasure measure1

The instance of GaugeMeasure to compare.

GaugeMeasure measure2

The instance of GaugeMeasure to compare.

Returns
System.Boolean

true if instances are equal; otherwise, false.

GetHashCode()

Gets a hash code for this GaugeMeasure structure.

Declaration
public override int GetHashCode()
Returns
System.Int32

A hash code for this GaugeMeasure structure.

Parse(String)

Converts a String representation into the equivalent GaugeMeasure object.

Declaration
public static GaugeMeasure Parse(string source)
Parameters
System.String source

The String representation of the GaugeMeasure object.

Returns
GaugeMeasure

The equivalent GaugeMeasure structure.

Operators

Equality(GaugeMeasure, GaugeMeasure)

Compares two GaugeMeasure structures for equality.

Declaration
public static bool operator ==(GaugeMeasure measure1, GaugeMeasure measure2)
Parameters
GaugeMeasure measure1

The instance of GaugeMeasure to compare.

GaugeMeasure measure2

The instance of GaugeMeasure to compare.

Returns
System.Boolean

true if instances are equal; otherwise, false.

Inequality(GaugeMeasure, GaugeMeasure)

Compares two GaugeMeasure structures for inequality.

Declaration
public static bool operator !=(GaugeMeasure measure1, GaugeMeasure measure2)
Parameters
GaugeMeasure measure1

The instance of GaugeMeasure to compare.

GaugeMeasure measure2

The instance of GaugeMeasure to compare.

Returns
System.Boolean

true if instances are equal; otherwise, false.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.