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

New Post: Using PropertyGrid with EnumDescConverter

$
0
0
As a workaround, you can replace the line
if( markupProperty != null )
with
if( ( markupProperty != null ) && ( markupProperty.PropertyType != typeof( object ) ) && !markupProperty.PropertyType.IsEnum )
in DescriptorPropertyDefinitionBase.UpdateAdvanceOptionsForItem().

Looks like the call to "markupProperty.Value" is not working for enums or objects.

Viewing all articles
Browse latest Browse all 4964

Trending Articles



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