Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all 4964 articles
Browse latest View live

Updated Wiki: Home

$
0
0
New! v1.9.0 with a record-breaking 70 improvements (see list) and a new control. Plus just updated to v2.0 on May 7th 2013, we're preparing the Community Edition for release here next week.

Extended WPF Toolkit Plus

Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 150,000 times.

The free, open source Community Edition is provided under the Microsoft Public License and includes the following controls:

AutoSelectTextBoxnew in 1.8BusyIndicatorButtonSpinnerCalculator
CalculatorUpDownCheckComboBoxCheckListBoxChildWindow
CollectionEditorDataGridnew in 1.8CollectionControlDialogColorCanvas
ColorPickerDateTimePickerDateTimeUpDownDecimalUpDown
DoubleUpDownDropDownButtonIntegerUpDownMagnifier
MaskedTextBoxnew in 1.8MessageBoxMultiLineTextEditorPienew in 1.7
PrimitiveTypeCollEditorPropertyGridnew featuresRichTextBoxRichTextBoxFormatBar
SplitButtonPanels/Layoutsnew in 1.9TimelinePanelTimePicker
WatermarkTextBoxWizardZoomboxnew in 1.7

Upgrade to Extended WPF Toolkit Plus to get even more controls, features, and professional support.

Latest News

 
Extended WPF Toolkit Plus On Jan 28th 2013 we released v1.9.0 of the Community Edition, the first update this year. It contains a record-breaking 70 improvements (see the complete list) and a new control.

Action items

  • Enjoy WPF!
  • Please rate this release and write something positive. It's at the bottom of the downloads page
  • Follow this project (click "follow" at the top right of this page)
  • Follow @datagrid on Twitter for WPF and Toolkit news
  • Like Xceed's WPF page on Facebook
  • Check out a video or two on XceedVideos YouTube Channel
  • Add bugs or feature requests to the Issue Tracker

MCC11_Logo_Horizontal_Full-color.jpg

Updated Wiki: Home

$
0
0
New!Community Edition v1.9.0 with a record-breaking 70 improvements (see list) and a new control. Plus just updated to v2.0 on May 7th 2013, we're preparing the Community Edition for release here next week.

Extended WPF Toolkit Plus

Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 150,000 times.

The free, open source Community Edition is provided under the Microsoft Public License and includes the following controls:

AutoSelectTextBoxnew in 1.8BusyIndicatorButtonSpinnerCalculator
CalculatorUpDownCheckComboBoxCheckListBoxChildWindow
CollectionEditorDataGridnew in 1.8CollectionControlDialogColorCanvas
ColorPickerDateTimePickerDateTimeUpDownDecimalUpDown
DoubleUpDownDropDownButtonIntegerUpDownMagnifier
MaskedTextBoxnew in 1.8MessageBoxMultiLineTextEditorPienew in 1.7
PrimitiveTypeCollEditorPropertyGridnew featuresRichTextBoxRichTextBoxFormatBar
SplitButtonPanels/Layoutsnew in 1.9TimelinePanelTimePicker
WatermarkTextBoxWizardZoomboxnew in 1.7

Upgrade to Extended WPF Toolkit Plus to get even more controls, features, and professional support.

Latest News

 
Extended WPF Toolkit Plus On May 7th 2013 we released Plus Edition v2.0.0, it contains a variety of new controls and enhancements. The Community Edition is being prepared for release the following week.

>On Jan 28th 2013 we released v1.9.0 of the Community Edition, the first update this year. It contains a record-breaking 70 improvements (see the complete list) and a new control.

Action items

  • Enjoy WPF!
  • Please rate this release and write something positive. It's at the bottom of the downloads page
  • Follow this project (click "follow" at the top right of this page)
  • Follow @datagrid on Twitter for WPF and Toolkit news
  • Like Xceed's WPF page on Facebook
  • Check out a video or two on XceedVideos YouTube Channel
  • Add bugs or feature requests to the Issue Tracker

MCC11_Logo_Horizontal_Full-color.jpg

Updated Wiki: Home

$
0
0
New!Community Edition v1.9.0 with a record-breaking 70 improvements (see list) and a new control. Plus Edition just updated to v2.0 on May 7th 2013, we're preparing the Community Edition for release here next week.

Extended WPF Toolkit Plus

Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 150,000 times.

The free, open source Community Edition is provided under the Microsoft Public License and includes the following controls:

