CommunityToolkit
CommunityToolkit copied to clipboard
The Official Docs for the Community Toolkits
I think it was a mistake not to include notes on the breaking changes added in preview 4,, because many will jump from version 7 to. Version 8 and not...
--- **Issue moved from dotnet/docs#30548** - Please respond to @antoniohlopes. --- _From @antoniohlopes on Wednesday, August 10, 2022 1:07:18 AM_ ### Description Hi, I'm using CommunityToolkit.Mvvm version 7.1.2 in MAUI...
There is an error in the first example (line 12). It should be `span[1, 2] = 20;` instead of `span[2, 1] = 20;` Now the example throws an exception: System.IndexOutOfRangeException:...
In section 'Enabling and disabling commands', under second example, we have: [ObservableProperty] [NotifyCanExecuteChangedFor(nameof(SelectedUser))] //
I think the new source generators are great, but I keep forgetting what the allowable attributes are. Is there a documentation page specifically for the source generator syntax? If there...
``` 7.3 ``` ... should be: ``` 7.3 ``` --- #### Document details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID:...
The links in the first section on this line are broken (404): > Platform APIs: [INotifyPropertyChanged](https://learn.microsoft.com/en-us/dotnet/api/communitytoolkit.mvvm.componentmodel.INotifyPropertyChangedAttribute), [ObservableObject](https://learn.microsoft.com/en-us/dotnet/api/communitytoolkit.mvvm.componentmodel.ObservableObjectAttribute), [ObservableRecipient](https://learn.microsoft.com/en-us/dotnet/api/communitytoolkit.mvvm.componentmodel.ObservableRecipientdAttribute) The similar links in the "How to use them" section have the...
[The documentation](https://learn.microsoft.com/en-us/windows/communitytoolkit/mvvm/observableobject#handling-taskt-properties) for handing Task properties describes how to hook it up to XAML. For example is this safe? ``` csharp public class MyViewModel : ObservableObject { private Task? myData;...
Can an example of, how the `FullName` property mentioned in `OnPropertyChanged` would look like, be included in this page? I can't seem to find an example in the Sample App...
Since the Size property is mentioned here, it would be nice to provide the syntax here, rather than requiring the reader to go over and look at examples and/or Google...