Using Xceed PropertyGrid

I am starting in C # / WPF and trying to use the Xceed PropertyGrid. An example is shown on their website:

<xctk:PropertyGrid x:Name="_propertyGrid" Width="450" Margin="10" AutoGenerateProperties="False"> <!-- Only the following properties will be displayed in the PropertyGrid --> <xctk:PropertyGrid.PropertyDefinitions> <xctk:PropertyDefinition Name="FirstName" /> <xctk:PropertyDefinition Name="FavoriteColor" /> <xctk:PropertyDefinition Name="PetNames" /> </xctk:PropertyGrid.PropertyDefinitions> </xctk:PropertyGrid> 

What I connected to my xaml. I see a PropertyGrid View, but I do not see any property definitions. I feel like I'm missing something basic? Should I add anything to the code?

+8
wpf propertygrid xceed
source share
1 answer

I found a solution here: http://wpftoolkit.codeplex.com/discussions/353017

Alternatively, you can download the source from the Xceed website. This is due to examples using the grid property, which also helped me. The trick is assigned to the PropertyGrid 'SelectedObject'.

+9
source share

All Articles