brianlagunas_cp
e9aedfdcf7
PropertyGrid: Working on property options, and ValueSource icons.
16 years ago
brianlagunas_cp
ebdaa9936e
ColorToSolidColorBrushConverter: implemented ConvertBack method. Although not used in the toolkit, a user has requested this functionaltiy and provided a patch.
16 years ago
brianlagunas_cp
91212cae5e
Moved UpDownBase into the primitives namespace.
16 years ago
brianlagunas_cp
7f0119cf3b
ColorPicker: added transparent color swatch to Standard Colors. Fixed minor binding errors.
16 years ago
brianlagunas_cp
a55ce6ee12
Added ValueChanged event to DateTimeUpDown and NumericUpDown.
16 years ago
brianlagunas_cp
0903d0b59c
InputBase: Renamed DisplayText back to Text. made more sense and I didn't want to go change all the documentation to DisplayText :0P
16 years ago
brianlagunas_cp
b8d85b1646
NumericUpDown: constrained the Value between the Min and Max values.
16 years ago
brianlagunas_cp
df80d9ff11
fixed some stuff I broke, and improved data type conversions
16 years ago
brianlagunas_cp
5f3d93c5f6
Made a lot of changes, and possible breaking changes:
1. added new MaskedTextBox control
2. no longer have UpDownBase<T>
3. NumericUpDown now has new base class. Hopefully I didn't break anything, but I know I did :0)
4. By default the NumericUpDown uses doubles. To use anything else such as decimals or int you must specify the ValueType accordingly.
<extToolkit:NumericUpDown Grid.Row="1" Value="{Binding Age}" Increment="1" Minimum="18" Maximum="65" ValueType="{x:Type sys:Int32}" />
16 years ago
brianlagunas_cp
01e62e0cd4
added new NumericUpDown control. It provides spin buttons to increment and decrement the value. You can also specifiy a format in which to show the value such as currency C2, or decimal up to three decimals F3. YOu can specify a Min and Max value as well as the increment values. You can also specify if the user can type in the textbox by setting IsEditable property. Support for up/down arrows and mouse wheel.
<toolkit:NumericUpDown Value="25" FormatString="C2" Increment=".5" Maximum="30" Minimum="20" />
16 years ago
brianlagunas_cp
af0bfa7ada
initial checkin of new ButtonSpinner control. Allows you to add button spinners to any element and then respond to the Spin event to manipulate that element. To add use the following syntax
<toolkit:ButtonSpinner Spin="ButtonSpinner_Spin" >
<TextBox x:Name="_txtValue" />
</toolkit:ButtonSpinner>
private void ButtonSpinner_Spin(object sender, Microsoft.Windows.Controls.Primitives.SpinEventArgs e)
{
int value = String.IsNullOrEmpty(_txtValue.Text) ? 0 : Convert.ToInt32(_txtValue.Text);
if (e.Direction == Microsoft.Windows.Controls.Primitives.SpinDirection.Increase)
value++;
else
value--;
_txtValue.Text = value.ToString();
}
16 years ago
brianlagunas_cp
04bac5a0a7
RichTextBox: Removed the AllowFormatting property and completely changed the way the format bar works. The format bar is now a seperate control and can be used either on the deafult RichTextBox or the toolkit's RichTextBox. The format bar is used in conjunction with a format bar manager class. You add the format bar as follows
<toolkit:RichTextBox>
<toolkit:RichTextBoxFormatBarManager.FormatBar>
<toolkit:RichTextBoxFormatBar />
</toolkit:RichTextBoxFormatBarManager.FormatBar>
</toolkit:RichTextBox>
or on the default RichTextBox like so
<RichTextBox >
<toolkit:RichTextBoxFormatBarManager.FormatBar>
<toolkit:RichTextBoxFormatBar />
</toolkit:RichTextBoxFormatBarManager.FormatBar>
</RichTextBox>
You can also create your own format bar by inheriting from IRichTextBoxFormatBar.
16 years ago