wpfui
wpfui copied to clipboard
Add InfoBar control
This adds an adaption of the InfoBar control.
Pull request type
Please check the type of change your PR introduces:
- [ ] Update
- [ ] Bugfix
- [x] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
Supported scenarios
- four severity levels
Information
(default),Success
,Warning
,Error
. These automatically color the background and symbol icon, and choose an appropriate glyph. -
Title
(bold) andMessage
(more detailed text) properties - a close button, which can optionally be turned off with
IsClosable
Currently not supported
- custom background color
- custom symbol icon
- action button
- content wrapping
- custom content (e.g., progress bar)
- canceling close
Hey @chucker, thank you for your contribution!
The text is not centered and looks misaligned.