0

I have a custom winforms control (inherits from Component) that has some strings displayed to the user.

How can I make these strings accessible so the user of the component can customize them, and - if he wants - easily put them into a resource for localization?

I thought of exposing them as browsable properties so they can be customized, but I am not sure if this is the "right thing to do".

1 Answer 1

2

Just make them [Localizable(true)] properties and everything is taken care of.

Note that [Browsable(true)] is the default.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.