Hi,
Concerning the ToString() value that doesn't change when the properties are changed : Please have a look at this discussion : http://wpftoolkit.codeplex.com/discussions/452722.
You could do something like that :
Concerning the ToString() value that doesn't change when the properties are changed : Please have a look at this discussion : http://wpftoolkit.codeplex.com/discussions/452722.
You could do something like that :
<xctk:PropertyGrid x:Name="_propertyGrid">
<xctk:PropertyGrid.EditorDefinitions>
<xctk:EditorTemplateDefinition TargetProperties="EditorFont">
<xctk:EditorTemplateDefinition.EditingTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<!-- When using SelectedObject[s], the DataContext will be the PropertyItem. Bind to the "Value" property. -->
<TextBlock Text="{Binding Value.Family}" />
<TextBlock Text=", " />
<TextBlock Text="{Binding Value.FontSize}" />
<TextBlock Text=", " />
<TextBlock Text="{Binding Value.Weight}" />
<TextBlock Text=", " />
<TextBlock Text="{Binding Value.Style}" />
<TextBlock Text=", " />
<TextBlock Text="{Binding Value.Stretch}" />
</StackPanel>
</DataTemplate>
</xctk:EditorTemplateDefinition.EditingTemplate>
</xctk:EditorTemplateDefinition>
</xctk:PropertyGrid.EditorDefinitions>
</xctk:PropertyGrid>