[AppBarButton][Material] DataContext is not propagated to AppBarButton's Content when using the MaterialAppBarButton style #336
Labels
kind/bug
Something isn't working
triage/untriaged
Indicates an issue requires triaging or verification.
Current behavior
On iOS and Android, having a a ViewModel as the DataContext of the current Page and the following XAML results in a blank AppBarButton. The DataContext is not passed along to the Content. Removing the
Ripple
control from the template of the MaterialAppBarButton style results in the TextBlock displaying the proper value.Expected behavior
TextBlock should have the proper DataContext and should display as the Content of the AppBarButton
The text was updated successfully, but these errors were encountered: