brianlagunas_cp
135d4eb3dc
added new DateTimeUpDown control. Aloows you to use spin buttons or the mouse wheel to increment/decrement individual sections of a DateTime value. There are currently 10 supported formats: FullDateTime, LongDate, LongTime, MonthDay, RFC1123, ShortDate, ShortTime, SortableDateTime, UniversalSortableDateTime, and YearMonth. Use the control as follows:
<extToolkit:DateTimeUpDown Value="{Binding LastUpdated}" Format="FullDateTime" />
You cannot type in the Value yet because I haven't figured that part out yet.
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
0afe63c53d
added new Magnifier control. It magnifies anything that it is attached to. You can attach it to any thing that is of type UIElement. To attach it use the MagnifierManager as follows. The ZoomFactor controls how far to zoom in. ZoomFactor ranges from 0.0 up to 1.0. The lower the number the deeper the zoom. 0 being the most zoomed in and 1 being normal size. It is a double so play around with values such as .009 or .2386 to get the desired effect.
<extToolkit:MagnifierManager.Magnifier>
<extToolkit:Magnifier Radius="150" ZoomFactor="0.5" />
</extToolkit:MagnifierManager.Magnifier>
16 years ago
brianlagunas_cp
6828b8a339
merged bug fixes and new ButtonSpinner, RichTextBoxFormatBar, and NumericUpDown controls into 3.5 solution.
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
brianlagunas_cp
12aca9dde1
added the initial Office 2010 Format style contextual formating bar to RichTextBox. To enable the FormatBar set the RichTextBox.AllowFormatting property to True.
16 years ago
brianlagunas_cp
bc99d2c206
various bug fixes, consolidated common styles
16 years ago
brianlagunas_cp
4e3f8934c5
Initial checkin of new ColorPicker control
16 years ago
brianlagunas_cp
0d9e713b32
added new RichTextBox control. Extends the Windows.Controls.RichTextbox to include a Text dependency property that supports data binding. This control uses the concept of text formatters. TextFormatters allow the user to format the text in the RichTextBox into any format they wish. Three text formatters are included: PlainTextFormatter, RtfFormatter, and a XamlFormatter. User can create their own custom formatters by creating a class that inherits from ITextFormatter and setting that as the default formatter in the <RichTextBox.TextFormatter> block.
16 years ago
brianlagunas_cp
8b4e1f968e
restricted ChildWindow in container. fixed bug with ChildWindow zindex, added a WindowState property to ChildWindow which will control opening and closing the window through data binding; two states WindowState.Open and WindowState.Closed. Added OverlayBrush and Overlay Opacity properties allow users to modify the ChldWindow's OverLay element.
16 years ago
brianlagunas_cp
8ad771705a
initial checkin of ChildWindow control
16 years ago
brianlagunas_cp
3b4cdf03a4
Initial check in of new MessageBox control
16 years ago
brianlagunas_cp
869d5911d7
refactored visual states into partial class. also added individual resource dictionary for busy indicator.
16 years ago
brianlagunas_cp
172d56bc4f
initial project check in
16 years ago
brianlagunas_cp
2bea31a30f
deleted everything to start over
16 years ago
brianlagunas_cp
542b6202a1
initial project check in
16 years ago
brianlagunas_cp
82615d1100
initial project checkin
16 years ago