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

Edited Issue: Bug in PrimitiveTypeCollectionEditor::ResolveValueBinding [20221]

$
0
0
Fix for it:

```
protected override void ResolveValueBinding( PropertyItem propertyItem )
{
var type = propertyItem.PropertyType;
Editor.ItemsSourceType = type;

if ( type.BaseType == typeof (System.Array) )
{
Editor.ItemType = type.GetElementType();
}
else
{
Editor.ItemType =type.GetGenericArguments()[ 0 ];
}

base.ResolveValueBinding( propertyItem );
}
```

Viewing all articles
Browse latest Browse all 4964

Trending Articles



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