Template10 icon indicating copy to clipboard operation
Template10 copied to clipboard

PageHeader.SecondaryCommands contents do not display

Open callummoffat opened this issue 11 years ago • 5 comments

I can't get the AppBarButton controls inside PageHeader.SecondaryCommands to display as of Nuget version 1.0.6. No evidence of their existence appears at all in the running app. Does anybody have any ideas?

callummoffat avatar Oct 17 '15 02:10 callummoffat

I have the same issue... also in MinimalTemplate

SimoneBWS avatar Oct 17 '15 06:10 SimoneBWS

Why in Generic.xaml (line 861) Grid named "OverflowContentRoot" has Visibility="Collapsed" ??? If we remove Visibility="Collapsed" PageHeader works fine with SecondaryCommands!

SimoneBWS avatar Oct 17 '15 08:10 SimoneBWS

You are right @SimoneBWS , default should be Visible and on PrimaryCommandsOnly VisualState is set to Collapsed. Probably when I was testing it I set it to Collapsed and forgot to set it back. I will send a PR (if you have already fixed, you could send the PR)

MichaelPetrinolis avatar Oct 17 '15 09:10 MichaelPetrinolis

@MichaelPetrinolis thanks for PR... This small bug stole 5 years of my life :)

SimoneBWS avatar Oct 17 '15 12:10 SimoneBWS

A new pull request has solved this issue, so I'm going to close it.

callummoffat avatar Oct 17 '15 20:10 callummoffat