Skip to content
New issue

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

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

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

No branches or pull requests

2 participants