forked from unoplatform/uno
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(listview): [WASM] [Skia] [macOS] Improve ListView measurement
Do item arrangement on the Arrange pass for the managed ListView implementation. This is important for consistency with WinUI in certain layout configurations.
- Loading branch information
1 parent
c100863
commit b0b2733
Showing
7 changed files
with
174 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using Windows.Foundation; | ||
|
||
namespace Windows.UI.Xaml | ||
{ | ||
/// <summary> | ||
/// Class that holds virtualization information. We do not create this class indiscriminately, but only | ||
// for containers that happen to be virtualizing. | ||
/// </summary> | ||
internal sealed class VirtualizationInformation | ||
{ | ||
/// <summary> | ||
/// Marks this as a container generated by, eg, a <see cref="Controls.Primitives.Selector"/>, rather than an element explicitly | ||
/// defined in xaml. | ||
/// </summary> | ||
public bool IsGeneratedContainer { get; set; } | ||
|
||
/// <summary> | ||
/// Marks this as a container defined in the root of an ItemTemplate, so that it can be handled appropriately when recycled. | ||
/// </summary> | ||
public bool IsContainerFromTemplateRoot { get; set; } | ||
|
||
public Rect Bounds { get; set; } | ||
} | ||
} |