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

Created Unassigned: Add Default Binding Property to UpDownBase [22281]

$
0
0
IntegerUpDown and other NumericUpDown Control is not shown in Visual Studio Data Sources window
as Associate Controls because DefaultBindingProperty attribute missing.
Please add this attribute into UpDownBase abstract class where Value property is defined.

Recomanded changes in Xceed.Wpf.Toolkit/Primitives/UpDownBase.cs source file:
...
using System.ComponentModel; // NEW LINE

namespace Xceed.Wpf.Toolkit.Primitives
{
[TemplatePart( Name = PART_TextBox, Type = typeof( TextBox ) )]
[TemplatePart( Name = PART_Spinner, Type = typeof( Spinner ) )]
[DefaultBindingProperty("Value")] // NEW LINE
public abstract class UpDownBase<T> : InputBase, IValidateInput
...

Viewing all articles
Browse latest Browse all 4964

Trending Articles