
hello,
does anybody know how to localize the "description"-part in propertygrid?
the object i want to edit via propertygrid has a property as follows..i've already realized to localize the name of the property via
and a template:
that works fine.
but how to localize the description? i have no idea..
thanks in advance.
does anybody know how to localize the "description"-part in propertygrid?
the object i want to edit via propertygrid has a property as follows..
[Description("the description")]
public virtual String MyProperty
<propgrid:PropertyGrid.PropertyEditors>
<!-- localized Name -->
<propgrid:PropertyEditor PropertyName="MyProperty" NameTemplate="{StaticResource PropertyNameTemplateMyProperty}" />
</propgrid:PropertyGrid.PropertyEditors>
<DataTemplate x:Key="PropertyNameTemplateMyProperty">
<TextBlock Margin="2,0,0,0" VerticalAlignment="Center" Text="{Resx ResxName=MyProject, Key=PropertyEditor.Property.MyProperty}" />
</DataTemplate>
but how to localize the description? i have no idea..
thanks in advance.