HandyControl
HandyControl copied to clipboard
Growl展示/消失的方式、超时消失、自定义图标等功能增强
- 现在Growl只能从右到左滑入展示,从下到上消失。建议参考PPT中的动画增加展示和消失的动画效果,例如任意方向滑入、渐入渐出等。
- 建议增加自定义超时展示,超时后消失
Growl.Error(“xxx”, timeout: xxx)
- 建议增加自定义图标
如下是一个比较好的参考: https://github.com/Federerer/Notifications.Wpf
I believe you can already set a custom icon. Unfortunately it has to be a Geometry which makes it impossible to show a multi colored icon for example or an image. It would be better if the icon uses a contentpresenter.
https://github.com/HandyOrg/HandyControl/blob/91c10d0b6410e4c5ceffc87e30049d86dcb6deed/src/Shared/HandyControl_Shared/Controls/Growl/Growl.cs#L173-L174
Hi 🖐, I am not sure, I understand correctly your request.
You can change some parameters of the Growl using the GrowlInfo class, see : https://github.com/HandyOrg/HandyControl/discussions/1062#discussioncomment-1757698
Of course some of the feature you ask cannot be available !