Skip to content

Instantly share code, notes, and snippets.

@juucustodio
Last active August 13, 2019 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juucustodio/1ae0e126c13a577c8c6da8ba135a9703 to your computer and use it in GitHub Desktop.
Save juucustodio/1ae0e126c13a577c8c6da8ba135a9703 to your computer and use it in GitHub Desktop.
Example how to use NavigationPage.TitleView in Xamarin.Forms applications. http://julianocustodio.com/titleview
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:DemoTitleView"
x:Class="DemoTitleView.MainPage">
<NavigationPage.TitleView>
<StackLayout Orientation="Horizontal">
<Image Source="https://goo.gl/xK8MUt"
WidthRequest="40"
HeightRequest="40"/>
<Label Text="Juliano Custodio" VerticalTextAlignment="Center"/>
</StackLayout>
</NavigationPage.TitleView>
</ContentPage>
@Ghebrehiywet
Copy link

   <NavigationPage.TitleView>
        <StackLayout Orientation="Horizontal">
            <Image Source="https://goo.gl/xK8MUt" 
                   WidthRequest="40" 
                   HeightRequest="40"/>
            <Label Text="Juliano Custodio" VerticalTextAlignment="Center"/>
        </StackLayout>
    </NavigationPage.TitleView>

NavigationPage.TitleView is displaying nothing for Arabic culture. any information to include

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment