Closed workgroupengineering closed 9 months ago
Workaround
<ui:CommandBar x:Name="MyBar"
HorizontalAlignment="Right"
Grid.Column="4">
<ui:CommandBar.PrimaryCommands>
<ui:CommandBarButton/>
</ui:CommandBar.PrimaryCommands>
<ui:CommandBar.SecondaryCommands>
<ui:CommandBarButton/>
</ui:CommandBar.SecondaryCommands>
</ui:CommandBar>
Describe the bug Throwed NRE add PrimaryCommands.Add.
Steps
Add following xaml at your view
On code-behind add code like this:
Screenshots If applicable, add screenshots to help explain your problem.
Desktop/Platform (please complete the following information):
Additional context Add any other context about the problem here.