Class RulerBase
Represents the base class for a ruler control.
public abstract class RulerBase : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
- Inheritance
-
RulerBase
- Implements
- Derived
- Inherited Members
Constructors
RulerBase()
Initializes a new instance of the RulerBase class.
public RulerBase()
Fields
ActualMajorTicksPropertiesProperty
Identifies the ActualMajorTicksProperties dependency property.
public static readonly DependencyProperty ActualMajorTicksPropertiesProperty
Field Value
MajorStepValuesProperty
Identifies the MajorStepValues dependency property.
public static readonly DependencyProperty MajorStepValuesProperty
Field Value
MajorTicksPropertiesProperty
Identifies the MajorTicksProperties dependency property.
public static readonly DependencyProperty MajorTicksPropertiesProperty
Field Value
MarkerControlReferenceProperty
Identifies the MarkerControlReference dependency property.
public static readonly DependencyProperty MarkerControlReferenceProperty
Field Value
MaxValueProperty
Identifies the MaxValue dependency property.
public static readonly DependencyProperty MaxValueProperty
Field Value
MinMinorTickPixelSizeProperty
Identifies the MinMinorTickPixelSize dependency property.
public static readonly DependencyProperty MinMinorTickPixelSizeProperty
Field Value
MinValueProperty
Identifies the MinValue dependency property.
public static readonly DependencyProperty MinValueProperty
Field Value
MinorTicksLengthRatioProperty
Identifies the MinorTicksLengthRatio dependency property.
public static readonly DependencyProperty MinorTicksLengthRatioProperty
Field Value
PositionProperty
Identifies the Position dependency property.
public static readonly DependencyProperty PositionProperty
Field Value
TextFormatProperty
Identifies the TextFormat dependency property.
public static readonly DependencyProperty TextFormatProperty
Field Value
TickColorProperty
Identifies the TickColor dependency property.
public static readonly DependencyProperty TickColorProperty
Field Value
ValueStepTransformProperty
Identifies the ValueStepTransform dependency property.
public static readonly DependencyProperty ValueStepTransformProperty
Field Value
Properties
ActualMajorTicksProperties
Gets or sets the actual major ticks properties.
public RulerTicksProperties ActualMajorTicksProperties { get; set; }
Property Value
MajorStepValues
Gets or sets the major step values.
public IEnumerable<int> MajorStepValues { get; set; }
Property Value
MajorTicksProperties
Gets or sets the preferred major ticks properties.
public RulerTicksProperties MajorTicksProperties { get; set; }
Property Value
MarkerControlReference
Gets or sets the referenced control for the marker.
public UIElement MarkerControlReference { get; set; }
Property Value
MaxValue
Gets or sets the maximum value.
public double MaxValue { get; set; }
Property Value
MinMinorTickPixelSize
Gets or sets the minimum pixel size of one minor tick.
public int MinMinorTickPixelSize { get; set; }
Property Value
MinValue
Gets or sets the minimum value.
public double MinValue { get; set; }
Property Value
MinorTicksLengthRatio
Gets or sets the ratio from the minor to the major ticks.
public double MinorTicksLengthRatio { get; set; }
Property Value
Position
Gets or sets the position of the ruler.
public RulerPosition Position { get; set; }
Property Value
TextFormat
Gets or sets the text format for the labels.
public string TextFormat { get; set; }
Property Value
TickColor
Gets or sets a brush that describes the ticks.
public Brush TickColor { get; set; }
Property Value
ValueStepTransform
Gets or sets a function for transforming the value.
public Func<double, double> ValueStepTransform { get; set; }