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:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.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
- System.Windows.Int32Rect:
The highest possible value.
Minimum
Gets or sets the lowest possible value.
public Int32Rect Minimum { get; set; }
Property Value
- System.Windows.Int32Rect:
The lowest possible value.
SmallChange
Gets or sets the small change value.
public Int32Rect SmallChange { get; set; }
Property Value
- System.Windows.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
- System.Windows.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
- System.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
- PickerBase.OnCreateAutomationPeer()
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()