File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ ReactiveUI Source Generators automatically generate ReactiveUI objects to stream
2424- ` [IViewFor(nameof(ViewModelName))] `
2525- ` [RoutedControlHost("YourNameSpace.CustomControl")] `
2626- ` [ViewModelControlHost("YourNameSpace.CustomControl")] `
27+ - ` [BindableDerivedList] ` Generates a derived list from a ReadOnlyObservableCollection backing field
2728
2829### Compatibility Notes
2930- For ReactiveUI versions ** older than V19.5.31** , all ` [ReactiveCommand] ` options are supported except for async methods with a ` CancellationToken ` .
@@ -521,6 +522,18 @@ public partial class MyReactiveControl : UserControl
521522}
522523```
523524
525+ ### Usage ReadOnlyObservableCollection
526+
527+ ``` csharp
528+ using ReactiveUI .SourceGenerators ;
529+
530+ public partial class MyReactiveClass
531+ {
532+ [BindableDerivedList ]
533+ private readonly ReadOnlyObservableCollection <string > _myList ;
534+ }
535+ ```
536+
524537## Platform specific Attributes
525538
526539### WinForms
You can’t perform that action at this time.
0 commit comments