In This Article

Int32RectPicker Class

Represents an Int32Rect picker.

[TemplatePart(Name = "PART_PartSelector", Type = typeof(Selector))]
[TemplatePart(Name = "PART_ValuePicker", Type = typeof(Int32Picker))]
public class Int32RectPicker : PickerBase
Inheritance:
object Visual UIElement FrameworkElement Control PickerBase object

Constructors

Int32RectPicker()

Initializes an instance of the class.

public Int32RectPicker()

Properties

Maximum

The highest possible value.

public Int32Rect Maximum { get; set; }

Property Value

Int32Rect

Minimum

The lowest possible value.

public Int32Rect Minimum { get; set; }

Property Value

Int32Rect

SmallChange

The small change value.

public Int32Rect SmallChange { get; set; }

Property Value

Int32Rect:

The default value is 1.

Value

The value of the control.

public Int32Rect Value { get; set; }

Property Value

Int32Rect

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

Events

ValueChanged

Occurs after the Value property value changes.

public event EventHandler? ValueChanged

Event Type

EventHandler

Fields

MaximumProperty

Defines the Maximum property.

public static readonly DependencyProperty MaximumProperty

MinimumProperty

Defines the Minimum property.

public static readonly DependencyProperty MinimumProperty

SmallChangeProperty

Defines the SmallChange property.

public static readonly DependencyProperty SmallChangeProperty

ValueProperty

Defines the Value property.

public static readonly DependencyProperty ValueProperty

Inherited Members

Extension Methods