Class QualitativeRange
Represents the qualitative range of a bullet graph. To render this range, create an instance of the QualitativeRange class, and set required properties.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.BulletGraph
Assembly: Syncfusion.SfBulletGraph.WPF.dll
Syntax
public class QualitativeRange : Control, INotifyPropertyChanged
Constructors
QualitativeRange()
Declaration
public QualitativeRange()
Fields
RangeCaptionProperty
Using a DependencyProperty as the backing store for RangeCaption. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty RangeCaptionProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RangeEndProperty
Using a DependencyProperty as the backing store for RangeEnd. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty RangeEndProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RangeOpacityProperty
Using a DependencyProperty as the backing store for RangeOpacity. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty RangeOpacityProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RangeStartProperty
Using a DependencyProperty as the backing store for RangeStart. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty RangeStartProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
RangeStrokeProperty
Using a DependencyProperty as the backing store for RangeStroke. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty RangeStrokeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
RangeCaption
Gets or sets the opacity of the qualitative range.
Declaration
public string RangeCaption { get; set; }
Property Value
Type |
---|
System.String |
Examples
using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.QualitativeRangesSize = 100; QualitativeRange range1 = new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red), RangeCaption = "Good" }; bulletGraph.QualitativeRanges.Add(range1); Layout.Children.Add(bulletGraph); } } }
RangeEnd
Gets or sets the end value of the qualitative range.
Declaration
public double RangeEnd { get; set; }
Property Value
Type |
---|
System.Double |
Examples
using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.QualitativeRangesSize = 100; QualitativeRange range1 = new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }; bulletGraph.QualitativeRanges.Add(range1); Layout.Children.Add(bulletGraph); } } }
RangeOpacity
Gets or sets the opacity of the qualitative range.
Declaration
public double RangeOpacity { get; set; }
Property Value
Type |
---|
System.Double |
Examples
using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.QualitativeRangesSize = 100; QualitativeRange range1 = new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }; bulletGraph.QualitativeRanges.Add(range1); Layout.Children.Add(bulletGraph); } } }
RangeStart
Gets or sets the start value of the qualitative range.
Declaration
public double RangeStart { get; }
Property Value
Type |
---|
System.Double |
Examples
using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.QualitativeRangesSize = 100; QualitativeRange range1 = new QualitativeRange { RangeStart=50, RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }; bulletGraph.QualitativeRanges.Add(range1); Layout.Children.Add(bulletGraph); } } }
RangeStroke
Gets or sets the color for the qualitative range.
Declaration
public Brush RangeStroke { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
Examples
using Syncfusion.UI.Xaml.BulletGraph; using Windows.UI; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; namespace BulletGraphSample { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SfBulletGraph bulletGraph = new SfBulletGraph(); bulletGraph.QualitativeRangesSize = 100; QualitativeRange range1 = new QualitativeRange { RangeEnd = 100, RangeOpacity = 0.5, RangeStroke = new SolidColorBrush(Colors.Red) }; bulletGraph.QualitativeRanges.Add(range1); Layout.Children.Add(bulletGraph); } } }
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | finalSize |
Returns
Type |
---|
System.Windows.Size |
OnApplyTemplate()
Method gets called when the default style key template is applied.
Declaration
public override void OnApplyTemplate()
Events
PropertyChanged
Event gets raised when the property value gets changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |