开发者

Localize WPF PropertyGrid control from Denis Vuyka

开发者 https://www.devze.com 2023-03-17 23:12 出处:网络
I found this property control for WPF from Denis Vuyka, which does just what I want. The only problem is in localizing categories, display names and descriptions.

I found this property control for WPF from Denis Vuyka, which does just what I want.

The only problem is in localizing categories, display names and descriptions.

It uses attributes like these:

[Category("This is the category")]
[DisplayName("This is the display name")]
[Description("This is the description")]
public int littleTest { get; set; }

Does anybody know how I can get these strings into a resx file or the xaml file to be able to use a translation tool?

The attributes want to have constants so I can't get the strings vi开发者_如何学Goa resource manager.

Is there another way to have the PropertyGrid use localized strings?

0

精彩评论

暂无评论...
验证码 换一张
取 消