LinearTickLabelMajor Class
Represents an element that renders major tick labels in a LinearGauge.
public class LinearTickLabelMajor : LinearTickLabelBase, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, ILogicalParent, IVisualParent
- Inheritance:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement GaugeElement TickBase LinearTickBase LinearTickLabelBase Object
- Implements:
- ILogicalParent IVisualParent
Remarks
For detailed documentation on this control's features and how to use them, please see the Gauge documentation topics.
Constructors
LinearTickLabelMajor()
public LinearTickLabelMajor()
Properties
EndValue
Gets or sets the last value that should be rendered. This is a dependency property.
public double EndValue { get; set; }
Property Value
- System.Double:
The last value that should be rendered. The default value is
Double.NaN
.
MaximumTickVisibility
Gets or sets a value indicating whether a tick should be rendered at the maximum value. This is a dependency property.
public TickVisibility MaximumTickVisibility { get; set; }
Property Value
- TickVisibility:
The visibility of the maximum tick. The default value is Always.
Remarks
The SkipValues property takes precedence over this property.
MinimumTickVisibility
Gets or sets a value indicating whether a tick should be rendered at the minimum value. This is a dependency property.
public TickVisibility MinimumTickVisibility { get; set; }
Property Value
- TickVisibility:
The visibility of the minimum tick. The default value is Always.
Remarks
The SkipValues property takes precedence over this property.
SkipValues
Gets or sets the values that should not be rendered. This is a dependency property.
public DoubleCollection SkipValues { get; set; }
Property Value
- System.Windows.Media.DoubleCollection:
The values that should not be rendered. The default value is
null
.
StartValue
Gets or sets the first value that should be rendered. This is a dependency property.
public double StartValue { get; set; }
Property Value
- System.Double:
The first value that should be rendered. The default value is
Double.NaN
.
Methods
GetValues()
Gets the values to be rendered by this tick label element.
protected override DoubleCollection GetValues()
Returns
- System.Windows.Media.DoubleCollection:
Zero or more values to be rendered by this tick label element.
Fields
EndValueProperty
Identifies the EndValue dependency property. This field is read-only.
public static readonly DependencyProperty EndValueProperty
MaximumTickVisibilityProperty
Identifies the MaximumTickVisibility dependency property. This field is read-only.
public static readonly DependencyProperty MaximumTickVisibilityProperty
MinimumTickVisibilityProperty
Identifies the MinimumTickVisibility dependency property. This field is read-only.
public static readonly DependencyProperty MinimumTickVisibilityProperty
SkipValuesProperty
Identifies the SkipValues dependency property. This field is read-only.
public static readonly DependencyProperty SkipValuesProperty
StartValueProperty
Identifies the StartValue dependency property. This field is read-only.
public static readonly DependencyProperty StartValueProperty
Inherited Members
- LinearTickLabelBase.FontFamilyProperty
- LinearTickLabelBase.FontSizeProperty
- LinearTickLabelBase.FontStyleProperty
- LinearTickLabelBase.FontWeightProperty
- LinearTickLabelBase.ForegroundProperty
- LinearTickLabelBase.RoundModeProperty
- LinearTickLabelBase.TextFormatProperty
- LinearTickLabelBase.GetValueText(Double)
- LinearTickLabelBase.OnRender(DrawingContext)
- LinearTickLabelBase.FontFamily
- LinearTickLabelBase.FontSize
- LinearTickLabelBase.FontStyle
- LinearTickLabelBase.FontWeight
- LinearTickLabelBase.Foreground
- LinearTickLabelBase.RoundMode
- LinearTickLabelBase.TextFormat
- LinearTickBase.CalculateExtent(Double)
- LinearTickBase.Orientation
- LinearTickBase.ScaleBarAscent
- LinearTickBase.ScaleBarExtent
- TickBase.AngleProperty
- TickBase.BorderBrushProperty
- TickBase.BorderDashStyleProperty
- TickBase.BorderWidthProperty
- TickBase.HasDropShadowProperty
- TickBase.IntervalOriginProperty
- TickBase.MajorIntervalProperty
- TickBase.MajorIntervalTypeProperty
- TickBase.MinorIntervalProperty
- TickBase.MinorIntervalTypeProperty
- TickBase.ScaleOffsetProperty
- TickBase.ScalePlacementProperty
- TickBase.Angle
- TickBase.BorderBrush
- TickBase.BorderDashStyle
- TickBase.BorderWidth
- TickBase.HasDropShadow
- TickBase.IntervalOrigin
- TickBase.IsLogarithmic
- TickBase.IsReversed
- TickBase.LogarithmicBase
- TickBase.MajorInterval
- TickBase.MajorIntervalType
- TickBase.Maximum
- TickBase.Minimum
- TickBase.MinorInterval
- TickBase.MinorIntervalType
- TickBase.ScaleOffset
- TickBase.ScalePlacement
- GaugeElement.ZIndexProperty
- GaugeElement.ILogicalParent.AddLogicalChild(Object)
- GaugeElement.ILogicalParent.RemoveLogicalChild(Object)
- GaugeElement.IVisualParent.AddVisualChild(Visual)
- GaugeElement.IVisualParent.RemoveVisualChild(Visual)
- GaugeElement.GetVisualChild(Int32)
- GaugeElement.GetZIndex(UIElement)
- GaugeElement.SetZIndex(UIElement, Int32)
- GaugeElement.VisualChildren
- GaugeElement.VisualChildrenCount
- GaugeElement.ZIndex
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()