Nikita Tsukanov
968b00ffb3
Merge pull request #4285 from rstm-sf/rstm-sf-patch-1
Fix typo in PointerReleasedEventMessage
6 years ago
Benedikt Schroeder
e87697f901
Allow combining TextTrimming and TextWrapping
6 years ago
Steven Kirk
6555a51f5a
Fix selection after deleting an item.
`SelectionModel` needs to subscribe to `CollectionChanged` on the items before `ItemsControl` in order for the selection to be correct when we come to setting the selected state.
Because `SelectionModel.Source` isn't subscribed during initialization in `ItemsChanged`, we also need to make sure we don't subscribe `ItemsControl` to the collection changes during initialization. Instead subscribe in `OnInitialized` (this requires a few tests to be rooted in order to be called).
Fixes #4293
6 years ago
Dariusz Komosiński
b326c7a647
Merge branch 'master' into rstm-sf-patch-1
6 years ago
Steven Kirk
73a2637eed
Added failing test for removing selected item with BeginInit.
6 years ago
danwalmsley
d2cc57a6bd
Merge pull request #4290 from AvaloniaUI/fixes/unable-to-bind-where-application-provides-datacontext
Fixes/unable to bind where application provides datacontext
6 years ago
Dan Walmsley
a5499a908d
remove usings.
6 years ago
Dan Walmsley
f1eae6ce12
correctly cast to IDataContextProvider.
6 years ago
Dan Walmsley
162583b2de
add a failing unit test.
6 years ago
Steven Kirk
5cf6662f74
Bind ListBox.SelectedItems again.
Was removed accidentally.
6 years ago
danwalmsley
aa78e41b66
Merge pull request #4289 from AvaloniaUI/fixes/toggleswitch-content-alignment
make toggle switch use verticalcontentalignment center by default.
6 years ago
Dan Walmsley
3fb97afa6d
make toggle switch use verticalcontentalignment center by default.
6 years ago
danwalmsley
1f8ab1909b
Merge pull request #4252 from AvaloniaUI/fixes/relative-panel
realtive panel no longer cares about the declaration order. and measu…
6 years ago
Dan Walmsley
1e716a7b3f
Merge branch 'fixes/relative-panel' of https://github.com/AvaloniaUI/Avalonia into fixes/relative-panel
6 years ago
Dan Walmsley
0001578f0c
remove regions.
6 years ago
danwalmsley
064df710ea
Merge branch 'master' into fixes/relative-panel
6 years ago
danwalmsley
48f1c14ab8
Merge pull request #4286 from FoggyFinder/relativePanelTypo
Fix typo & add missing attribute related to RelativePanel
6 years ago
Dan Walmsley
d087fd5c16
Merge remote-tracking branch 'origin/master' into fixes/relative-panel
6 years ago
Dan Walmsley
70c71263ae
fix nullable implementation.
6 years ago
Dan Walmsley
cdd8df383e
make utility methods internal.
6 years ago
Dan Walmsley
0c365b837d
fix relativepanel
6 years ago
Dan Walmsley
9f6c52711e
add more relativepanel tests.
6 years ago
Dariusz Komosiński
41bd8264cd
Merge pull request #4282 from AvaloniaUI/fixes/itemvirtualization-none-multiple-materialize
Make non-virtualized items be materialized only once.
6 years ago
FoggyFinder
1c8541c060
fix typo & add missing attribute
6 years ago
Dariusz Komosiński
7b66a1f60d
Merge branch 'master' into fixes/itemvirtualization-none-multiple-materialize
6 years ago
Rustam Sayfutdinov
c96f328d06
Fix typo in PointerReleasedEventMessage
6 years ago
Dariusz Komosiński
d3362157be
Merge branch 'master' into win32-sync-context-fix
6 years ago
Dan Walmsley
fca777bf91
fixes for relativepanel
6 years ago
Dan Walmsley
012a5c375f
Merge remote-tracking branch 'origin/master' into fixes/relative-panel
6 years ago
Steven Kirk
a42e8cbded
Nullable enable Avalonia.Input.
6 years ago
Steven Kirk
fa72f9f209
Make ncrunch work again.
6 years ago
Steven Kirk
68792668ad
Make items be materialized only once.
When virtualization was turned off in an `ItemsControl`, items were virtualized twice. on control creation. Fix that.
6 years ago
Steven Kirk
8176ef6648
Added failing test.
Items are being materialized twice when not using virtualization.
6 years ago
Steven Kirk
164b8dd6dc
Merge branch 'master' into refactor/recyclingdatatemplate
6 years ago
Steven Kirk
f84254c04b
Merge pull request #4218 from AvaloniaUI/feature/itemsrepeater-elementfactory
Ported ItemsRepeater element factories from WinUI
6 years ago
Steven Kirk
a8b7e87938
Added IRecyclingDataTemplate.
In #4218 we imported `IElementFactory` from WinUI which is broadly analogous to a recycling datatemplate for lists. In Avalonia this implement `IDataTemplate` in order to have a common base class for all types of data templates.
The problem with this is that `IDataTemplate` already had a `SupportsRecycling` property which is incompatible with the way recycling is implemented in `IElementFactory`. Instead, introduce an `IRecyclingDataTemplate` to signal data templates that support recycling.
6 years ago
Dariusz Komosiński
53d408b70f
Merge branch 'master' into fixes/3965-popup-modal-interaction
6 years ago
Steven Kirk
c421000997
Merge branch 'master' into feature/itemsrepeater-elementfactory
6 years ago
Steven Kirk
f0eafa70d0
Added LightDismissOverlayLayer.InputPassThroughElement.
Which implements something similar to UWP's `FlyoutBase.OverlayInputPassThroughElement`. With this feature, `Menu`/`MenuItem` can use `IsLightDismissEnabled="True"` fixing #3965 for top-level menus.
6 years ago
Nikita Tsukanov
efd5bbeaa9
Added an incantation nobody probably even remembers about anymore
6 years ago
Nikita Tsukanov
9309d779c7
Call SetWaitNotificationRequired
6 years ago
Steven Kirk
226c57b7d7
Ensure that Open is called on main menu.
6 years ago
Steven Kirk
dd563805cd
Nullable enable menu-related classes.
6 years ago
Nikita Tsukanov
1ae7500691
Fix X11 screens implementation for some old/weird setups
6 years ago
Steven Kirk
714b0740db
Make leak tests pass again.
6 years ago
Steven Kirk
c45436dff1
Added Popup.OverlayDismissEventPassThrough.
To control whether dismiss events are passed through from the overlay layer to the underlying window content.
6 years ago
Dariusz Komosiński
00efafcb70
Merge pull request #4254 from MarchingCube/fix-fb-crash-zero-size
Fix NREs that occur when rendering to 0x0 framebuffer
6 years ago
Steven Kirk
b2a7339b4b
Added Popup.IsLightDismissEnabled property.
And deprecate `StaysOpen` in favor of this property.
6 years ago
Dariusz Komosiński
038a2d58f6
Merge branch 'master' into fix-fb-crash-zero-size
6 years ago
danwalmsley
f1a3b28af5
Merge pull request #4255 from MarchingCube/fix-track-thumb-arrange
Fix hardcoded thumb min length
6 years ago