dotnet
dotnet copied to clipboard
.NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and par...
### Overview Declaring all dependent properties on the `[ObservableProperty]` can quickly become confusing. I think it would be easier/clearer if the dependencies could be declared using an attribute directly on...
### Describe the bug Community Toolkit MVVM Doesn't Support C# Version 8 and Does Only Work with C# Version 9 and Above at the time of writing, In this case...
### Overview At the moment there is no library out there that allows you to create bindings between your `ViewModels` and your iOS / Android views (UIViewController / Fragments) with...
### Overview Today, `MemberNotNull` and `MemberNotNullWhen` attributes are not forwarded from backing fields to observable properties. This would be useful for observable properties that indicate that other properties are valid...
### Overview Add two new API ### API breakdown ```csharp [NotifyCanExecuteChangedFrom(nameof(T))] [PropertyCallMethod(name(T))] ``` ### Usage example We often encounter a scene, I think better way is "NotifyCanExecuteChangedFrom" rather than "NotifyCanExecuteChangedFor",...
I made a simple INPC property like so: ```csharp [ObservableProperty] private bool _IsReadOnly; ``` As expected, I can now bind to `IsReadOnly` in XAML. Great! However, VS now shows me...
### Describe the bug I started noticing my buttons acting weirdly when trying to disable via bindings where in my current project even after setting IsEnabled binding value to false...
### Description I am performing it on Net Maui, Mac and iOS, they fail, on Android it usually works. On windows I did not test it. I will copy the...
### Overview A `StringBuilder`-like api, but for spans. ### API breakdown ```cs public ref struct SpanBuilder { Span span; int length; public SpanBuilder(Span storage) { span = storage; } public...
### Describe the bug I just read the new [blog post](https://devblogs.microsoft.com/dotnet/announcing-the-dotnet-community-toolkit-800/) about CommunityToolkit 8.0 being released (congrats!) and followed the link that brought me here to the [CommunityToolkit/dotnet](https://github.com/CommunityToolkit/dotnet) repo. The...