brianlagunas_cp
d0b7fe55f4
ColorPicker: Added SelectedColorChanged event. Added ButtonStyle property so you can style the ColorPicker's dropdown button any way you want.
RichTextBoxFormatBar: Added Text Highlight Color, Font Color, Bullet list and numbered lists.
16 years ago
brianlagunas_cp
d8d4a632b9
ColorPicker: completely re-wrote the color picker control. It now no longer has the color canvas and sliders to choose colors, (it will eventually in advanced mode). It now has 140 color squares of all available KnownColors, it also has a standard color palette of ten commonly used colors, and keeps track of recently used colors. You can supply your own custom available color and standard color palettes by setting the AvailableColors and StandardColors properties.
16 years ago
brianlagunas_cp
cf4a8d4201
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
e04f959612
fixed some stuff I broke, and improved data type conversions
16 years ago
brianlagunas_cp
34e7fd56df
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
4ce76d6d8a
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
01937c396f
merged bug fixes and new ButtonSpinner, RichTextBoxFormatBar, and NumericUpDown controls into 3.5 solution.
16 years ago
brianlagunas_cp
532dab48f0
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
308ad9dc85
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
140533ed75
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
d7341b8703
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
72a68c2374
various bug fixes, consolidated common styles
16 years ago
brianlagunas_cp
6d10a6e4b0
Initial checkin of new ColorPicker control
16 years ago
brianlagunas_cp
c014a69dc7
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
73ae2b52ba
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
01292c647f
initial checkin of ChildWindow control
16 years ago
brianlagunas_cp
7679352934
Initial check in of new MessageBox control
16 years ago
brianlagunas_cp
ad85a7a61a
refactored visual states into partial class. also added individual resource dictionary for busy indicator.
16 years ago
brianlagunas_cp
41510b497b
initial project check in
16 years ago