AutoSelectTextBoxnew in 1.8BusyIndicatorButtonSpinnerCalculator
CalculatorUpDownCheckComboBoxCheckListBoxChildWindow
CollectionEditorDataGridnew in 1.8CollectionControlDialogColorCanvas
ColorPickerDateTimePickerDateTimeUpDownDecimalUpDown
DoubleUpDownDropDownButtonIntegerUpDownMagnifier
MaskedTextBoxnew in 1.8MessageBoxMultiLineTextEditorPienew in 1.7
PrimitiveTypeCollEditorPropertyGridnew featuresRichTextBoxRichTextBoxFormatBar
SplitButtonPanels/Layoutsnew in 1.9TimelinePanelTimePicker
WatermarkTextBoxWizardZoomboxnew in 1.7

Upgrade to Extended WPF Toolkit Plus to get even more controls, features, and professional support.

Latest News

*Extended WPF Toolkit Plus On May 7th 2013 we released Plus Edition v2.0.0, it contains a variety of new controls and enhancements. The Community Edition is being prepared for release the following week.

On Jan 28th 2013 we released v1.9.0 of the Community Edition, the first update this year. It contains a record-breaking 70 improvements* (see the complete list) and a new control.

Action items

  • Enjoy WPF!
  • Please rate this release and write something positive. It's at the bottom of the downloads page
  • Follow this project (click "follow" at the top right of this page)
  • Follow @datagrid on Twitter for WPF and Toolkit news
  • Like Xceed's WPF page on Facebook
  • Check out a video or two on XceedVideos YouTube Channel
  • Add bugs or feature requests to the Issue Tracker

MCC11_Logo_Horizontal_Full-color.jpg

Updated Wiki: Home

$
0
0
New!Community Edition v1.9.0 with a record-breaking 70 improvements (see list) and a new control. Plus Edition just updated to v2.0 on May 7th 2013, we're preparing the Community Edition for release here next week.

Extended WPF Toolkit Plus

Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 150,000 times.

The free, open source Community Edition is provided under the Microsoft Public License and includes the following controls:

AutoSelectTextBoxnew in 1.8BusyIndicatorButtonSpinnerCalculator
CalculatorUpDownCheckComboBoxCheckListBoxChildWindow
CollectionEditorDataGridnew in 1.8CollectionControlDialogColorCanvas
ColorPickerDateTimePickerDateTimeUpDownDecimalUpDown
DoubleUpDownDropDownButtonIntegerUpDownMagnifier
MaskedTextBoxnew in 1.8MessageBoxMultiLineTextEditorPienew in 1.7
PrimitiveTypeCollEditorPropertyGridnew featuresRichTextBoxRichTextBoxFormatBar
SplitButtonPanels/Layoutsnew in 1.9TimelinePanelTimePicker
WatermarkTextBoxWizardZoomboxnew in 1.7

Upgrade to Extended WPF Toolkit Plus to get even more controls, features, and professional support.

Latest News

 
Extended WPF Toolkit Plus On May 7th 2013 we released Plus Edition v2.0.0, it contains a variety of new controls and enhancements. The Community Edition is being prepared for release the following week.
On Jan 28th 2013 we released v1.9.0 of the Community Edition, the first update this year. It contains a record-breaking 70 improvements (see the complete list) and a new control.

Action items

  • Enjoy WPF!
  • Please rate this release and write something positive. It's at the bottom of the downloads page
  • Follow this project (click "follow" at the top right of this page)
  • Follow @datagrid on Twitter for WPF and Toolkit news
  • Like Xceed's WPF page on Facebook
  • Check out a video or two on XceedVideos YouTube Channel
  • Add bugs or feature requests to the Issue Tracker

MCC11_Logo_Horizontal_Full-color.jpg

Updated Wiki: Home

$
0
0
New!Community Edition v1.9.0 with a record-breaking 70 improvements (see list) and a new control. Plus Edition just updated to v2.0 on May 7th 2013, we're preparing the Community Edition for release here next week.

Extended WPF Toolkit Plus

Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 150,000 times.

The free, open source Community Edition is provided under the Microsoft Public License and includes the following controls:

AutoSelectTextBoxnew in 1.8BusyIndicatorButtonSpinnerCalculator
CalculatorUpDownCheckComboBoxCheckListBoxChildWindow
CollectionEditorDataGridnew in 1.8CollectionControlDialogColorCanvas
ColorPickerDateTimePickerDateTimeUpDownDecimalUpDown
DoubleUpDownDropDownButtonIntegerUpDownMagnifier
MaskedTextBoxnew in 1.8MessageBoxMultiLineTextEditorPienew in 1.7
PrimitiveTypeCollEditorPropertyGridnew featuresRichTextBoxRichTextBoxFormatBar
SplitButtonPanels/Layoutsnew in 1.9TimelinePanelTimePicker
WatermarkTextBoxWizardZoomboxnew in 1.7

Upgrade to Extended WPF Toolkit Plus to get even more controls, features, and professional support.

Latest News

 
Extended WPF Toolkit Plus On May 7th 2013 we released Plus Edition v2.0.0, it contains a variety of new controls and enhancements. The Community Edition is being prepared for release the following week.
On Jan 28th 2013 we released v1.9.0 of the Community Edition, the first update this year. It contains a record-breaking 70 improvements (see the complete list) and a new control.

Action items

  • Enjoy WPF!
  • Please rate this release and write something positive. It's at the bottom of the downloads page
  • Follow this project (click "follow" at the top right of this page)
  • Follow @datagrid on Twitter for WPF and Toolkit news
  • Like Xceed's WPF page on Facebook
  • Check out a video or two on XceedVideos YouTube Channel
  • Add bugs or feature requests to the Issue Tracker

MCC11_Logo_Horizontal_Full-color.jpg

Updated Wiki: Home

$
0
0
New! Community Edition v1.9.0 with a record-breaking 70 improvements (see list) and a new control. Plus Edition just updated to v2.0 on May 7th 2013. Community Edition being prepared for next week.

Extended WPF Toolkit Plus

Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 150,000 times.

The free, open source Community Edition is provided under the Microsoft Public License and includes the following controls:

AutoSelectTextBoxnew in 1.8BusyIndicatorButtonSpinnerCalculator
CalculatorUpDownCheckComboBoxCheckListBoxChildWindow
CollectionEditorDataGridnew in 1.8CollectionControlDialogColorCanvas
ColorPickerDateTimePickerDateTimeUpDownDecimalUpDown
DoubleUpDownDropDownButtonIntegerUpDownMagnifier
MaskedTextBoxnew in 1.8MessageBoxMultiLineTextEditorPienew in 1.7
PrimitiveTypeCollEditorPropertyGridnew featuresRichTextBoxRichTextBoxFormatBar
SplitButtonPanels/Layoutsnew in 1.9TimelinePanelTimePicker
WatermarkTextBoxWizardZoomboxnew in 1.7

Upgrade to Extended WPF Toolkit Plus to get even more controls, features, and professional support.

Latest News

 
Extended WPF Toolkit Plus On May 7th 2013 we released Plus Edition v2.0.0, it contains a variety of new controls and enhancements. The Community Edition is being prepared for release the following week.
On Jan 28th 2013 we released v1.9.0 of the Community Edition, the first update this year. It contains a record-breaking 70 improvements (see the complete list) and a new control.

Action items

  • Enjoy WPF!
  • Please rate this release and write something positive. It's at the bottom of the downloads page
  • Follow this project (click "follow" at the top right of this page)
  • Follow @datagrid on Twitter for WPF and Toolkit news
  • Like Xceed's WPF page on Facebook
  • Check out a video or two on XceedVideos YouTube Channel
  • Add bugs or feature requests to the Issue Tracker

MCC11_Logo_Horizontal_Full-color.jpg

Updated Wiki: Home

$
0
0
New! Community Edition v1.9.0 with a record-breaking 70 improvements (see list) and a new control. Plus Edition just updated to v2.0.0 on May 7th 2013. Community Edition being prepared for next week.

Extended WPF Toolkit Plus

Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 150,000 times.

The free, open source Community Edition is provided under the Microsoft Public License and includes the following controls:

AutoSelectTextBoxnew in 1.8BusyIndicatorButtonSpinnerCalculator
CalculatorUpDownCheckComboBoxCheckListBoxChildWindow
CollectionEditorDataGridnew in 1.8CollectionControlDialogColorCanvas
ColorPickerDateTimePickerDateTimeUpDownDecimalUpDown
DoubleUpDownDropDownButtonIntegerUpDownMagnifier
MaskedTextBoxnew in 1.8MessageBoxMultiLineTextEditorPienew in 1.7
PrimitiveTypeCollEditorPropertyGridnew featuresRichTextBoxRichTextBoxFormatBar
SplitButtonPanels/Layoutsnew in 1.9TimelinePanelTimePicker
WatermarkTextBoxWizardZoomboxnew in 1.7

Upgrade to Extended WPF Toolkit Plus to get even more controls, features, and professional support.

Latest News

 
Extended WPF Toolkit Plus On May 7th 2013 we released Plus Edition v2.0.0, it contains a variety of new controls and enhancements. The Community Edition is being prepared for release the following week.
On Jan 28th 2013 we released v1.9.0 of the Community Edition, the first update this year. It contains a record-breaking 70 improvements (see the complete list) and a new control.

Action items

  • Enjoy WPF!
  • Please rate this release and write something positive. It's at the bottom of the downloads page
  • Follow this project (click "follow" at the top right of this page)
  • Follow @datagrid on Twitter for WPF and Toolkit news
  • Like Xceed's WPF page on Facebook
  • Check out a video or two on XceedVideos YouTube Channel
  • Add bugs or feature requests to the Issue Tracker

MCC11_Logo_Horizontal_Full-color.jpg

Updated Wiki: Home

$
0
0
New! Community Edition v1.9.0 with a record-breaking 70 improvements (see list) and a new control. Plus Edition just updated to v2.0.0 on May 7th 2013. Community Edition being prepared for next week.

Extended WPF Toolkit Plus

Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 200,000 times here, on Nuget and on wpftoolkit.com.

The free, open source Community Edition is provided under the Microsoft Public License and includes the following controls:

AutoSelectTextBoxnew in 1.8BusyIndicatorButtonSpinnerCalculator
CalculatorUpDownCheckComboBoxCheckListBoxChildWindow
CollectionEditorDataGridnew in 1.8CollectionControlDialogColorCanvas
ColorPickerDateTimePickerDateTimeUpDownDecimalUpDown
DoubleUpDownDropDownButtonIntegerUpDownMagnifier
MaskedTextBoxnew in 1.8MessageBoxMultiLineTextEditorPienew in 1.7
PrimitiveTypeCollEditorPropertyGridnew featuresRichTextBoxRichTextBoxFormatBar
SplitButtonPanels/Layoutsnew in 1.9TimelinePanelTimePicker
WatermarkTextBoxWizardZoomboxnew in 1.7

Upgrade to Extended WPF Toolkit Plus to get even more controls, features, and professional support.

Latest News

 
Extended WPF Toolkit Plus On May 7th 2013 we released Plus Edition v2.0.0, it contains a variety of new controls and enhancements. The Community Edition is being prepared for release the following week.
On Jan 28th 2013 we released v1.9.0 of the Community Edition, the first update this year. It contains a record-breaking 70 improvements (see the complete list) and a new control.

Action items

  • Enjoy WPF!
  • Please rate this release and write something positive. It's at the bottom of the downloads page
  • Follow this project (click "follow" at the top right of this page)
  • Follow @datagrid on Twitter for WPF and Toolkit news
  • Like Xceed's WPF page on Facebook
  • Check out a video or two on XceedVideos YouTube Channel
  • Add bugs or feature requests to the Issue Tracker

MCC11_Logo_Horizontal_Full-color.jpg

Updated Wiki: Home

$
0
0
New! Community Edition v1.9.0 with a record-breaking 70 improvements (see list) and a new control. Plus Edition just updated to v2.0.0 on May 7th 2013. Community Edition being prepared for next week.

Extended WPF Toolkit Plus

Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 200,000 times here and on Nuget.

The free, open source Community Edition is provided under the Microsoft Public License and includes the following controls:

AutoSelectTextBoxnew in 1.8BusyIndicatorButtonSpinnerCalculator
CalculatorUpDownCheckComboBoxCheckListBoxChildWindow
CollectionEditorDataGridnew in 1.8CollectionControlDialogColorCanvas
ColorPickerDateTimePickerDateTimeUpDownDecimalUpDown
DoubleUpDownDropDownButtonIntegerUpDownMagnifier
MaskedTextBoxnew in 1.8MessageBoxMultiLineTextEditorPienew in 1.7
PrimitiveTypeCollEditorPropertyGridnew featuresRichTextBoxRichTextBoxFormatBar
SplitButtonPanels/Layoutsnew in 1.9TimelinePanelTimePicker
WatermarkTextBoxWizardZoomboxnew in 1.7

