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

Commented Issue: PropertyGrid Reset Value [22239]

$
0
0
Based on discussion https://wpftoolkit.codeplex.com/discussions/653415

The PropertyGrid Reset Value is not available in the Community edition. It should.
Comments: ** Comment from web user: BoucherS **

This will be fixed in v3.1.

In the meantime, you can go in file Xceed.Wpf.Toolkit/PropertyGrid/Implementation/PropertyGrid.cs,
in method UpdateContainerHelper()
and add the 2 following checks :
a)
if( SelectedObject != null )
{
_containerHelper = new ObjectContainerHelper( this, SelectedObject );
( ( ObjectContainerHelper )_containerHelper ).GenerateProperties();
}
b)
if( _containerHelper != null )
{
_containerHelper.ChildrenItemsControl = childrenItemsControl;
}

in method EndInit()
add the following check :
c)
if( _containerHelper != null )
{
_containerHelper.OnEndInit();
}


Viewing all articles
Browse latest Browse all 4964

Trending Articles



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