Set the page title binding viewmodel via XAML

I want to binding the page title to the viewmodel but I don't find the way.

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
                    xmlns:viewmodels="clr-namespace:MyNamespace.Viewmodels.Configuration;assembly=MyNamespace"
            xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">

    <ContentPage.Resources>
        <ResourceDictionary>
            <viewmodels:ConfigurationViewmodel x:Key="viewModel" />
        </ResourceDictionary>
    </ContentPage.Resources>

    <ContentPage.Title>
        // Binding title here!!        
    </ContentPage.Title>

    <...>
</ContentPage>

Best Answer

Answers

Sign In or Register to comment.