You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-5
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,19 @@
2
2
3
3
[Prism.Avalonia](https://github.com/AvaloniaCommunity/Prism.Avalonia) provides your [Avalonia](https://avaloniaui.net/) apps with [Prism framework](https://github.com/PrismLibrary/Prism) support so you can navigate and perform dependency injection easier than before.
Prism.Avalonia's logic and development approach is similar to that of [Prism for WPF](https://github.com/PrismLibrary/Prism/) so you can get started right away with Prism for Avalonia!
11
13
14
+
## Changes
15
+
16
+
Be sure to check out the [ChangeLog.md] and [Upgrading-to-Avalonia-11.md] when upgrading your NuGet packages
17
+
12
18
## Install
13
19
14
20
Add the DryIoc package to your project:
@@ -53,7 +59,7 @@ public class App : PrismApplication
This document outlines the path to upgrading your projects from Avalonia v0.10.18 to v11.xx. Please read over this document and suggest changes to help improve the documentation. After all, we learn from one another.
4
+
5
+
Check out Avalonia's [Breaking Changes](https://github.com/AvaloniaUI/Avalonia/wiki/Breaking-Changes) wiki page for more information
6
+
7
+
## 11.0 Preview 5
8
+
9
+
* NEW: IDialogWindow now implements `WindowClosingEventArgs`.
10
+
* See, [Issue #9524](https://github.com/AvaloniaUI/Avalonia/issues/9524), [PR #9715](https://github.com/AvaloniaUI/Avalonia/pull/9715)
11
+
* This affects `IDialogWindow` implementation of `public event EventHandler<WindowClosingEventArgs>? Closing;`
12
+
* Deprecation of redundant interfaces.
13
+
* See, [PR #9553](https://github.com/AvaloniaUI/Avalonia/pull/9553)
14
+
* I.E. `IAvaloniaObject` -> `AvalonObject`, and more.
15
+
* Avalonia.ReactiveUI.Events.
16
+
* See, [PR #5423](https://github.com/AvaloniaUI/Avalonia/pull/5423)
17
+
* Themes: Both Avalonia.Themes.Fluent and Avalonia.Themes.Simple (formally, Default) are not a part of the main Avalonia nuget package anymore. You need to add a PackageReference to include either of these packages or both. For more details, see #5593
18
+
19
+
### Known Issues
20
+
21
+
*[WindowNotificationManager Pop-Ups are no longer working in 11 Preview 5](https://github.com/AvaloniaUI/Avalonia/issues/10216)
22
+
* Themes in sample are showing up cloudy
23
+
* Selected ListView item still appears after clearing the List
24
+
***STATUS:**_Needs reported_
25
+
***Reproduce:**
26
+
* Add items to ListView to fill 2+ pages
27
+
* Scroll down to select item
28
+
* Clear list
29
+
* Resize window to show area previous now shown
30
+
***Result:**
31
+
* Selected item still appears in list despite items removed from collection
32
+
33
+
### Themes
34
+
35
+
When using Fluent theme, you no longer has a `Mode` attribute.
36
+
37
+
```xml
38
+
<!-- New -->
39
+
<FluentTheme />
40
+
41
+
<!-- Old -->
42
+
<FluentThemeMode="Light" />
43
+
```
44
+
45
+
46
+
## 11.0 Preview 4
47
+
48
+
### DataTemplates
49
+
50
+
DataTemplates now require a `DataType` to be defined. This actually improves intellisense of your XAML and loading times with MVVM.
51
+
52
+
As a workaround for ListViews, you can use the `ItemTemplate` which does not require the definition of a `DataType`.
0 commit comments