Steven Kirk
d2af884aed
Added a failing test for #4272 .
6 years ago
Dan Walmsley
037e63d9ab
add unit test for specific scenario where datacontext changes tip before remvoed from visual tree.
6 years ago
Dan Walmsley
493b6ab29e
add failing unit test.
6 years ago
Benedikt Schroeder
3af4e65575
Remove redundant tests
6 years ago
Benedikt Schroeder
c3f01b696b
Make sure we always hit the outer sides at the start/end
6 years ago
Dan Walmsley
4aa51e80da
fix more tests.
6 years ago
Dan Walmsley
87c326a8fd
fix mocks.
6 years ago
Dan Walmsley
2ad4002686
fix unit tests.
6 years ago
Dan Walmsley
0148106f54
Seperate RenderScaling from DesktopScaling.
6 years ago
Benedikt Schroeder
c5edf9bc5d
Initial
6 years ago
Dariusz Komosinski
c414e26cf6
Ensure that TryParse won't throw.
6 years ago
Nikita Tsukanov
6c89473ca1
Fixed tests
6 years ago
Nikita Tsukanov
d355007c57
Extracted runtime XAML loader to a separate package
6 years ago
Andrey Kunchev
c37144b596
add failing unit tests for #4306
6 years ago
Steven Kirk
0301d80c30
Added failing test for removing selected item with BeginInit.
6 years ago
Steven Kirk
41831066c2
Revert "Fix selection after deleting an item."
6 years ago
Dan Walmsley
1c099b6e8c
add failing unit tests for cases.
6 years ago
Dan Walmsley
de87609de1
add failing unit test.
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
Steven Kirk
73a2637eed
Added failing test for removing selected item with BeginInit.
6 years ago
Dan Walmsley
a5499a908d
remove usings.
6 years ago
Dan Walmsley
162583b2de
add a failing unit test.
6 years ago
Dan Walmsley
9f6c52711e
add more relativepanel tests.
6 years ago
FoggyFinder
1c8541c060
fix typo & add missing attribute
6 years ago
Steven Kirk
8176ef6648
Added failing test.
Items are being materialized twice when not using virtualization.
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
Steven Kirk
226c57b7d7
Ensure that Open is called on main menu.
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
Steven Kirk
b2a7339b4b
Added Popup.IsLightDismissEnabled property.
And deprecate `StaysOpen` in favor of this property.
6 years ago
Steven Kirk
529b279549
Fix failing popup tests.
6 years ago
Dan Walmsley
b64ca7d5b7
add more unit tests for relative panel
6 years ago
Benedikt Schroeder
40711f8597
Fix wrapping test
6 years ago
Benedikt Schroeder
4e53adb9d4
Fix MeasureText for empty glyph clusters
6 years ago
Dan Walmsley
4b9cf819ba
acceptable relativepanel implementation.
6 years ago
Dan Walmsley
df1bfd60b5
skip test.
6 years ago
Dan Walmsley
835e87e8cd
add a failing relative panel test.
6 years ago
Dan Walmsley
be55373811
add some unit tests and tidy relative panel
6 years ago
Benedikt Schroeder
bc9926014f
Fix typeface fallback for embedded fonts
Fix text wrapping for multiple corner cases
6 years ago
Jeremy Koritzinsky
5fb7fe3c32
Fix Discovering properties and indexers on parent interfaces of an interface type.
Fixes #4234
6 years ago
Dan Walmsley
ccd5a92725
apply fix to timepicker tests also.
6 years ago
Steven Kirk
f1e4a6a50a
Register a font manager.
`DatePickerTests` are proving to be flaky, register the services that are reported missing when they fail.
6 years ago
Maksym Katsydan
6f7dac83d1
Add focus-visible support with tests
6 years ago
Steven Kirk
8d2af50808
Add failing tests for #3552 .
6 years ago
Steven Kirk
ed43a5753a
Handle BindingNotifications in LogicalNotNode.
Fixes handling binding notifications in `LogicalNotNote`. Previously if a `!` was placed in a binding that produced a `BindingNotification`, then `LogicalNotNode` tried to convert the `BindingNotification` to `bool` and failed, throwing an exception. Handle this properly.
6 years ago
amwx
c9a4543d02
Skip failing time picker test
6 years ago
Benedikt Schroeder
c9a98da01a
Fix mandatory break
6 years ago
Benedikt Schroeder
f211e3c724
Disable generators
Remove vertical tab and form feed
6 years ago
Benedikt Schroeder
f377172947
Introduce line break tests
6 years ago