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

New Post: PropertyGrid with object implementing ICustomTypeConverter to add extra properties

$
0
0
Hi,

Using your TestClass, here is the code I used :
<Grid>
      <xctk:PropertyGrid x:Name="_propertyGrid" />
</Grid>

 public MainWindow()
    {
      InitializeComponent();

      _propertyGrid.SelectedObject = new TestClass()
      {
        Name = "Testing Name",
        SubInfo = new TestSubClass()
        {
          ExtendedField = "Testing Extended field"
        }
      };
    }
The propertyGrid loads normally without any error. Version used was Toolkit v2.5 under Windows 8.1.
Please create a sample project with the error,
Thanks.

Viewing all articles
Browse latest Browse all 4964

Trending Articles



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