Class RangeBase
Abstract class implementing basic features of control with a value within a specific range
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls.Primitives
Assembly: EmptyKeys.UserInterface.dll
Syntax
public abstract class RangeBase : Control
Constructors
RangeBase()
Initializes a new instance of the RangeBase class.
Declaration
protected RangeBase()
Fields
LargeChangeProperty
The large change property
Declaration
public static readonly DependencyProperty LargeChangeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
MaximumProperty
The maximum property
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
MinimumProperty
The minimum property
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SmallChangeProperty
The small change property
Declaration
public static readonly DependencyProperty SmallChangeProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ValueChangedEvent
The value changed event
Declaration
public static readonly RoutedEvent ValueChangedEvent
Field Value
Type | Description |
---|---|
RoutedEvent |
ValueProperty
The value property
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
LargeChange
Gets or sets the large change.
Declaration
public float LargeChange { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The large change. |
Maximum
Gets or sets the maximum.
Declaration
public float Maximum { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The maximum. |
Minimum
Gets or sets the minimum.
Declaration
public float Minimum { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The minimum. |
SmallChange
Gets or sets the small change.
Declaration
public float SmallChange { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The small change. |
Value
Gets or sets the value.
Declaration
public float Value { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The value. |
Methods
OnMaximumChanged(Single, Single)
Called when [maximum changed].
Declaration
protected virtual void OnMaximumChanged(float oldMaximum, float newMaximum)
Parameters
Type | Name | Description |
---|---|---|
System.Single | oldMaximum | The old maximum. |
System.Single | newMaximum | The new maximum. |
OnMinimumChanged(Single, Single)
Called when [minimum changed].
Declaration
protected virtual void OnMinimumChanged(float oldMinimum, float newMinimum)
Parameters
Type | Name | Description |
---|---|---|
System.Single | oldMinimum | The old minimum. |
System.Single | newMinimum | The new minimum. |
OnValueChanged(Single, Single)
Called when [value changed].
Declaration
protected virtual void OnValueChanged(float oldValue, float newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Single | oldValue | The old value. |
System.Single | newValue | The new value. |
Events
ValueChanged
Occurs when [value changed].
Declaration
public event RoutedPropertyChangedEventHandler<float> ValueChanged
Event Type
Type | Description |
---|---|
RoutedPropertyChangedEventHandler<System.Single> |