Table of Contents

Class RulerBase

Namespace
Loehnert.Controls
Assembly
Loehnert.Controls.dll

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

DependencyProperty

MajorStepValuesProperty

Identifies the MajorStepValues dependency property.

public static readonly DependencyProperty MajorStepValuesProperty

Field Value

DependencyProperty

MajorTicksPropertiesProperty

Identifies the MajorTicksProperties dependency property.

public static readonly DependencyProperty MajorTicksPropertiesProperty

Field Value

DependencyProperty

MarkerControlReferenceProperty

Identifies the MarkerControlReference dependency property.

public static readonly DependencyProperty MarkerControlReferenceProperty

Field Value

DependencyProperty

MaxValueProperty

Identifies the MaxValue dependency property.

public static readonly DependencyProperty MaxValueProperty

Field Value

DependencyProperty

MinMinorTickPixelSizeProperty

Identifies the MinMinorTickPixelSize dependency property.

public static readonly DependencyProperty MinMinorTickPixelSizeProperty

Field Value

DependencyProperty

MinValueProperty

Identifies the MinValue dependency property.

public static readonly DependencyProperty MinValueProperty

Field Value

DependencyProperty

MinorTicksLengthRatioProperty

Identifies the MinorTicksLengthRatio dependency property.

public static readonly DependencyProperty MinorTicksLengthRatioProperty

Field Value

DependencyProperty

PositionProperty

Identifies the Position dependency property.

public static readonly DependencyProperty PositionProperty

Field Value

DependencyProperty

TextFormatProperty

Identifies the TextFormat dependency property.

public static readonly DependencyProperty TextFormatProperty

Field Value

DependencyProperty

TickColorProperty

Identifies the TickColor dependency property.

public static readonly DependencyProperty TickColorProperty

Field Value

DependencyProperty

ValueStepTransformProperty

Identifies the ValueStepTransform dependency property.

public static readonly DependencyProperty ValueStepTransformProperty

Field Value

DependencyProperty

Properties

ActualMajorTicksProperties

Gets or sets the actual major ticks properties.

public RulerTicksProperties ActualMajorTicksProperties { get; set; }

Property Value

RulerTicksProperties

MajorStepValues

Gets or sets the major step values.

public IEnumerable<int> MajorStepValues { get; set; }

Property Value

IEnumerable<int>

MajorTicksProperties

Gets or sets the preferred major ticks properties.

public RulerTicksProperties MajorTicksProperties { get; set; }

Property Value

RulerTicksProperties

MarkerControlReference

Gets or sets the referenced control for the marker.

public UIElement MarkerControlReference { get; set; }

Property Value

UIElement

MaxValue

Gets or sets the maximum value.

public double MaxValue { get; set; }

Property Value

double

MinMinorTickPixelSize

Gets or sets the minimum pixel size of one minor tick.

public int MinMinorTickPixelSize { get; set; }

Property Value

int

MinValue

Gets or sets the minimum value.

public double MinValue { get; set; }

Property Value

double

MinorTicksLengthRatio

Gets or sets the ratio from the minor to the major ticks.

public double MinorTicksLengthRatio { get; set; }

Property Value

double

Position

Gets or sets the position of the ruler.

public RulerPosition Position { get; set; }

Property Value

RulerPosition

TextFormat

Gets or sets the text format for the labels.

public string TextFormat { get; set; }

Property Value

string

TickColor

Gets or sets a brush that describes the ticks.

public Brush TickColor { get; set; }

Property Value

Brush

ValueStepTransform

Gets or sets a function for transforming the value.

public Func<double, double> ValueStepTransform { get; set; }

Property Value

Func<double, double>