Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Message boxes with parameters for the text #189

Open
WillPittenger opened this issue Sep 16, 2024 · 1 comment
Open

Message boxes with parameters for the text #189

WillPittenger opened this issue Sep 16, 2024 · 1 comment

Comments

@WillPittenger
Copy link

Because of what's involved in creating message boxes using this API, I started creating static readonly instances for various situations. Unfortunately, that robbed me of a way to change the text slightly. So I might have used text like "You were editing “{0}” and made changes. Are you sure you want to discard those changes?". Is there a way to have both the static instance and the parameters?

@CreateLab
Copy link
Member

I try to avoid any static in my codebase, but if it brings more profit for community, i think it'll be good decision

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants