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, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
Inheritance:
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control PickerBase Object

Constructors

Int32RectPicker()

Initializes an instance of the Int32RectPicker class.

public Int32RectPicker()

Properties

Maximum

Gets or sets the highest possible value.

public Int32Rect Maximum { get; set; }

Property Value

Int32Rect:

The highest possible value.

Minimum

Gets or sets the lowest possible value.

public Int32Rect Minimum { get; set; }

Property Value

Int32Rect:

The lowest possible value.

SmallChange

Gets or sets the small change value.

public Int32Rect SmallChange { get; set; }

Property Value

Int32Rect:

The small change value. The default value is 1.

Value

Gets or sets the value of the control.

public Int32Rect Value { get; set; }

Property Value

Int32Rect:

The value of the control.

Methods

OnApplyTemplate()

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

Identifies the Maximum dependency property. This field is read-only.

public static readonly DependencyProperty MaximumProperty

MinimumProperty

Identifies the Minimum dependency property. This field is read-only.

public static readonly DependencyProperty MinimumProperty

SmallChangeProperty

Identifies the SmallChange dependency property. This field is read-only.

public static readonly DependencyProperty SmallChangeProperty

ValueProperty

Identifies the Value dependency property. This field is read-only.

public static readonly DependencyProperty ValueProperty

Inherited Members

Extension Methods