zhaw-dnet2/Tasks/Lab12/TodoDetails/View/TodoDetailsPage.xaml.cs

12 lines
No EOL
230 B
C#

using TodoDetails.ViewModel;
namespace TodoDetails.View;
public partial class TodoDetailsPage : ContentPage
{
public TodoDetailsPage(TodoDetailsViewModel viewModel)
{
InitializeComponent();
BindingContext = viewModel;
}
}