Class GraphicScale
Base class for the radial and linear scales.
Inherited Members
Namespace: Telerik.Windows.Controls.Gauge
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public abstract class GraphicScale : ScaleBase, IThemable
Constructors
GraphicScale()
Initializes a new instance of the GraphicScale class.
Declaration
protected GraphicScale()
Fields
DistributionProperty
Identifies the Distribution dependency property.
Declaration
public static readonly DependencyProperty DistributionProperty
Field Value
System.Windows.DependencyProperty
|
EndTickOffsetProperty
Identifies the EndTickOffset dependency property.
Declaration
public static readonly DependencyProperty EndTickOffsetProperty
Field Value
System.Windows.DependencyProperty
|
EndWidthProperty
Identifies the EndWidth dependency property.
Declaration
public static readonly DependencyProperty EndWidthProperty
Field Value
System.Windows.DependencyProperty
|
FillProperty
Identifies the Fill dependency property.
Declaration
public static readonly DependencyProperty FillProperty
Field Value
System.Windows.DependencyProperty
|
IsInteractiveProperty
Identifies the IsInteractive dependency property.
Declaration
public static readonly DependencyProperty IsInteractiveProperty
Field Value
System.Windows.DependencyProperty
|
IsReversedProperty
Identifies the IsReversed dependency property.
Declaration
public static readonly DependencyProperty IsReversedProperty
Field Value
System.Windows.DependencyProperty
|
LabelFormatProperty
Identifies the LabelFormat dependency property.
Declaration
public static readonly DependencyProperty LabelFormatProperty
Field Value
System.Windows.DependencyProperty
|
LabelLocationProperty
Identifies the LabelLocation dependency property.
Declaration
public static readonly DependencyProperty LabelLocationProperty
Field Value
System.Windows.DependencyProperty
|
LabelOffsetProperty
Identifies the LabelOffset dependency property.
Declaration
public static readonly DependencyProperty LabelOffsetProperty
Field Value
System.Windows.DependencyProperty
|
LabelTemplateProperty
Identifies the LabelTemplate dependency property.
Declaration
public static readonly DependencyProperty LabelTemplateProperty
Field Value
System.Windows.DependencyProperty
|
LabelTooltipFormatProperty
Identifies the LabelTooltipFormat dependency property.
Declaration
public static readonly DependencyProperty LabelTooltipFormatProperty
Field Value
System.Windows.DependencyProperty
|
LabelToolTipStyleProperty
Identifies the LabelToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty LabelToolTipStyleProperty
Field Value
System.Windows.DependencyProperty
|
LabelToolTipTemplateProperty
Identifies the LabelToolTipTemplate dependency property.
Declaration
public static readonly DependencyProperty LabelToolTipTemplateProperty
Field Value
System.Windows.DependencyProperty
|
LabelUseRangeColorProperty
Identifies the LabelUseRangeColor dependency property.
Declaration
public static readonly DependencyProperty LabelUseRangeColorProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickBackgroundProperty
Identifies the MajorTickBackground dependency property.
Declaration
public static readonly DependencyProperty MajorTickBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickListProperty
Identifies the MajorTickList dependency property.
Declaration
public static readonly DependencyProperty MajorTickListProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickLocationProperty
Identifies the MajorTickLocation dependency property.
Declaration
public static readonly DependencyProperty MajorTickLocationProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickOffsetProperty
Identifies the MajorTickOffset dependency property.
Declaration
public static readonly DependencyProperty MajorTickOffsetProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickRelativeHeightProperty
Identifies the MajorTickRelativeHeight dependency property.
Declaration
public static readonly DependencyProperty MajorTickRelativeHeightProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickRelativeWidthProperty
Identifies the MajorTickRelativeWidth dependency property.
Declaration
public static readonly DependencyProperty MajorTickRelativeWidthProperty
Field Value
System.Windows.DependencyProperty
|
MajorTicksProperty
Identifies the MajorTicks dependency property.
Declaration
public static readonly DependencyProperty MajorTicksProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickStepProperty
Identifies the MajorTickStep dependency property.
Declaration
public static readonly DependencyProperty MajorTickStepProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickStrokeProperty
Identifies the MajorTickStroke dependency property.
Declaration
public static readonly DependencyProperty MajorTickStrokeProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickStrokeThicknessProperty
Identifies the MajorTickStrokeThickness dependency property.
Declaration
public static readonly DependencyProperty MajorTickStrokeThicknessProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickTemplateProperty
Identifies the MajorTickTemplate dependency property.
Declaration
public static readonly DependencyProperty MajorTickTemplateProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickTooltipFormatProperty
Identifies the MajorTickTooltipFormat dependency property.
Declaration
public static readonly DependencyProperty MajorTickTooltipFormatProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickToolTipStyleProperty
Identifies the MajorTickToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty MajorTickToolTipStyleProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickToolTipTemplateProperty
Identifies the MajorTickToolTipTemplate dependency property.
Declaration
public static readonly DependencyProperty MajorTickToolTipTemplateProperty
Field Value
System.Windows.DependencyProperty
|
MajorTickUseRangeColorProperty
Identifies the MajorTickUseRangeColor dependency property.
Declaration
public static readonly DependencyProperty MajorTickUseRangeColorProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickBackgroundProperty
Identifies the MiddleTickBackground dependency property.
Declaration
public static readonly DependencyProperty MiddleTickBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickLocationProperty
Identifies the MiddleTickLocation dependency property.
Declaration
public static readonly DependencyProperty MiddleTickLocationProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickOffsetProperty
Identifies the MiddleTickOffset dependency property.
Declaration
public static readonly DependencyProperty MiddleTickOffsetProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickRelativeHeightProperty
Identifies the MiddleTickRelativeHeight dependency property.
Declaration
public static readonly DependencyProperty MiddleTickRelativeHeightProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickRelativeWidthProperty
Identifies the MiddleTickRelativeWidth dependency property.
Declaration
public static readonly DependencyProperty MiddleTickRelativeWidthProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTicksProperty
Identifies the MiddleTicks dependency property.
Declaration
public static readonly DependencyProperty MiddleTicksProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickStrokeProperty
Identifies the MiddleTickStroke dependency property.
Declaration
public static readonly DependencyProperty MiddleTickStrokeProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickStrokeThicknessProperty
Identifies the MiddleTickStrokeThickness dependency property.
Declaration
public static readonly DependencyProperty MiddleTickStrokeThicknessProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickTemplateProperty
Identifies the MiddleTickTemplate dependency property.
Declaration
public static readonly DependencyProperty MiddleTickTemplateProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickTooltipFormatProperty
Identifies the MiddleTickTooltipFormat dependency property.
Declaration
public static readonly DependencyProperty MiddleTickTooltipFormatProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickToolTipStyleProperty
Identifies the MiddleTickToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty MiddleTickToolTipStyleProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickToolTipTemplateProperty
Identifies the MiddleTickToolTipTemplate dependency property.
Declaration
public static readonly DependencyProperty MiddleTickToolTipTemplateProperty
Field Value
System.Windows.DependencyProperty
|
MiddleTickUseRangeColorProperty
Identifies the MiddleTickUseRangeColor dependency property.
Declaration
public static readonly DependencyProperty MiddleTickUseRangeColorProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickBackgroundProperty
Identifies the MinorTickBackground dependency property.
Declaration
public static readonly DependencyProperty MinorTickBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickLocationProperty
Identifies the MinorTickLocation dependency property.
Declaration
public static readonly DependencyProperty MinorTickLocationProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickOffsetProperty
Identifies the MinorTickOffset dependency property.
Declaration
public static readonly DependencyProperty MinorTickOffsetProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickRelativeHeightProperty
Identifies the MinorTickRelativeHeight dependency property.
Declaration
public static readonly DependencyProperty MinorTickRelativeHeightProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickRelativeWidthProperty
Identifies the MinorTickRelativeWidth dependency property.
Declaration
public static readonly DependencyProperty MinorTickRelativeWidthProperty
Field Value
System.Windows.DependencyProperty
|
MinorTicksProperty
Identifies the MinorTicks dependency property.
Declaration
public static readonly DependencyProperty MinorTicksProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickStrokeProperty
Identifies the MinorTickStroke dependency property.
Declaration
public static readonly DependencyProperty MinorTickStrokeProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickStrokeThicknessProperty
Identifies the MinorTickStrokeThickness dependency property.
Declaration
public static readonly DependencyProperty MinorTickStrokeThicknessProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickTemplateProperty
Identifies the MinorTickTemplate dependency property.
Declaration
public static readonly DependencyProperty MinorTickTemplateProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickTooltipFormatProperty
Identifies the MinorTickTooltipFormat dependency property.
Declaration
public static readonly DependencyProperty MinorTickTooltipFormatProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickToolTipStyleProperty
Identifies the MinorTickToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty MinorTickToolTipStyleProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickToolTipTemplateProperty
Identifies the MinorTickToolTipTemplate dependency property.
Declaration
public static readonly DependencyProperty MinorTickToolTipTemplateProperty
Field Value
System.Windows.DependencyProperty
|
MinorTickUseRangeColorProperty
Identifies the MinorTickUseRangeColor dependency property.
Declaration
public static readonly DependencyProperty MinorTickUseRangeColorProperty
Field Value
System.Windows.DependencyProperty
|
RangeLocationProperty
Identifies the RangeLocation dependency property.
Declaration
public static readonly DependencyProperty RangeLocationProperty
Field Value
System.Windows.DependencyProperty
|
RangeOffsetProperty
Identifies the RangeOffset dependency property.
Declaration
public static readonly DependencyProperty RangeOffsetProperty
Field Value
System.Windows.DependencyProperty
|
ShowFirstLabelProperty
Identifies the ShowFirstLabel dependency property.
Declaration
public static readonly DependencyProperty ShowFirstLabelProperty
Field Value
System.Windows.DependencyProperty
|
ShowLastLabelProperty
Identifies the ShowLastLabel dependency property.
Declaration
public static readonly DependencyProperty ShowLastLabelProperty
Field Value
System.Windows.DependencyProperty
|
StartTickOffsetProperty
Identifies the StartTickOffset dependency property.
Declaration
public static readonly DependencyProperty StartTickOffsetProperty
Field Value
System.Windows.DependencyProperty
|
StartWidthProperty
Identifies the StartWidth dependency property.
Declaration
public static readonly DependencyProperty StartWidthProperty
Field Value
System.Windows.DependencyProperty
|
StrokeProperty
Identifies the Stroke dependency property.
Declaration
public static readonly DependencyProperty StrokeProperty
Field Value
System.Windows.DependencyProperty
|
StrokeThicknessProperty
Identifies the StrokeThickness dependency property.
Declaration
public static readonly DependencyProperty StrokeThicknessProperty
Field Value
System.Windows.DependencyProperty
|
TickRangeGroupProperty
Identifies the TickRangeGroup dependency property.
Declaration
public static readonly DependencyProperty TickRangeGroupProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Distribution
Gets or sets the scale's value distribution.
Declaration
public IValueDistribution Distribution { get; set; }
Property Value
IValueDistribution
|
EndTickOffset
Gets or sets the offset of the last major tick on the scale from scale's maximal value.
Declaration
[SRCategory("Scale")]
public double EndTickOffset { get; set; }
Property Value
System.Double
|
EndValue
Value at the last major tick mark on the scale.
Declaration
protected double EndValue { get; set; }
Property Value
System.Double
|
EndWidth
Gets or sets the end width of the scale bar.
Declaration
[SRCategory("Layout")]
public double EndWidth { get; set; }
Property Value
System.Double
|
Fill
Gets or sets the fill of the scale path.
Declaration
[SRCategory("Layout")]
public Brush Fill { get; set; }
Property Value
System.Windows.Media.Brush
|
IsInteractive
Gets or sets value that indicates whether the scale's interactive features are enabled.
Declaration
public bool IsInteractive { get; set; }
Property Value
System.Boolean
|
IsReversed
Gets or sets value that indicates whether the scale should be shown in the reverse mode.
Declaration
[SRCategory("Scale")]
public bool IsReversed { get; set; }
Property Value
System.Boolean
|
LabelFormat
Gets or sets the tick label format.
Declaration
[SRCategory("Scale")]
public string LabelFormat { get; set; }
Property Value
System.String
|
LabelLocation
Gets or sets the tick label location.
Declaration
[SRCategory("Scale")]
public ScaleObjectLocation LabelLocation { get; set; }
Property Value
ScaleObjectLocation
|
LabelOffset
Gets or sets the tick label offset.
Declaration
[SRCategory("Scale")]
public GaugeMeasure LabelOffset { get; set; }
Property Value
GaugeMeasure
|
LabelTemplate
Gets or sets the tick label data template.
Declaration
[SRCategory("Scale")]
public DataTemplate LabelTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
LabelTooltipFormat
Gets or sets the format of the label tooltip.
Declaration
public string LabelTooltipFormat { get; set; }
Property Value
System.String
|
Remarks
The format string can use properties of the scale objects. For example "{Value|F2} Range: Min={Range.Min|F2} Max={Range.Max|F2}". This format string uses value of the indicator and Min and Max properties of the gauge range this indicator is pointing to. Currently you can use Range and Scale objects in the format string. The '|' character is used to separate property name and its output format.
LabelToolTipStyle
Gets or sets the style applied to the toolTip of the label.
Declaration
public Style LabelToolTipStyle { get; set; }
Property Value
System.Windows.Style
|
LabelToolTipTemplate
Gets or sets the template of the label tooltip.
Declaration
public DataTemplate LabelToolTipTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
LabelUseRangeColor
Gets or sets value which indicates whether the tick label will use range color as its background.
Declaration
[SRCategory("Scale")]
public bool LabelUseRangeColor { get; set; }
Property Value
System.Boolean
|
MajorTickBackground
Gets or sets the major tick background.
Declaration
[SRCategory("Scale")]
public Brush MajorTickBackground { get; set; }
Property Value
System.Windows.Media.Brush
|
MajorTickList
Gets or sets a list of doubles which specify positions of the major ticks.
Declaration
[SRCategory("Scale")]
public IEnumerable<double> MajorTickList { get; set; }
Property Value
System.Collections.Generic.IEnumerable<System.Double>
|
MajorTickLocation
Gets or sets location of the major tick.
Declaration
[SRCategory("Scale")]
public ScaleObjectLocation MajorTickLocation { get; set; }
Property Value
ScaleObjectLocation
|
MajorTickOffset
Gets or sets offset the major tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MajorTickOffset { get; set; }
Property Value
GaugeMeasure
|
MajorTickRelativeHeight
Gets or sets the relative height of the major tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MajorTickRelativeHeight { get; set; }
Property Value
GaugeMeasure
|
MajorTickRelativeWidth
Gets or sets the relative width of the major tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MajorTickRelativeWidth { get; set; }
Property Value
GaugeMeasure
|
MajorTicks
Gets or sets number of the major ticks along the scale.
Declaration
[SRCategory("Scale")]
public int MajorTicks { get; set; }
Property Value
System.Int32
|
MajorTicksCount
Calculate number of the major tick marks using this.MajorTicks, this.MajorTickStep and this.ShowLastLabel property.
Declaration
protected int MajorTicksCount { get; }
Property Value
System.Int32
|
MajorTickStep
Gets or sets the interval between major ticks.
Declaration
[SRCategory("Scale")]
public double MajorTickStep { get; set; }
Property Value
System.Double
|
MajorTickStroke
Gets or sets the major tick stroke.
Declaration
[SRCategory("Scale")]
public Brush MajorTickStroke { get; set; }
Property Value
System.Windows.Media.Brush
|
MajorTickStrokeThickness
Gets or sets the major tick stroke thickness.
Declaration
[SRCategory("Scale")]
public double MajorTickStrokeThickness { get; set; }
Property Value
System.Double
|
MajorTickTemplate
Gets or sets the major tick data template.
Declaration
[SRCategory("Scale")]
public DataTemplate MajorTickTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
MajorTickTooltipFormat
Gets or sets format of the major tick mark tooltip.
Declaration
public string MajorTickTooltipFormat { get; set; }
Property Value
System.String
|
Remarks
The format string can use properties of the scale objects. For example "{Value|F2} Range: Min={Range.Min|F2} Max={Range.Max|F2}". This format string uses value of the indicator and Min and Max properties of the gauge range this indicator is pointing to. Currently you can use Range and Scale objects in the format string. The '|' character is used to separate property name and its output format.
MajorTickToolTipStyle
Gets or sets the style applied to the toolTip of the major tick mark.
Declaration
public Style MajorTickToolTipStyle { get; set; }
Property Value
System.Windows.Style
|
MajorTickToolTipTemplate
Gets or sets the template of the major tick mark tooltip.
Declaration
public DataTemplate MajorTickToolTipTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
MajorTickUseRangeColor
Gets or sets value which indicates whether the major tick will use range color as its background.
Declaration
[SRCategory("Scale")]
public bool MajorTickUseRangeColor { get; set; }
Property Value
System.Boolean
|
MiddleTickBackground
Gets or sets the background of the middle tick.
Declaration
[SRCategory("Scale")]
public Brush MiddleTickBackground { get; set; }
Property Value
System.Windows.Media.Brush
|
MiddleTickLocation
Gets or sets location of the middle tick.
Declaration
[SRCategory("Scale")]
public ScaleObjectLocation MiddleTickLocation { get; set; }
Property Value
ScaleObjectLocation
|
MiddleTickOffset
Gets or sets offset of the middle tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MiddleTickOffset { get; set; }
Property Value
GaugeMeasure
|
MiddleTickRelativeHeight
Gets or sets the relative height of the middle tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MiddleTickRelativeHeight { get; set; }
Property Value
GaugeMeasure
|
MiddleTickRelativeWidth
Gets or sets the relative width of the middle tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MiddleTickRelativeWidth { get; set; }
Property Value
GaugeMeasure
|
MiddleTicks
Gets or sets number of the middle ticks per one major tick.
Declaration
[SRCategory("Scale")]
public int MiddleTicks { get; set; }
Property Value
System.Int32
|
MiddleTickStroke
Gets or sets stroke of the middle tick.
Declaration
[SRCategory("Scale")]
public Brush MiddleTickStroke { get; set; }
Property Value
System.Windows.Media.Brush
|
MiddleTickStrokeThickness
Gets or sets stroke thickness of the middle tick.
Declaration
[SRCategory("Scale")]
public double MiddleTickStrokeThickness { get; set; }
Property Value
System.Double
|
MiddleTickTemplate
Gets or sets the data template of the middle tick.
Declaration
[SRCategory("Scale")]
public DataTemplate MiddleTickTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
MiddleTickTooltipFormat
Gets or sets format of the middle tick mark tooltip.
Declaration
public string MiddleTickTooltipFormat { get; set; }
Property Value
System.String
|
Remarks
The format string can use properties of the scale objects. For example "{Value|F2} Range: Min={Range.Min|F2} Max={Range.Max|F2}". This format string uses value of the indicator and Min and Max properties of the gauge range this indicator is pointing to. Currently you can use Range and Scale objects in the format string. The '|' character is used to separate property name and its output format.
MiddleTickToolTipStyle
Gets or sets the style applied to the toolTip of the middle tick mark.
Declaration
public Style MiddleTickToolTipStyle { get; set; }
Property Value
System.Windows.Style
|
MiddleTickToolTipTemplate
Gets or sets template of the middle tick mark tooltip.
Declaration
public DataTemplate MiddleTickToolTipTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
MiddleTickUseRangeColor
Gets or sets value which indicates whether the middle tick will use the range color as its background.
Declaration
[SRCategory("Scale")]
public bool MiddleTickUseRangeColor { get; set; }
Property Value
System.Boolean
|
MinorTickBackground
Gets or sets the background of the minor tick.
Declaration
[SRCategory("Scale")]
public Brush MinorTickBackground { get; set; }
Property Value
System.Windows.Media.Brush
|
MinorTickLocation
Gets or sets the location of the minor tick.
Declaration
[SRCategory("Scale")]
public ScaleObjectLocation MinorTickLocation { get; set; }
Property Value
ScaleObjectLocation
|
MinorTickOffset
Gets or sets offset of the minor tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MinorTickOffset { get; set; }
Property Value
GaugeMeasure
|
MinorTickRelativeHeight
Gets or sets the relative height of the minor tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MinorTickRelativeHeight { get; set; }
Property Value
GaugeMeasure
|
MinorTickRelativeWidth
Gets or sets the relative width of the minor tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MinorTickRelativeWidth { get; set; }
Property Value
GaugeMeasure
|
MinorTicks
Gets or sets number of the minor ticks per one middle tick.
Declaration
[SRCategory("Scale")]
public int MinorTicks { get; set; }
Property Value
System.Int32
|
MinorTickStroke
Gets or sets stroke of the minor tick.
Declaration
[SRCategory("Scale")]
public Brush MinorTickStroke { get; set; }
Property Value
System.Windows.Media.Brush
|
MinorTickStrokeThickness
Gets or sets stroke thickness of the minor tick.
Declaration
[SRCategory("Scale")]
public double MinorTickStrokeThickness { get; set; }
Property Value
System.Double
|
MinorTickTemplate
Gets or sets the data template of the minor tick.
Declaration
[SRCategory("Scale")]
public DataTemplate MinorTickTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
MinorTickTooltipFormat
Gets or sets the format of the minor tick mark tooltip.
Declaration
public string MinorTickTooltipFormat { get; set; }
Property Value
System.String
|
Remarks
The format string can use properties of the scale objects. For example "{Value|F2} Range: Min={Range.Min|F2} Max={Range.Max|F2}". This format string uses value of the indicator and Min and Max properties of the gauge range this indicator is pointing to. Currently you can use Range and Scale objects in the format string. The '|' character is used to separate property name and its output format.
MinorTickToolTipStyle
Gets or sets the style applied to the toolTip of the minor tick mark.
Declaration
public Style MinorTickToolTipStyle { get; set; }
Property Value
System.Windows.Style
|
MinorTickToolTipTemplate
Gets or sets template of the minor tick mark tooltip.
Declaration
public DataTemplate MinorTickToolTipTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
MinorTickUseRangeColor
Gets or sets value which indicates whether the minor tick will use range color as its background.
Declaration
[SRCategory("Scale")]
public bool MinorTickUseRangeColor { get; set; }
Property Value
System.Boolean
|
RangeLocation
Gets or sets the default range location.
Declaration
[SRCategory("Scale")]
public ScaleObjectLocation RangeLocation { get; set; }
Property Value
ScaleObjectLocation
|
RangeOffset
Gets or sets default range offset.
Declaration
[SRCategory("Scale")]
public GaugeMeasure RangeOffset { get; set; }
Property Value
GaugeMeasure
|
ShowFirstLabel
Gets or sets value that indicates whether the first tick and its label should be shown.
Declaration
[SRCategory("Scale")]
public bool ShowFirstLabel { get; set; }
Property Value
System.Boolean
|
ShowLastLabel
Gets or sets value that indicates whether the last tick and its label should be shown.
Declaration
[SRCategory("Scale")]
public bool ShowLastLabel { get; set; }
Property Value
System.Boolean
|
StartTickOffset
Gets or sets the offset of the first major tick on the scale from scale's minimal value.
Declaration
[SRCategory("Scale")]
public double StartTickOffset { get; set; }
Property Value
System.Double
|
StartValue
Value at the first major tick mark on the scale.
Declaration
protected double StartValue { get; set; }
Property Value
System.Double
|
StartWidth
Gets or sets the start width of the scale bar.
Declaration
[SRCategory("Layout")]
public double StartWidth { get; set; }
Property Value
System.Double
|
Stroke
Gets or sets the Brush that specifies how the scale bar outline is painted.
Declaration
[SRCategory("Layout")]
public Brush Stroke { get; set; }
Property Value
System.Windows.Media.Brush
|
StrokeThickness
Gets or sets gets or sets stroke thickness of the scale bar.
Declaration
[SRCategory("Layout")]
public double StrokeThickness { get; set; }
Property Value
System.Double
|
TickRangeGroup
Gets or sets range group which will be used with tick list.
Declaration
public GaugeRangeGroup TickRangeGroup { get; set; }
Property Value
GaugeRangeGroup
|
UseTickList
Returns true when the MajorTickList property should be used.
Declaration
protected bool UseTickList { get; }
Property Value
System.Boolean
|
UseTickSteps
Returns true when the MajorTickStep property should be used.
Declaration
protected bool UseTickSteps { get; }
Property Value
System.Boolean
|
Methods
ArrangeOverride(Size)
Called to arrange and size the content of a scale.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
System.Windows.Size
finalSize
The computed size that is used to arrange the content. |
Returns
System.Windows.Size
The size of the scale. |
Overrides
ClearContainerForItemOverride(DependencyObject, Object)
Undoes the effects of the PrepareContainerForItemOverride method.
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
The container element. |
System.Object
item
The item. |
Overrides
GetValueByPoint(Point)
Gets the value which corresponds to the point on scale.
Declaration
public abstract double GetValueByPoint(Point point)
Parameters
System.Windows.Point
point
Point on the scale to get value for. |
Returns
System.Double
Double value corresponds to the given point. |
MeasureOverride(Size)
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
The maximum size that the method can return. |
Returns
System.Windows.Size
The size of the control, up to the maximum specified by constraint. |
Overrides
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate.
Declaration
public override void OnApplyTemplate()
Overrides
PrepareContainerForItemOverride(DependencyObject, Object)
Prepares object for the container.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
System.Windows.DependencyObject
element
Element. |
System.Object
item
Item. |
PresenterSizeChanged(Object, SizeChangedEventArgs)
Occurs when size of the content presenter is changed.
Declaration
protected override void PresenterSizeChanged(object sender, SizeChangedEventArgs e)
Parameters
System.Object
sender
Sender. |
System.Windows.SizeChangedEventArgs
e
Event args. |
Overrides
ScaleObjectChanged(FrameworkElement)
Notifies that the element is changed.
Declaration
protected override void ScaleObjectChanged(FrameworkElement element)
Parameters
System.Windows.FrameworkElement
element
Element. |
Overrides
UpdateScaleBar()
Update geometry of the scale bar.
Declaration
protected abstract void UpdateScaleBar()
UpdateTicksAndLabels()
Update tick and label lists.
Declaration
protected override void UpdateTicksAndLabels()