alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class RangeColor

    Represents a color range with optional gradient support, used for data visualization or UI theming in WPF.

    Inheritance
    System.Object
    RangeColor
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.UI.Xaml.ProgressBar
    Assembly: Syncfusion.SfProgressBar.WPF.dll
    Syntax
    public class RangeColor : Object, INotifyPropertyChanged

    Constructors

    RangeColor()

    Declaration
    public RangeColor()

    Properties

    Color

    Gets or sets the color used for rendering.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type
    System.Windows.Media.Color

    End

    Gets or sets the ending value of the range.

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

    IsGradient

    Gets or sets a value indicating whether the color should be rendered as a gradient.

    Declaration
    public bool IsGradient { get; set; }
    Property Value
    Type
    System.Boolean

    Start

    Gets or sets the starting value of the range.

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

    Events

    PropertyChanged

    Occurs when a property value changes.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved