Inline AutoSuggest Box,例如Windows 11搜索框

发布于 2025-01-22 05:28:58 字数 277 浏览 4 评论 0原文

在Windows 11 OS中,搜索文本框显示如下

”“在此处输入图像说明”

此处自动附加文本具有不同的前景。如何做?在AutoSuggest Box中打字时,我需要像Win 11 OS一样显示该建议。

In Windows 11 OS, search textbox displays as below

enter image description here

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦里°也失望 2025-01-29 05:28:58

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文