Upgrade to Extended WPF Toolkit Plus to get even more controls, features, and professional support.

Latest News

 
Extended WPF Toolkit Plus On May 7th 2013 we released Plus Edition v2.0.0, it contains a variety of new controls and enhancements. The Community Edition is being prepared for release the following week.
On Jan 28th 2013 we released v1.9.0 of the Community Edition, the first update this year. It contains a record-breaking 70 improvements (see the complete list) and a new control.

Action items

  • Enjoy WPF!
  • Please rate this release and write something positive. It's at the bottom of the downloads page
  • Follow this project (click "follow" at the top right of this page)
  • Follow @datagrid on Twitter for WPF and Toolkit news
  • Like Xceed's WPF page on Facebook
  • Check out a video or two on XceedVideos YouTube Channel
  • Add bugs or feature requests to the Issue Tracker

MCC11_Logo_Horizontal_Full-color.jpg

Commented Issue: RichTextBoxFormatBar: WPF Bug with SystemFontFamilies [19552]

$
0
0
From this [discussion](http://wpftoolkit.codeplex.com/discussions/438775)
-=-=-=-=-=-=-=-=-=-=-=-
Hi,

could you please change the following:

combox.ItemsSource = Fonts.SystemFontFamilies ....

to:

http://code.logos.com/blog/2012/11/how-to-crash-many-wpf-applications-wpf-4-edition.html

Thanks!
Comments: ** Comment from web user: dlafontaine **

Fixed in v2.0

Commented Issue: MouseWheelActiveOnFocus="True" [19608]

$
0
0
MouseWheelActiveOnFocus="True" not working anymore since update to 1.9.0.0.

Previous 1.8.0.0 work as expected by update filed with mouse wheel if mousepointer is over field without focus.

But since 1.9.0.0 only "false" mode with focused filed working.
Comments: ** Comment from web user: dlafontaine **

Fixed in v2.0

Created Issue: MessageBox does not support mnemonics [19678]

$
0
0
On message boxes the user is not able to press the (O)kay, (C)ancel, (Y)es, (N)o. I would like support for these like the regular windows message box. Thanks

Created Issue: FileNotFoundException occurred [19680]

$
0
0
I get this message when I use IntegerUpDown in my wpf application.

Could not load file or assembly 'Xceed.Wpf.Toolkit.Aero2, Version=1.9.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4' or one of its dependencies. The system cannot find the file specified.

The problem only occurs on my windows 8 computer and not on my windows 7.

Updated Wiki: Home

$
0
0
New! Community Edition v1.9.0 with a record-breaking 70 improvements (see list) and a new control. Plus Edition just updated to v2.0.0 on May 7th 2013. Community Edition being prepared for next week.

Extended WPF Toolkit Plus

Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 200,000 times here and on Nuget.

The free, open source Community Edition is provided under the Microsoft Public License and includes the following controls:

AutoSelectTextBoxnew in 1.8BusyIndicatorButtonSpinnerCalculator
CalculatorUpDownCheckComboBoxCheckListBoxChildWindow
CollectionEditorDataGridnew in 1.8CollectionControlDialogColorCanvas
ColorPickerDateTimePickerDateTimeUpDownDecimalUpDown
DoubleUpDownDropDownButtonIntegerUpDownMagnifier
MaskedTextBoxnew in 1.8MessageBoxMultiLineTextEditorPienew in 1.7
PrimitiveTypeCollEditorPropertyGridnew featuresRichTextBoxRichTextBoxFormatBar
SplitButtonPanels/Layoutsnew in 1.9TimelinePanelTimePicker
WatermarkTextBoxWizardZoomboxnew in 1.7

Upgrade to Extended WPF Toolkit Plus to get even more controls, features, and professional support.

Latest News

 
Extended WPF Toolkit PlusMay 7th 2013 released Plus Edition v2.0.0 containing a variety of new controls and enhancements. The Community Edition is being prepared for release the following week.
Jan 28th 2013 released v1.9.0 of the Community Edition, the first update this year. It contains a record-breaking 70 improvements (see the complete list) and a new control.

Action items

  • Enjoy WPF!
  • Please rate this release and write something positive. It's at the bottom of the downloads page
  • Follow this project (click "follow" at the top right of this page)
  • Follow @datagrid on Twitter for WPF and Toolkit news
  • Like Xceed's WPF page on Facebook
  • Check out a video or two on XceedVideos YouTube Channel
  • Add bugs or feature requests to the Issue Tracker

MCC11_Logo_Horizontal_Full-color.jpg

Created Issue: PropertyGrid Collection Editor Cannot Handle Inherited Properties/Fields Properly [19682]

$
0
0
When the built in Collection Editor loads an existed item in a collection, it tries to clone the item by copying all its fields to a new item, while the latter one will be edited in the editor. However, the Xceed.Wpf.Toolkit.CollectionControl.CopyValues method only copies the fields declared in the Type which the item to clone is, not with those in its base class(es).

Here is the revised implementation, feel free to use it if it helps.

```
private static void CopyValues(object source, object destination)
{
LinkedList<Type> types = new LinkedList<Type>();
var type = source.GetType();
while (type != null)
{
types.AddFirst(type);
type = type.BaseType;
}

foreach (var t in types)
{
FieldInfo[] myObjectFields = t.GetFields(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
foreach (FieldInfo fi in myObjectFields)
{
fi.SetValue(destination, fi.GetValue(source));
}
}
}
```

Closed Issue: PropertyGrid Collection Editor Cannot Handle Inherited Properties/Fields Properly [19682]

$
0
0
When the built in Collection Editor loads an existed item in a collection, it tries to clone the item by copying all its fields to a new item, while the latter one will be edited in the editor. However, the Xceed.Wpf.Toolkit.CollectionControl.CopyValues method only copies the fields declared in the Type which the item to clone is, not with those in its base class(es).

Here is the revised implementation, feel free to use it if it helps.

```
private static void CopyValues(object source, object destination)
{
LinkedList<Type> types = new LinkedList<Type>();
var type = source.GetType();
while (type != null)
{
types.AddFirst(type);
type = type.BaseType;
}

foreach (var t in types)
{
FieldInfo[] myObjectFields = t.GetFields(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
foreach (FieldInfo fi in myObjectFields)
{
fi.SetValue(destination, fi.GetValue(source));
}
}
}
```
Comments: Duplicate of
https://wpftoolkit.codeplex.com/workitem/18206

This is fixed in version 2.0

Updated Wiki: DateTimeUpDown

$
0
0

DateTimeUpDown

The DateTimeUpDown control allows a user to increment or decrement a DateTime using button spinners, up/down keys, or the mouse wheel.

Usage

To use the DateTimeUpDown control simply create an instance of the control in your XAML file, specify the DateTimeUpDown.Value property, and select a Format by setting the DateTimeUpDown.Format property.

<xctk:DateTimeUpDown Value="{Binding LastUpdated}" Format="FullDateTime" />

Modifying the DateTime Value

To increment or decrement the DateTime value, simply select the DateTime part you wish to modify and then interact with either the mouse wheel, spinner buttons, or updown arrow keys. The following image shows what the different DateTime parts look like when you select them.

datetimeupdown_segments.png

Depending on your DateTimeUpDown.Format, you may or maynot have all DateTime parts available. You can also get the formatted DateTimeUpDown.Value by using the DateTimeUpDown.Text property.

Formats

Format Example
FullDateTime fulldatetime.png
LongDate longdate.png
LongTime longtime.png
MonthDay monthday.png
RFC1123 rfc1123.png
ShortDate shortdate.png
ShortTime shorttime.png
SortableDateTime sortabledatetime.png
UniversalSortableDateTime universalsortabledatetime.png
YearMonth yearmonth.png

Custom Format

If the available formats don't fit you rneeds you can create your own custom format. Simply specfiy the Format property as Custom and then provide a FormatString.

custom.jpg

<extToolkit:DateTimeUpDown Format="Custom" FormatString="hh:mm tt" Value="13:30" />

Properties / Events

Property Description
AllowSpin Gets/Sets the ability to perform increment/decrement operations via the keyboard, button spinners, or mouse wheel. (Inherited from UpDownBase<T>.)
CultureInfo Gets/Sets the current CultureInfo. (Inherited from InputBase.)
DefaultValue Get/Sets the value to use when the Value is null and an increment/decrement operation is performed.
Format Gets a DateTimeFormat value representing the format to be used (e.g., FullDateTime, LongDate, etc.).
FormatString Gets/Sets the display format to use when Format is set to Custom (e.g., "hh:mm tt").
IsReadOnly Gets/Sets a value indicating whether the control is read only. (Inherited from InputBase.)
MouseWheelActiveOnFocus Gets/Sets if the control must have focus in order for the mouse wheel to incement/decrement the value. True by default. (Inherited from UpDownBase<T>.)
ShowButtonSpinner Gets/Sets if the button spinners are visible. (Inherited from UpDownBase<T>.)
Spinner Gets/Sets the spinner to use in the control. (Inherited from UpDownBase<T>.)
Text Gets/Sets the formated string representation of the value. (Inherited from InputBase.)
TextAlignment Gets/Sets the alignment of the value of Text. (Inherited from InputBase.)
TextBox Gets/Sets the TextBox to use in the control. (Inherited from UpDownBase<T>.)
Value Gets/Sets the numeric value. (Inherited from UpDownBase<T>.)
Watermark Gets/Sets the object to use as a watermark if the Value is null. (Inherited from InputBase.)
WatermarkTemplate Gets/Sets the DatTemplate to use for the Watermark. (Inherited from InputBase.)


Event Description
ValueChanged Occurs when the Value changes. (Inherited from UpDownBase<T>.)


Get 50+ awesome WPF controls in the Plus Edition.
---

Updated Wiki: DropDownButton

$
0
0

DropDownButton

The DropDownButton control is a button that when clicked displays a drop down in which you can place any custom content.

dropdownbutton.jpg
<extToolkit:DropDownButton Content="Click Me" Margin="15" >
            <extToolkit:DropDownButton.DropDownContent>
                <extToolkit:ColorCanvas />
            </extToolkit:DropDownButton.DropDownContent>
        </extToolkit:DropDownButton>

Properties / Events

Property Description
Button Gets or sets the button used by the control.
Command Gets/Sets the command to execute when the button is clicked.
CommandParameter Gets/Sets the command parameter to pass to the Command when the button is clicked.
CommandTarget Gets or sets the element on which to raise the specified command.
Content Gets/Sets the object to use as the button's content.
DropDownContent Get/Sets the object to use as the drop down button's content.
IsOpen Gets/Sets a value indicating whether or not the drop down is open.


Event Description
Click Executes when the button is clicked.
Closed Executes when the DropDownButton dropdown closes
Opened Executes when the DropDownButton dropdown opens


Get 50+ awesome WPF controls in the Plus Edition.
---

Updated Wiki: Magnifier

$
0
0

Magnifier

The Magnifier control does exactly what is sounds like. It allows a user to magnify parts of an application.

Usage

magnifier.png

You can add the Magnifier to any element that is of type UIElement. This is done by using the MagnifierManager. You simply set the MagnifierManager.Magnifier property to the toolkit's Magnifier instance. The following snippet adds the Magnifier to the parent grid of a Window.

<Window x:Class="WPFToolkit.Extended.Samples.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
        Title="MainWindow" Height="350" Width="525" >
    <Grid>
        <extToolkit:MagnifierManager.Magnifier>
            <extToolkit:Magnifier Radius="100" ZoomFactor=".4" />
        </extToolkit:MagnifierManager.Magnifier>
        <RichTextBox />
    </Grid>
</Window>

Now everything that is contained within the Grid will have the ability to be magnified.

Properties

You can control the appearance of the Magnifier by setting some of the available properties.

Name Description
FrameType Gets or sets the type of frame used by the Magnifier.
Radius Gets or sets the radius/size of the Magnifier
Target Gets or sets the UIElement to which the Magnifier is attached.
ZoomFactor Gets or sets the amount to zoom into an element. The value ranges from 0.0 to 1.0. The smaller the number, the further zoomed in you are. 1.0 is normal text or 100% of orignial size, 0.0 is the most you can zoom in.


Example

magnifier_withborder.png

The following code snippet attaches a Magnifier to a Window's parent Grid that has a Radius of 75, a red boder that is 1 pixel thick, and a ZoomFactor of 0.3526.

<Window x:Class="WPFToolkit.Extended.Samples.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended"
        Title="MainWindow" Height="350" Width="525" >
    <Grid>
        <extToolkit:MagnifierManager.Magnifier>
            <extToolkit:Magnifier BorderBrush="Red"
                                  BorderThickness="1"
                                  Radius="75" 
                                  ZoomFactor=".3526" />
        </extToolkit:MagnifierManager.Magnifier>
        <RichTextBox />
    </Grid>
</Window>


Get 50+ awesome WPF controls in the Plus Edition.
---

Updated Wiki: MaskedTextBox

$
0
0

MaskedTextBox

Represents a control that limits the input text to the format determined by the specified mask.

Note: This version of MaskedTextBox replaces the toolkit's original control, providing a much more complete API. The original control is still available in the Xceed.Wpf.Toolkit.Obselete namespace; see MaskedTextBox (obsolete version).

<sample:DemoView x:Class="Samples.Modules.Text.Views.MaskedTextBoxView"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:sample="clr-namespace:Samples.Infrastructure.Controls;assembly=Samples.Infrastructure"
                 xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
                 xmlns:osb="clr-namespace:Xceed.Wpf.Toolkit.Obselete;assembly=WPFToolkit.Extended"
                 xmlns:s="clr-namespace:System;assembly=mscorlib"
                 Title="MaskedTextBox"
                 Description="The MaskedTextBox control lets you display and edit values based on a mask.">
   <Grid>

      <Grid.RowDefinitions>
         <RowDefinition Height="Auto" />
         <RowDefinition Height="*" />
      </Grid.RowDefinitions>

      <GroupBox Header="Features" Grid.Row="0" Margin="5">
         <StackPanel Margin="5">
            <Grid>
               <Grid.RowDefinitions>
                  <RowDefinition Height="Auto" />
                  <RowDefinition Height="Auto" />
               </Grid.RowDefinitions>
               <Grid.ColumnDefinitions>
                  <ColumnDefinition Width="Auto" />
                  <ColumnDefinition Width="*" />
               </Grid.ColumnDefinitions>

               <TextBlock Text="Include literals:" VerticalAlignment="Center" Margin="2" />
               <CheckBox x:Name="_literals" Grid.Column="1" VerticalAlignment="Center" Margin="5" 
                         IsChecked="{Binding IncludeLiteralsInValue, ElementName=_maskedTextBox, 

Mode=TwoWay}"/>

               <TextBlock Text="Include prompt:" Grid.Row="1" VerticalAlignment="Center" Margin="2" />
               <CheckBox x:Name="_prompt" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Margin="5" 
                         IsChecked="{Binding IncludePromptInValue, ElementName=_maskedTextBox, Mode=TwoWay}"/>
            </Grid>
            <Grid Margin="0,5,0,0">
               <Grid.RowDefinitions>
                  <RowDefinition Height="Auto" />
                  <RowDefinition Height="Auto" />
                  <RowDefinition Height="Auto" />
               </Grid.RowDefinitions>
               <Grid.ColumnDefinitions>
                  <ColumnDefinition Width="Auto" />
                  <ColumnDefinition Width="*" />
               </Grid.ColumnDefinitions>

               <TextBlock Text="Mask:" VerticalAlignment="Center" Margin="2" />
               <TextBox x:Name="_mask" Grid.Column="1" VerticalAlignment="Center" Margin="5" 
                        Text="{Binding Mask, ElementName=_maskedTextBox, ValidatesOnExceptions=True}" />

               <TextBlock Text="Value:" Grid.Row="1" VerticalAlignment="Center" Margin="2" />
               <TextBox x:Name="_value" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Margin="5"
                        Text="{Binding Value, ElementName=_maskedTextBox, ValidatesOnExceptions=True}"  />

               <TextBlock Text="Text:" Grid.Row="2" VerticalAlignment="Center" Margin="2" />
               <TextBox x:Name="_text" Grid.Row="2" Grid.Column="1" VerticalAlignment="Center" Margin="5" 
                        Text="{Binding Text, ElementName=_maskedTextBox, ValidatesOnExceptions=True}"/>
            </Grid>
         </StackPanel>
      </GroupBox>

      <StackPanel Grid.Row="1" Margin="10">
         <xctk:MaskedTextBox x:Name="_maskedTextBox"
                             Mask="(000) 000-0000"
                             ValueDataType="{x:Type s:String}" />

      </StackPanel>
   </Grid>
</sample:DemoView>


Get 50+ awesome WPF controls in the Plus Edition.
---
Viewing all 4964 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>