在以下代码中,应用栏呈现时没有 AppBarButton 标签文本。仅当单击汉堡按钮并展开栏时才会显示文本。最初如何使文本与图标一起显示?
CommandBar cb2 = new CommandBar();
AppBarButton b3 = new AppBarButton();
b3.Icon = new SymbolIcon(Symbol.Help);
b3.HorizontalAlignment = HorizontalAlignment.Left;
b3.Label = "HELP";
cb2.PrimaryCommands.Add(b3);
BottomAppBar = cb2;