如何创建新栏?
How to create the new bar?
如图所示,Windows 10 mobile 在底部使用了很多这些条。它有图标(在图片中:"Mailbox"、"Plus" 标志等),上面是一些选项("Einstellungen" 等),当您单击三个点时会出现.
但是在 C# 中它们的一般形式看起来如何?
我翻遍了整个互联网,但我仍然不知道你是如何创建这些栏的。
您正在寻找 CommandBar
class,它位于 Page.BottomAppBar
中,特别是检查它的属性,例如 PrimaryCommands
和 SecondaryCommands
。
您应该在 CommandBar
中使用一个特殊的 AppBarButton
s,它们是 classic 按钮但具有特殊的渲染,要创建它您只需设置 Icon
和 Label
.
如图所示,Windows 10 mobile 在底部使用了很多这些条。它有图标(在图片中:"Mailbox"、"Plus" 标志等),上面是一些选项("Einstellungen" 等),当您单击三个点时会出现. 但是在 C# 中它们的一般形式看起来如何?
我翻遍了整个互联网,但我仍然不知道你是如何创建这些栏的。
您正在寻找 CommandBar
class,它位于 Page.BottomAppBar
中,特别是检查它的属性,例如 PrimaryCommands
和 SecondaryCommands
。
您应该在 CommandBar
中使用一个特殊的 AppBarButton
s,它们是 classic 按钮但具有特殊的渲染,要创建它您只需设置 Icon
和 Label
.