Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs updated #87

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Made available in the `src\NET_8\` directory:
* `DateCalculator`
- MVVM Sample
- Xamarin Forms and .NET MAUI in a single solution
- WPF project to illustrate the reuse of ViewModels across UI frameworks
- WPF and WinUI projects to illustrate the reuse of ViewModels across UI frameworks
- WinForms project to illustrate the reuse of ViewModels across non-XAML UI framework too
- Shared business logic as a separate library project
- ViewModels implemented with [CommunityToolkit.Mvvm](https://www.nuget.org/packages/CommunityToolkit.Mvvm) NuGet package
Expand Down
2 changes: 2 additions & 0 deletions src/NET_8/DateCalculator/DateCalculator.Maui/MauiProgram.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using CommunityToolkit.Maui;
using CommunityToolkit.Maui.Behaviors;
using Microsoft.Extensions.Logging;

namespace DateCalculator
Expand All @@ -7,6 +8,7 @@ public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
DefaultBindableProperties.RegisterForCommand((EventToCommandBehavior.CommandProperty, EventToCommandBehavior.CommandParameterProperty));
var builder = MauiApp.CreateBuilder();
builder.UseMauiApp<App>()
.UseMauiCommunityToolkit()
Expand Down
1 change: 1 addition & 0 deletions src/NET_8/DateCalculator/DateCalculator.WinUI/Imports.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
global using DateCalculator.WinUI.Views;

global using Microsoft.UI.Xaml;
global using Microsoft.UI.Xaml.Data;