HandyControl icon indicating copy to clipboard operation
HandyControl copied to clipboard

Growl展示/消失的方式、超时消失、自定义图标等功能增强

Open my522cn opened this issue 3 years ago • 2 comments

  1. 现在Growl只能从右到左滑入展示,从下到上消失。建议参考PPT中的动画增加展示和消失的动画效果,例如任意方向滑入、渐入渐出等。
  2. 建议增加自定义超时展示,超时后消失Growl.Error(“xxx”, timeout: xxx)
  3. 建议增加自定义图标

如下是一个比较好的参考: https://github.com/Federerer/Notifications.Wpf

my522cn avatar Dec 24 '21 08:12 my522cn

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

Symbai avatar Dec 24 '21 08:12 Symbai

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 !

Yopler avatar Jan 03 '22 08:01 Yopler