mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-05-20 08:26:38 +02:00
32 lines
838 B
C#
32 lines
838 B
C#
|
using TINK.ViewModel;
|
|||
|
using Xamarin.Forms;
|
|||
|
using Xamarin.Forms.Xaml;
|
|||
|
|
|||
|
namespace TINK.View
|
|||
|
{
|
|||
|
[XamlCompilation(XamlCompilationOptions.Compile)]
|
|||
|
public partial class MasterPage : ContentPage
|
|||
|
{
|
|||
|
public ListView ListView;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Master page view model
|
|||
|
/// </summary>
|
|||
|
private MasterPageViewModel m_oMasterPageViewModel;
|
|||
|
|
|||
|
/// <summary> Delegate to perform navigation between detail pages. </summary>
|
|||
|
public ShowPageDelegate ShowPageViewService { set => m_oMasterPageViewModel.ShowPageViewService = value; }
|
|||
|
|
|||
|
public MasterPage()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
|
|||
|
m_oMasterPageViewModel = new MasterPageViewModel();
|
|||
|
|
|||
|
|
|||
|
|
|||
|
BindingContext = m_oMasterPageViewModel;
|
|||
|
ListView = MenuItemsListView;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|