又到周末了,根据官网文档,接着控件篇。
1.ToolTip
用法:
<ToolTip.Tip>
<StackPanel>
<TextBlock >ToolTip</TextBlock>
<TextBlock >A control which pops up a hint when a control is hovered</TextBlock>
</StackPanel>
</ToolTip.Tip>
效果:
2.Notifications
用法:
NotificationManager.Show(new NotificationViewModel(NotificationManager) { Title = "Hey There!", Message = "Did you know that Avalonia now supports Custom In-Window Notifications?" });
效果:
就到这里了
————————————————
版权声明:本文为CSDN博主「jason成都」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/jinyuttt/article/details/107437441