We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For ToolTip.
public enum NicType { [Description("xxx")] Ethernet, [Description("xxx")] Wlan, [Description("xxx")] Vm, [Description("xxx")] Ohter }
<Label ToolTip="{Binding NicType, Converter={StaticResource EnumDescriptionConverter}}" />
Further, a generic MemberDescriptionConverter can be implemented, supporting not only Enum, but any member modified by the Description attribute.
MemberDescriptionConverter
Description
The text was updated successfully, but these errors were encountered:
I‘m not sure if such a converter already exists. I‘ll check it.
Sorry, something went wrong.
No branches or pull requests
For ToolTip.
Further, a generic
MemberDescriptionConverter
can be implemented, supporting not only Enum, but any member modified by theDescription
attribute.The text was updated successfully, but these errors were encountered: