danwalmsley
7d7c910346
Merge pull request #3797 from AvaloniaUI/fixes/3796-set-window-size
More window/popup sizing fixes.
# Conflicts:
# src/Avalonia.Layout/LayoutHelper.cs
7 years ago
danwalmsley
114f77e1c0
Merge pull request #3787 from AvaloniaUI/fixes/3784-large-window-content
Fix Window/PopupRoot arrange.
# Conflicts:
# src/Avalonia.Controls/Window.cs
# tests/Avalonia.Controls.UnitTests/WindowTests.cs
# tests/Avalonia.Layout.UnitTests/FullLayoutTests.cs
# tests/Avalonia.UnitTests/MockWindowingPlatform.cs
7 years ago
Steven Kirk
8e452a1e4f
Merge pull request #3557 from AvaloniaUI/fixes/3426-selecting-disabled-control
Don't select disabled controls with keyboard
7 years ago
Steven Kirk
0a80b02539
Merge pull request #3444 from MarchingCube/fix-selecting-items-control-init
Fix SelectingItemsControl init behavior
7 years ago
Steven Kirk
55e43fadbe
Merge pull request #3427 from MarchingCube/improve-togglebutton
Implement ToggleButton events
7 years ago
danwalmsley
41bf8e590b
Merge pull request #3285 from AvaloniaUI/hackfix-rangebase-validatedouble
Hackfix for #3284
7 years ago
Steven Kirk
11f16d313e
Merge pull request #3186 from Gillibald/fixes/3180
Fix adding TabItem with IsSelected = true
7 years ago
Steven Kirk
45bd271c93
Merge pull request #3177 from AvaloniaUI/fixes/3148-virtualization-out-of-range
Make sure ItemsPresenter is updated before selection change.
7 years ago
Steven Kirk
7f923ac066
Merge pull request #3140 from donandren/issues/3089
fix for selecteditem/index/itmes for listbox/combobox set before initialization
7 years ago
danwalmsley
86a1faff9a
Merge pull request #3096 from AvaloniaUI/fixes/3094-focusable-hang
Fix hang in ItemsControl.MoveSelection
7 years ago
Steven Kirk
8093716a36
Added tests for selection after initialization.
7 years ago
Benedikt Schroeder
9a6cda66bc
Add failing test for #2987
7 years ago
Steven Kirk
33cf418779
Added failing test for #2969 .
7 years ago
Steven Kirk
6f44dfac5b
Added unit test for #2952 .
7 years ago
Steven Kirk
d7357ec876
Remove ContentControlMixin.
And implement the functionality in the content controls themselves. `ContentControlMixin` was too complex and even with its complexity had bugs (such as in #2821 ). By moving the functionality to the content controls there is some repeated code but it's much more straightforward.
7 years ago
Steven Kirk
8ebe1c1288
Added failing test for #2901 .
After the selected item is removed from a `ListBox` with `AlwaysSelected == true`, the container for the newly selected item does not get `:selected` applied.
7 years ago
Nikita Tsukanov
07ed194c9d
Review comments
7 years ago
Steven Kirk
c65b5de959
Move setting popup TemplatedParent...
...out of `PopupRoot` and into `Popup`. Fixes styling problems in `Popups` hosted in control templates.
7 years ago
Steven Kirk
6caa06f52b
Remove PopupContentHost.
It's no longer needed now the bug fix in 669c6511d6 is in place.
7 years ago
Nikita Tsukanov
f9561260a3
IPopupImpl is now optional advanced feature
7 years ago
Nikita Tsukanov
fafd27243f
Fixed tests
7 years ago
Steven Kirk
41e9999ae7
Move MouseTestHelper to Avalonia.UnitTests.
7 years ago
Nikita Tsukanov
79cf3e5cea
Completely re-create PopupRoot on reopening Popup
7 years ago
Nikita Tsukanov
8e5c8fee07
Somewhat fixed tests
7 years ago
Nikita Tsukanov
35f64af761
Make toplevels responsible of creating popups
7 years ago
Steven Kirk
835cc6e051
Added failing test for #2754 .
7 years ago
Steven Kirk
cae46af287
Fixed typos.
7 years ago
Steven Kirk
0b88151b65
Fix tests failing after merge.
7 years ago
Dariusz Komosinski
3c787b3d4d
Fix events for ContextMenu and Popup.
7 years ago
Nikita Tsukanov
991f767c3c
Removed outdated tests
7 years ago
Nikita Tsukanov
1ab923c02e
Removed WithNameScope
7 years ago
Nikita Tsukanov
fe5c1cec76
Use INameScope from IServiceProvider
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Steven Kirk
2210b441a2
Moved attached layout code to Avalonia.Layout.
Also involved moving `Orientation` enum.
7 years ago
Steven Kirk
f8741ead2c
Added failing SelectingItemsControl tests.
7 years ago
Steven Kirk
2fa8247f01
Removed MemberSelector.
7 years ago
Steven Kirk
fc9a8db010
Correctly select materialized containers.
And add another test.
7 years ago
Steven Kirk
11a3f0c093
Added failing test for #2565 .
Along with a passing test I wrote looking for the solution, and some documentation about SelectionMode.
7 years ago
Steven Kirk
ccf60266e8
Send clicks rather than mouse down messages.
7 years ago
Steven Kirk
f84f6068bc
Added failing tests for #2660 .
7 years ago
Steven Kirk
bf767c2c73
Fix clearing selection when clicking on selected item.
7 years ago
Steven Kirk
440af46235
Don't coerce values until initialized.
Fixes #2372 .
7 years ago
Steven Kirk
0225023d53
Added failing tests for #2372 .
7 years ago
Steven Kirk
94d71fb12f
More work on updating selection...
...when source items change.
7 years ago
Steven Kirk
ca23d03f98
Update SelectedIndex when items removed before selection.
7 years ago
Steven Kirk
1c85f409b3
Set SelectedIndex/Item on (Un)SelectAll().
7 years ago
Steven Kirk
f58f8950bd
Added failing test for #2574 .
7 years ago
Steven Kirk
2e9fbe238b
Refactor selection in SelectingItemsControl.
Instead of using `SelectedItems` as the canonical source of selection information, use an internal `Selection` class which keeps track of the selection in terms of item indexes.
Fixes #2004
7 years ago
FoggyFinder
996eda9fb7
set defaultBindingMode as TwoWay for SelectedIndex
7 years ago
Nikita Tsukanov
f556db57b4
Refactor pointer events to support touch events
7 years ago