Int32RectPicker
The Int32RectPicker control allows for the input of an Int32Rect
(X, Y, width, height) value. It is generally intended for display within a popup, such as for the Int32RectEditBox control.
The toggle at the top determines whether the embedded Int32Picker is currently modifying the X
, Y
, Width
or Height
component of the Int32Rect
. See the Int32Picker for a description of how its UI functions.
Minimum and Maximum Values
Minimum and maximum values may be assigned via the Maximum and Minimum properties.
No values can be committed that lay outside of the inclusive range created by those properties.
Incrementing/Decrementing
Value changes alter the current number component by 1
, which is the default for the SmallChange property.
Sample XAML
This control can be placed within any other XAML container control, such as a Page
or Panel
with this sort of XAML:
<editors:Int32RectPicker Value="{Binding Path=YourVMProperty, Mode=TwoWay}" />