ClassGraphicScale
Base class for the radial and linear scales.
Definition
Namespace:Telerik.Windows.Controls.Gauge
Assembly:Telerik.Windows.Controls.DataVisualization.dll
Syntax:
[SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
public abstract class GraphicScale : ScaleBase
Inheritance: objectScaleBaseGraphicScale
Derived Classes:
Inherited Members
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
DependencyProperty
EndTickOffsetProperty
Identifies the EndTickOffset dependency property.
Declaration
public static readonly DependencyProperty EndTickOffsetProperty
Field Value
DependencyProperty
EndWidthProperty
Identifies the EndWidth dependency property.
Declaration
public static readonly DependencyProperty EndWidthProperty
Field Value
DependencyProperty
FillProperty
Identifies the Fill dependency property.
Declaration
public static readonly DependencyProperty FillProperty
Field Value
DependencyProperty
IsInteractiveProperty
Identifies the IsInteractive dependency property.
Declaration
public static readonly DependencyProperty IsInteractiveProperty
Field Value
DependencyProperty
IsReversedProperty
Identifies the IsReversed dependency property.
Declaration
public static readonly DependencyProperty IsReversedProperty
Field Value
DependencyProperty
LabelFormatProperty
Identifies the LabelFormat dependency property.
Declaration
public static readonly DependencyProperty LabelFormatProperty
Field Value
DependencyProperty
LabelLocationProperty
Identifies the LabelLocation dependency property.
Declaration
public static readonly DependencyProperty LabelLocationProperty
Field Value
DependencyProperty
LabelOffsetProperty
Identifies the LabelOffset dependency property.
Declaration
public static readonly DependencyProperty LabelOffsetProperty
Field Value
DependencyProperty
LabelTemplateProperty
Identifies the LabelTemplate dependency property.
Declaration
public static readonly DependencyProperty LabelTemplateProperty
Field Value
DependencyProperty
LabelToolTipStyleProperty
Identifies the LabelToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty LabelToolTipStyleProperty
Field Value
DependencyProperty
LabelToolTipTemplateProperty
Identifies the LabelToolTipTemplate dependency property.
Declaration
public static readonly DependencyProperty LabelToolTipTemplateProperty
Field Value
DependencyProperty
LabelTooltipFormatProperty
Identifies the LabelTooltipFormat dependency property.
Declaration
public static readonly DependencyProperty LabelTooltipFormatProperty
Field Value
DependencyProperty
LabelUseRangeColorProperty
Identifies the LabelUseRangeColor dependency property.
Declaration
public static readonly DependencyProperty LabelUseRangeColorProperty
Field Value
DependencyProperty
MajorTickBackgroundProperty
Identifies the MajorTickBackground dependency property.
Declaration
public static readonly DependencyProperty MajorTickBackgroundProperty
Field Value
DependencyProperty
MajorTickListProperty
Identifies the MajorTickList dependency property.
Declaration
public static readonly DependencyProperty MajorTickListProperty
Field Value
DependencyProperty
MajorTickLocationProperty
Identifies the MajorTickLocation dependency property.
Declaration
public static readonly DependencyProperty MajorTickLocationProperty
Field Value
DependencyProperty
MajorTickOffsetProperty
Identifies the MajorTickOffset dependency property.
Declaration
public static readonly DependencyProperty MajorTickOffsetProperty
Field Value
DependencyProperty
MajorTickRelativeHeightProperty
Identifies the MajorTickRelativeHeight dependency property.
Declaration
public static readonly DependencyProperty MajorTickRelativeHeightProperty
Field Value
DependencyProperty
MajorTickRelativeWidthProperty
Identifies the MajorTickRelativeWidth dependency property.
Declaration
public static readonly DependencyProperty MajorTickRelativeWidthProperty
Field Value
DependencyProperty
MajorTickStepProperty
Identifies the MajorTickStep dependency property.
Declaration
public static readonly DependencyProperty MajorTickStepProperty
Field Value
DependencyProperty
MajorTickStrokeProperty
Identifies the MajorTickStroke dependency property.
Declaration
public static readonly DependencyProperty MajorTickStrokeProperty
Field Value
DependencyProperty
MajorTickStrokeThicknessProperty
Identifies the MajorTickStrokeThickness dependency property.
Declaration
public static readonly DependencyProperty MajorTickStrokeThicknessProperty
Field Value
DependencyProperty
MajorTickTemplateProperty
Identifies the MajorTickTemplate dependency property.
Declaration
public static readonly DependencyProperty MajorTickTemplateProperty
Field Value
DependencyProperty
MajorTickToolTipStyleProperty
Identifies the MajorTickToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty MajorTickToolTipStyleProperty
Field Value
DependencyProperty
MajorTickToolTipTemplateProperty
Identifies the MajorTickToolTipTemplate dependency property.
Declaration
public static readonly DependencyProperty MajorTickToolTipTemplateProperty
Field Value
DependencyProperty
MajorTickTooltipFormatProperty
Identifies the MajorTickTooltipFormat dependency property.
Declaration
public static readonly DependencyProperty MajorTickTooltipFormatProperty
Field Value
DependencyProperty
MajorTickUseRangeColorProperty
Identifies the MajorTickUseRangeColor dependency property.
Declaration
public static readonly DependencyProperty MajorTickUseRangeColorProperty
Field Value
DependencyProperty
MajorTicksProperty
Identifies the MajorTicks dependency property.
Declaration
public static readonly DependencyProperty MajorTicksProperty
Field Value
DependencyProperty
MiddleTickBackgroundProperty
Identifies the MiddleTickBackground dependency property.
Declaration
public static readonly DependencyProperty MiddleTickBackgroundProperty
Field Value
DependencyProperty
MiddleTickLocationProperty
Identifies the MiddleTickLocation dependency property.
Declaration
public static readonly DependencyProperty MiddleTickLocationProperty
Field Value
DependencyProperty
MiddleTickOffsetProperty
Identifies the MiddleTickOffset dependency property.
Declaration
public static readonly DependencyProperty MiddleTickOffsetProperty
Field Value
DependencyProperty
MiddleTickRelativeHeightProperty
Identifies the MiddleTickRelativeHeight dependency property.
Declaration
public static readonly DependencyProperty MiddleTickRelativeHeightProperty
Field Value
DependencyProperty
MiddleTickRelativeWidthProperty
Identifies the MiddleTickRelativeWidth dependency property.
Declaration
public static readonly DependencyProperty MiddleTickRelativeWidthProperty
Field Value
DependencyProperty
MiddleTickStrokeProperty
Identifies the MiddleTickStroke dependency property.
Declaration
public static readonly DependencyProperty MiddleTickStrokeProperty
Field Value
DependencyProperty
MiddleTickStrokeThicknessProperty
Identifies the MiddleTickStrokeThickness dependency property.
Declaration
public static readonly DependencyProperty MiddleTickStrokeThicknessProperty
Field Value
DependencyProperty
MiddleTickTemplateProperty
Identifies the MiddleTickTemplate dependency property.
Declaration
public static readonly DependencyProperty MiddleTickTemplateProperty
Field Value
DependencyProperty
MiddleTickToolTipStyleProperty
Identifies the MiddleTickToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty MiddleTickToolTipStyleProperty
Field Value
DependencyProperty
MiddleTickToolTipTemplateProperty
Identifies the MiddleTickToolTipTemplate dependency property.
Declaration
public static readonly DependencyProperty MiddleTickToolTipTemplateProperty
Field Value
DependencyProperty
MiddleTickTooltipFormatProperty
Identifies the MiddleTickTooltipFormat dependency property.
Declaration
public static readonly DependencyProperty MiddleTickTooltipFormatProperty
Field Value
DependencyProperty
MiddleTickUseRangeColorProperty
Identifies the MiddleTickUseRangeColor dependency property.
Declaration
public static readonly DependencyProperty MiddleTickUseRangeColorProperty
Field Value
DependencyProperty
MiddleTicksProperty
Identifies the MiddleTicks dependency property.
Declaration
public static readonly DependencyProperty MiddleTicksProperty
Field Value
DependencyProperty
MinorTickBackgroundProperty
Identifies the MinorTickBackground dependency property.
Declaration
public static readonly DependencyProperty MinorTickBackgroundProperty
Field Value
DependencyProperty
MinorTickLocationProperty
Identifies the MinorTickLocation dependency property.
Declaration
public static readonly DependencyProperty MinorTickLocationProperty
Field Value
DependencyProperty
MinorTickOffsetProperty
Identifies the MinorTickOffset dependency property.
Declaration
public static readonly DependencyProperty MinorTickOffsetProperty
Field Value
DependencyProperty
MinorTickRelativeHeightProperty
Identifies the MinorTickRelativeHeight dependency property.
Declaration
public static readonly DependencyProperty MinorTickRelativeHeightProperty
Field Value
DependencyProperty
MinorTickRelativeWidthProperty
Identifies the MinorTickRelativeWidth dependency property.
Declaration
public static readonly DependencyProperty MinorTickRelativeWidthProperty
Field Value
DependencyProperty
MinorTickStrokeProperty
Identifies the MinorTickStroke dependency property.
Declaration
public static readonly DependencyProperty MinorTickStrokeProperty
Field Value
DependencyProperty
MinorTickStrokeThicknessProperty
Identifies the MinorTickStrokeThickness dependency property.
Declaration
public static readonly DependencyProperty MinorTickStrokeThicknessProperty
Field Value
DependencyProperty
MinorTickTemplateProperty
Identifies the MinorTickTemplate dependency property.
Declaration
public static readonly DependencyProperty MinorTickTemplateProperty
Field Value
DependencyProperty
MinorTickToolTipStyleProperty
Identifies the MinorTickToolTipStyle dependency property.
Declaration
public static readonly DependencyProperty MinorTickToolTipStyleProperty
Field Value
DependencyProperty
MinorTickToolTipTemplateProperty
Identifies the MinorTickToolTipTemplate dependency property.
Declaration
public static readonly DependencyProperty MinorTickToolTipTemplateProperty
Field Value
DependencyProperty
MinorTickTooltipFormatProperty
Identifies the MinorTickTooltipFormat dependency property.
Declaration
public static readonly DependencyProperty MinorTickTooltipFormatProperty
Field Value
DependencyProperty
MinorTickUseRangeColorProperty
Identifies the MinorTickUseRangeColor dependency property.
Declaration
public static readonly DependencyProperty MinorTickUseRangeColorProperty
Field Value
DependencyProperty
MinorTicksProperty
Identifies the MinorTicks dependency property.
Declaration
public static readonly DependencyProperty MinorTicksProperty
Field Value
DependencyProperty
RangeLocationProperty
Identifies the RangeLocation dependency property.
Declaration
public static readonly DependencyProperty RangeLocationProperty
Field Value
DependencyProperty
RangeOffsetProperty
Identifies the RangeOffset dependency property.
Declaration
public static readonly DependencyProperty RangeOffsetProperty
Field Value
DependencyProperty
ShowFirstLabelProperty
Identifies the ShowFirstLabel dependency property.
Declaration
public static readonly DependencyProperty ShowFirstLabelProperty
Field Value
DependencyProperty
ShowLastLabelProperty
Identifies the ShowLastLabel dependency property.
Declaration
public static readonly DependencyProperty ShowLastLabelProperty
Field Value
DependencyProperty
StartTickOffsetProperty
Identifies the StartTickOffset dependency property.
Declaration
public static readonly DependencyProperty StartTickOffsetProperty
Field Value
DependencyProperty
StartWidthProperty
Identifies the StartWidth dependency property.
Declaration
public static readonly DependencyProperty StartWidthProperty
Field Value
DependencyProperty
StrokeProperty
Identifies the Stroke dependency property.
Declaration
public static readonly DependencyProperty StrokeProperty
Field Value
DependencyProperty
StrokeThicknessProperty
Identifies the StrokeThickness dependency property.
Declaration
public static readonly DependencyProperty StrokeThicknessProperty
Field Value
DependencyProperty
TickRangeGroupProperty
Identifies the TickRangeGroup dependency property.
Declaration
public static readonly DependencyProperty TickRangeGroupProperty
Field Value
DependencyProperty
Properties
Distribution
Gets or sets the scale's value distribution.
Declaration
public IValueDistribution Distribution { get; set; }
Property Value
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
EndValue
Value at the last major tick mark on the scale.
EndWidth
Gets or sets the end width of the scale bar.
Declaration
[SRCategory("Layout")]
public double EndWidth { get; set; }
Property Value
Fill
Gets or sets the fill of the scale path.
Declaration
[SRCategory("Layout")]
public Brush Fill { get; set; }
Property Value
Brush
IsInteractive
Gets or sets value that indicates whether the scale's interactive features are enabled.
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
LabelFormat
Gets or sets the tick label format.
Declaration
[SRCategory("Scale")]
public string LabelFormat { get; set; }
Property Value
LabelLocation
Gets or sets the tick label location.
Declaration
[SRCategory("Scale")]
public ScaleObjectLocation LabelLocation { get; set; }
Property Value
LabelOffset
Gets or sets the tick label offset.
Declaration
[SRCategory("Scale")]
public GaugeMeasure LabelOffset { get; set; }
Property Value
LabelTemplate
Gets or sets the tick label data template.
Declaration
[SRCategory("Scale")]
public DataTemplate LabelTemplate { get; set; }
Property Value
DataTemplate
LabelToolTipStyle
Gets or sets the style applied to the toolTip of the label.
Declaration
public Style LabelToolTipStyle { get; set; }
Property Value
Style
LabelToolTipTemplate
Gets or sets the template of the label tooltip.
Declaration
public DataTemplate LabelToolTipTemplate { get; set; }
Property Value
DataTemplate
LabelTooltipFormat
Gets or sets the format of the label tooltip.
Declaration
public string LabelTooltipFormat { get; set; }
Property Value
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.
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
MajorTickBackground
Gets or sets the major tick background.
Declaration
[SRCategory("Scale")]
public Brush MajorTickBackground { get; set; }
Property Value
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
MajorTickLocation
Gets or sets location of the major tick.
Declaration
[SRCategory("Scale")]
public ScaleObjectLocation MajorTickLocation { get; set; }
Property Value
MajorTickOffset
Gets or sets offset the major tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MajorTickOffset { get; set; }
Property Value
MajorTickRelativeHeight
Gets or sets the relative height of the major tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MajorTickRelativeHeight { get; set; }
Property Value
MajorTickRelativeWidth
Gets or sets the relative width of the major tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MajorTickRelativeWidth { get; set; }
Property Value
MajorTickStep
Gets or sets the interval between major ticks.
Declaration
[SRCategory("Scale")]
public double MajorTickStep { get; set; }
Property Value
MajorTickStroke
Gets or sets the major tick stroke.
Declaration
[SRCategory("Scale")]
public Brush MajorTickStroke { get; set; }
Property Value
Brush
MajorTickStrokeThickness
Gets or sets the major tick stroke thickness.
Declaration
[SRCategory("Scale")]
public double MajorTickStrokeThickness { get; set; }
Property Value
MajorTickTemplate
Gets or sets the major tick data template.
Declaration
[SRCategory("Scale")]
public DataTemplate MajorTickTemplate { get; set; }
Property Value
DataTemplate
MajorTickToolTipStyle
Gets or sets the style applied to the toolTip of the major tick mark.
Declaration
public Style MajorTickToolTipStyle { get; set; }
Property Value
Style
MajorTickToolTipTemplate
Gets or sets the template of the major tick mark tooltip.
Declaration
public DataTemplate MajorTickToolTipTemplate { get; set; }
Property Value
DataTemplate
MajorTickTooltipFormat
Gets or sets format of the major tick mark tooltip.
Declaration
public string MajorTickTooltipFormat { get; set; }
Property Value
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.
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
MajorTicks
Gets or sets number of the major ticks along the scale.
Declaration
[SRCategory("Scale")]
public int MajorTicks { get; set; }
Property Value
MajorTicksCount
Calculate number of the major tick marks using this.MajorTicks, this.MajorTickStep and this.ShowLastLabel property.
MiddleTickBackground
Gets or sets the background of the middle tick.
Declaration
[SRCategory("Scale")]
public Brush MiddleTickBackground { get; set; }
Property Value
Brush
MiddleTickLocation
Gets or sets location of the middle tick.
Declaration
[SRCategory("Scale")]
public ScaleObjectLocation MiddleTickLocation { get; set; }
Property Value
MiddleTickOffset
Gets or sets offset of the middle tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MiddleTickOffset { get; set; }
Property Value
MiddleTickRelativeHeight
Gets or sets the relative height of the middle tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MiddleTickRelativeHeight { get; set; }
Property Value
MiddleTickRelativeWidth
Gets or sets the relative width of the middle tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MiddleTickRelativeWidth { get; set; }
Property Value
MiddleTickStroke
Gets or sets stroke of the middle tick.
Declaration
[SRCategory("Scale")]
public Brush MiddleTickStroke { get; set; }
Property Value
Brush
MiddleTickStrokeThickness
Gets or sets stroke thickness of the middle tick.
Declaration
[SRCategory("Scale")]
public double MiddleTickStrokeThickness { get; set; }
Property Value
MiddleTickTemplate
Gets or sets the data template of the middle tick.
Declaration
[SRCategory("Scale")]
public DataTemplate MiddleTickTemplate { get; set; }
Property Value
DataTemplate
MiddleTickToolTipStyle
Gets or sets the style applied to the toolTip of the middle tick mark.
Declaration
public Style MiddleTickToolTipStyle { get; set; }
Property Value
Style
MiddleTickToolTipTemplate
Gets or sets template of the middle tick mark tooltip.
Declaration
public DataTemplate MiddleTickToolTipTemplate { get; set; }
Property Value
DataTemplate
MiddleTickTooltipFormat
Gets or sets format of the middle tick mark tooltip.
Declaration
public string MiddleTickTooltipFormat { get; set; }
Property Value
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.
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
MiddleTicks
Gets or sets number of the middle ticks per one major tick.
Declaration
[SRCategory("Scale")]
public int MiddleTicks { get; set; }
Property Value
MinorTickBackground
Gets or sets the background of the minor tick.
Declaration
[SRCategory("Scale")]
public Brush MinorTickBackground { get; set; }
Property Value
Brush
MinorTickLocation
Gets or sets the location of the minor tick.
Declaration
[SRCategory("Scale")]
public ScaleObjectLocation MinorTickLocation { get; set; }
Property Value
MinorTickOffset
Gets or sets offset of the minor tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MinorTickOffset { get; set; }
Property Value
MinorTickRelativeHeight
Gets or sets the relative height of the minor tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MinorTickRelativeHeight { get; set; }
Property Value
MinorTickRelativeWidth
Gets or sets the relative width of the minor tick.
Declaration
[SRCategory("Scale")]
public GaugeMeasure MinorTickRelativeWidth { get; set; }
Property Value
MinorTickStroke
Gets or sets stroke of the minor tick.
Declaration
[SRCategory("Scale")]
public Brush MinorTickStroke { get; set; }
Property Value
Brush
MinorTickStrokeThickness
Gets or sets stroke thickness of the minor tick.
Declaration
[SRCategory("Scale")]
public double MinorTickStrokeThickness { get; set; }
Property Value
MinorTickTemplate
Gets or sets the data template of the minor tick.
Declaration
[SRCategory("Scale")]
public DataTemplate MinorTickTemplate { get; set; }
Property Value
DataTemplate
MinorTickToolTipStyle
Gets or sets the style applied to the toolTip of the minor tick mark.
Declaration
public Style MinorTickToolTipStyle { get; set; }
Property Value
Style
MinorTickToolTipTemplate
Gets or sets template of the minor tick mark tooltip.
Declaration
public DataTemplate MinorTickToolTipTemplate { get; set; }
Property Value
DataTemplate
MinorTickTooltipFormat
Gets or sets the format of the minor tick mark tooltip.
Declaration
public string MinorTickTooltipFormat { get; set; }
Property Value
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.
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
MinorTicks
Gets or sets number of the minor ticks per one middle tick.
Declaration
[SRCategory("Scale")]
public int MinorTicks { get; set; }
Property Value
RangeLocation
Gets or sets the default range location.
Declaration
[SRCategory("Scale")]
public ScaleObjectLocation RangeLocation { get; set; }
Property Value
RangeOffset
Gets or sets default range offset.
Declaration
[SRCategory("Scale")]
public GaugeMeasure RangeOffset { get; set; }
Property Value
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
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
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
StartValue
Value at the first major tick mark on the scale.
StartWidth
Gets or sets the start width of the scale bar.
Declaration
[SRCategory("Layout")]
public double StartWidth { get; set; }
Property Value
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
Brush
StrokeThickness
Gets or sets gets or sets stroke thickness of the scale bar.
Declaration
[SRCategory("Layout")]
public double StrokeThickness { get; set; }
Property Value
TickRangeGroup
Gets or sets range group which will be used with tick list.
Declaration
public GaugeRangeGroup TickRangeGroup { get; set; }
Property Value
UseTickList
Returns true when the MajorTickList property should be used.
UseTickSteps
Returns true when the MajorTickStep property should be used.
Methods
ArrangeOverride(Size)
Called to arrange and size the content of a scale.
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
finalSize
Size
The computed size that is used to arrange the content.
Returns
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
element
DependencyObject
The container element.
item
The item.
Overrides
GetValueByPoint(Point)
Gets the value which corresponds to the point on scale.
Declaration
public abstract double GetValueByPoint(Point point)
Parameters
point
Point
Point on the scale to get value for.
Returns
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
availableSize
Size
The maximum size that the method can return.
Returns
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
element
DependencyObject
Element.
item
Item.
PresenterSizeChanged(object, SizeChangedEventArgs)
Occurs when size of the content presenter is changed.
Declaration
protected override void PresenterSizeChanged(object sender, SizeChangedEventArgs e)
Parameters
sender
Sender.
e
SizeChangedEventArgs
Event args.
Overrides
ScaleObjectChanged(FrameworkElement)
Notifies that the element is changed.
Declaration
protected override void ScaleObjectChanged(FrameworkElement element)
Parameters
element
FrameworkElement
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()
Overrides