brianlagunas_cp
9e0ece8f58
UpDown editors: due to a bug in Visual Studio, you cannot create event handlers for events that have generic or nullable event args in XAML. So I changed the event args to object to support the design experience, but this now forces you to cast the result of the new value to the appropriate data type.
Various bug fixes
16 years ago
brianlagunas_cp
bd8f7017e0
RichTextBoxFormatBar: fixed bug when selecting text and trying to show a context menu, such as spell check. The RTBFormatBar would not allow the context menu to show.
16 years ago
brianlagunas_cp
ee3b4d313d
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
9b33a5654b
changed coding stragegy so I can more easily support both .NET 4.0 and 3.5.
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