又到周末了,根据官网文档,接着控件篇。

 

用法:

 <ToolTip.Tip>
         <StackPanel>
                        <TextBlock >ToolTip</TextBlock>
                        <TextBlock >A control which pops up a hint when a control is hovered</TextBlock>
                    </StackPanel>
    </ToolTip.Tip>
效果:

一起学习Avalonia(八)

2.Notifications

用法:

NotificationManager.Show(new NotificationViewModel(NotificationManager) { Title = "Hey There!", Message = "Did you know that Avalonia now supports Custom In-Window Notifications?" });

效果:

一起学习Avalonia(八)

就到这里了

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2021-05-29
  • 2021-06-01
  • 2021-07-18
猜你喜欢
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案