Comments (4)
In WPF the Items type is ItemsCollection.
ItemCollection : CollectionView, IList, ICollection,
from avalonia.
The Items
collection in WPF is a different thing: the equivalent in WPF is ItemsSource
which is an IEnumerable
.
from avalonia.
ItemsControl needs to work with finite enumerables anyway, so we might as well use IList there
from avalonia.
We now have ItemsSourceView
in the tree (ported from WinUI). We should use this in ItemsControl
to handle this issue. Unfortunately this will result in breaking changes (templates will need to bind to the ItemsSourceView
instead of Items
) so going to fix this as part of other breaking changes in #3388.
from avalonia.
Related Issues (20)
- 2-Way Binding to IObservable-like object (+XAML support) HOT 1
- Creating Popup In Code-behind HOT 1
- IBitmap is internal but the docs say it's public HOT 4
- Invoke on UI thread with `Dispatcher` causes `PlatformNotSupportedException` in `StartWithClassicDesktopLifetime`
- Make Avalonia not rely on runtime marshaling
- add support for Rotate3DTransform in TransformOperations.Parse HOT 1
- ListBox deselects selected item when calling Move() on bound ObservableCollection
- TextBox cannot input any characters in the mobile browser Edge HOT 9
- ContextMenu HOT 3
- DataGrid editing does not change Background Color and unreadable in Dark Mode HOT 1
- `WinFormsAvaloniaControlHost` throws an exception in designer
- NumericUpDown tab index ignored on Windows HOT 1
- Menu Item InputGesture does not display when using MVVM HOT 1
- Clicking the title bar with the mouse causes frame drops and freezes HOT 3
- WindowState does not reflect correct state on Windows HOT 8
- When dragging a file onto the App window
- Context menu keyboard shortcut ignored until menu is visible at least once (Windows) HOT 2
- ILauncher is not working in browser HOT 1
- Avalonia.Browser 11.0.11 UP 11.1.0-beta2 ERROR HOT 3
- Name table parsing is incorrect HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avalonia.