Inline AutoSuggest Box,例如Windows 11搜索框
In Windows 11 OS, search textbox displays as below
Here the auto append text has a different foreground. How to do this? while typing in AutoSuggestBox, I need to show the suggestion as like in Win 11 OS.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Winui Github上有一个问题,询问此行为在这里。 Winui中没有内在的行为实现这一目标,但是您可以通过重新构成来实现这一目标。另外,社区成员创建了一种对该行为的控制,在此处发布。
There is an issue on the WinUI GitHub asking about this behavior here. There is no built in behavior achieving this in WinUI but you could achieve this by retemplating. Alternatively, a community member has created a control with that behavior and published it here.