Hello, I have this property grid and want to localize the displayed header (DisplayName) using Binding but it is not possible because it is not a DependencyProperty. Then how can I achieve this header in the property grid to be localized/translated in similar way like in my user controls below?
<grids:CategoryEditor Category="General inputs" DisplayName="General inputs">
<grids:CategoryEditor.Properties>
<grids:CategoryEditorProperty PropertyName="Name" />
<grids:CategoryEditorProperty PropertyName="Label" />
</grids:CategoryEditor.Properties>
<grids:CategoryEditor.EditorTemplate>
<DataTemplate>
<Grid Grid.IsSharedSizeScope="True">
<ItemsControl>
<propertyGrid:GridTextBox Label="{translation:Translate PatternName}" PropertyPath="{Binding Children[Name].Name}" SelectedValue="{Binding Children[Name].Value, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" IsReadOnly="True"/>
<propertyGrid:GridTextBox Label="{translation:Translate PatternLabel}" PropertyPath="{Binding Children[Label].Name}" SelectedValue="{Binding Children[Label].Value, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
</ItemsControl>
</Grid>
</DataTemplate>
</grids:CategoryEditor.EditorTemplate>
</grids:CategoryEditor>
Thanks for the answer!