Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

change color barBackgroundColor from MasterDetailPage

$
0
0

I would like to know if it is possible to change the color of the "barBackgroundColor" of the "navigationPage", what happens is that I have a page where it has a list of colors and when you choose a color, it sends that color to the page of MasterDetail but nothing happens:,Do I need that it runs in real-time? a task?

MasterDetail.xaml

 <MasterDetailPage.Master>
        <local:MenuPage x:Name="ContePageMenu"/>
      </MasterDetailPage.Master>
      <MasterDetailPage.Detail>
        <NavigationPage x:Name="Navigator"  BarBackgroundColor="{DynamicResource ColorAzul}" BarTextColor="{DynamicResource ColorBlanco}">
          <x:Arguments>
            <local:ListaPedidosPage/>
          </x:Arguments>
        </NavigationPage>
      </MasterDetailPage.Detail>

Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>