Julien Lebosquain
960cb39414
Enable nullability in Controls.UnitTests ( #20373 )
1 month ago
Julien Lebosquain
64b63fa5d2
Fix common warnings ( #20311 )
2 months ago
Nikita Tsukanov
fedbb270c0
Make sure that tests inherit from ScropedTestBase ( #18690 )
10 months ago
Tom Edwards
d1cdb29ba0
Fixed overlay popups not automatically closing ( #16564 )
* Fixed overlay popups not automatically closing
* Fix overlay tooltip tests not actually generating overlay tooltips
Verify popup type whenever we verify that the popup is open
* Fixed overlay tooltips not being attached to the visual tree in tests
2 years ago
Max Katz
24914cc1ed
New ToolTipClosing, ToolTipOpening attached events and ToolTip.Opened, ToolTip.Closed ( #15493 )
* Add ToolTip.Opened and ToolTip.Closed
* Add ToolTipOpeningEvent and ToolTipClosingEvent attache events
* Add tests and small sample
* Docs
* Remove new Opened/Closed events
* Update tests
* Restore internal Closed
* Update tests
* Don't use coerce logic, use CancelRoutedEventArgs in Opening API
* Update samples API
* Fix incorrect routed event definition
---------
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
2 years ago
Tom Edwards
ff021aa5d9
Fix tooltips not closing when the pointer leaves the window ( #15312 )
2 years ago
Tom Edwards
80c4740759
Tooltips now open immediately if another tooltip is open, or closed within ToolTip.BetweenShowDuration ( #15259 )
Fixed glitches revealed by opening tooltips immediately
Test both popup and overlay tooltips
2 years ago
Tom Edwards
e947675113
Added ToolTip.ShowOnDisabled and ToolTip.ServiceEnabled ( #14928 )
ToolTipService now processes raw mouse input, to allow tooltips on disabled controls
Updated tests and control catalog
2 years ago
Steven Kirk
59d44e97bf
Don't hide tooltip when pointer is over it. ( #13565 )
* Add failing test for #8638 .
* Don't hide tooltip when pointer is over tooltip.
Fixes #8638
* Close the tooltip when pointer exits.
If the pointer has been moved from the control to the tooltip, then out of the tooltip to another control, ensure that the tooltip is closed.
* AdornedControl can be a standard CLR property.
2 years ago
Nikita Tsukanov
968e61f649
Fixed tests, reintroduced Post with SendOrPostCallback, removed JobRunner
3 years ago
Nikita Tsukanov
6a99ca39f9
Implemented dispatcher that works like WPF one
3 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
3 years ago
Steven Kirk
086c2c7e70
Don't apply styling in TopLevel ctor.
Applying styling in the constructor isn't a good idea as demonstrated by #8549..
Instead apply styling when showing a window, or if it's needed call `ApplyStyling` manually, e.g. in unit tests.
Fixes #8549
3 years ago
Max Katz
dc7e33e4f3
Add Should_Close_On_Null_Tip test
5 years ago
Dan Walmsley
5580e0f54b
add failing unit test.
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
Dan Walmsley
de87609de1
add failing unit test.
6 years ago
Max Katz
53cb9d266d
Add ToolTip :open pseudo class tests
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Andrey Kunchev
2288b7ab1d
add failing test for tooltip for issue #3188
6 years ago
Andrey Kunchev
60a596bd82
add another test for tooltip
6 years ago
Andrey Kunchev
d59d0904f4
add test for tooltip
6 years ago