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
9c0b412904
MessageBox [14142]: Wrapped text in a scroll viewer. Now long text will show in a scrollable textbox instead of having the entire messagebox take up the screen. You can change the height of the scrollable area by setting the MaxHeight property in a messagebox style.
16 years ago
brianlagunas_cp
98f396e623
RichTextBoxFormatBar: fixed bug when you select text, then the format bar shows, then click the text again to unselect, the format bar still shows even though no text is selected.
16 years ago
brianlagunas_cp
86e8c97801
RichtextBoxFormatBar: fixed bug where text would loose highlight after first text transformation was applied.
16 years ago
brianlagunas_cp
064060b8a9
renamed IRichTextBoxFormatBar property from RichTextBox to Target. This describes the purpose of the property better when creating your own custom format bar.
16 years ago
brianlagunas_cp
50b4e2f55c
still working on format bar positioning, what a pain!
16 years ago
brianlagunas_cp
9b9f10e72c
improved format bar positioning
16 years ago
brianlagunas_cp
9f4e15e983
RichTextBox: changed format bar to only show when highlighting with mouse at the end of the selection, not during selection. try to improve hiding the format bar when mousing outside of the richtextbox.
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
65d457d8f6
merged bug fixes into 3.5 solution
16 years ago
brianlagunas_cp
a6dbe935be
14537 : made ok/yes buttons default buttons for MessageBox.
RichTextBox changed LostFocus event to PreviewKeyboardLostFocus event
16 years ago
brianlagunas_cp
24b5f88a4b
merged bug fixes into 3.5 solution
16 years ago
brianlagunas_cp
eb789f8528
14378 : fixed BusyIndicator focus issue
14297 : fixed ColorPicker null reference error when not databinding to it.
16 years ago
brianlagunas_cp
1a7264550a
added Extended WPF Toolkit solution for Visual Studio 2008 and .NET 3.5 - this has a dependency on the WPFToolkit
16 years ago
brianlagunas_cp
d2cdb35943
RichTextBox: fixed bug when using RichTextBox and not data binding to the Text Property
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
1044f95353
RichTextBox: placed the UpdateText method on a background thread using the dispatcher to asyncronously update the text property. This dramatically improves performance.
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
114bf865c0
ChildWindow: fixed WindowState bug
ChildWindow: added DialogResult property, user can set the DialogResult to true/false/null and the window will close, when close button pressed dialog result is false.
ChildWindow: can now show ChildWindow by using data binding on the WindowState property or by calling Show/Close in code.
ChildWindow: added Closed and Closing events. During the Closing event a user can set e.Cancel to true and the close will be cancelled and Closed event will not fire.
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
abeb1fd1bf
added styling capabilities to the MessageBox so a user can style the MessageBox to fit the theme of their application
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
8a916aed20
incremented build number
16 years ago
brianlagunas_cp
dc68526624
changed my mind and put the _displayAfterTimer.Tick event hookup in a public constructor
16 years ago
brianlagunas_cp
fa7b20cad7
mistakenly had DefaultStyleKeyProperty.OverrideMetadata(typeof(BusyIndicator), new FrameworkPropertyMetadata(typeof(BusyIndicator))); in a puclic constructor. Moved it to a static constructor. placed _displayAfterTimer.Tick event hookup in the overridden OnIntialize method.
16 years ago
brianlagunas_cp
172d56bc4f
initial project check in
16 years ago
brianlagunas_cp
bd671fe14e
16 years ago
brianlagunas_cp
2bea31a30f
deleted everything to start over
16 years ago
brianlagunas_cp
c504b27ad1
deleted extra files that shouldn't be there
16 years ago
brianlagunas_cp
3e8745aa61
deleted original checkin because I messed up the folder structure
16 years ago
brianlagunas_cp
542b6202a1
initial project check in
16 years ago
brianlagunas_cp
82615d1100
initial project checkin
16 years ago
_MCLWEB
40f2d19786
Created team project folder $/wpftoolkit via the Team Project Creation Wizard
16 years ago