Steven Kirk
350633c08f
WIP: Trying to repro #2957
And failing...
7 years ago
danwalmsley
4c557af078
Merge pull request #2976 from AvaloniaUI/fixes/stackpanel-layout
stackpanel copes with non-visible controls when arranging.
7 years ago
Dan Walmsley
91279db308
apply fix to reversible stackpanel.
7 years ago
Dan Walmsley
b80aa21610
add a unit test for stackpanel layout issue.
7 years ago
Dan Walmsley
69fa0f7f28
stackpanel copes with non-visible controls when arranging.
7 years ago
danwalmsley
6adf3174d1
Merge pull request #2950 from Gillibald/fixes/2903
Fixes RadioButton GroupName when reattached to visual tree
7 years ago
danwalmsley
b7b014f318
Merge branch 'master' into fixes/2903
7 years ago
danwalmsley
f1acef397b
Merge pull request #2968 from AvaloniaUI/fix/scroll-to-view-crash
fix crash scrolling to view when clearing list.
7 years ago
danwalmsley
d773c24e3b
Merge branch 'master' into fix/scroll-to-view-crash
7 years ago
danwalmsley
76c440934b
Merge pull request #2970 from AvaloniaUI/fixes/2969-binding-selectitem-selecteditems
Fix binding both SelectedItem and SelectedItems.
7 years ago
Dan Walmsley
4762b8ec33
fix whitespace.
7 years ago
Dan Walmsley
27e1b9d0f5
check selectedindex instead of _selectedItem
7 years ago
Dan Walmsley
79ecf98a46
add null check to itemvirtualizer simple
7 years ago
Steven Kirk
25ebbd63be
Allow both SelectedItem and SelectedItems to be bound.
Fixes #2969 .
7 years ago
Steven Kirk
33cf418779
Added failing test for #2969 .
7 years ago
Steven Kirk
1f9bb75ed3
Add setter for ListBox.SelectedItems.
It had been erroneously omitted.
7 years ago
danwalmsley
4375e0058d
Merge branch 'master' into fix/scroll-to-view-crash
7 years ago
danwalmsley
e41e38249b
Merge pull request #2926 from AvaloniaUI/fixes/2821-remove-contentcontrolmixin
Remove ContentControlMixin
7 years ago
danwalmsley
365cde4cc0
Merge branch 'master' into fixes/2821-remove-contentcontrolmixin
7 years ago
danwalmsley
61803578e1
Merge pull request #2964 from MarchingCube/alloc-effectivelyenabled
Avoid allocations when running UpdateIsEffectivelyEnabled.
7 years ago
Dan Walmsley
05b580317c
fix crash scrolling to view when clearing list.
7 years ago
Steven Kirk
f59025a28a
Merge branch 'master' into fixes/2903
7 years ago
Dariusz Komosiński
7237fa979e
Add comments.
7 years ago
Dariusz Komosiński
7f33ffaf8b
Avoid allocations when running UpdateIsEffectivelyEnabled.
7 years ago
Steven Kirk
d34da4bcfb
Merge pull request #2953 from AvaloniaUI/fixes/scroll-to-selected-item-listbox
Fixes/scroll to selected item listbox
7 years ago
Steven Kirk
46f11d8c18
Merge branch 'master' into fixes/2821-remove-contentcontrolmixin
7 years ago
Steven Kirk
13333cd820
Avoid NRE in DefaultMenuInteractionHandler.
The input can arrive after the interaction handler has already been detached.
7 years ago
Steven Kirk
fc33d6978c
Fix DevTools crash.
Make sure `HeaderPresenter` has its template applied before trying to get its child.
7 years ago
danwalmsley
ed4c12e870
Merge branch 'master' into fixes/scroll-to-selected-item-listbox
7 years ago
danwalmsley
1d493c2e69
Merge pull request #2954 from AvaloniaUI/fixes/2944-broken-treeview
Fix broken TreeView
7 years ago
Steven Kirk
6f44dfac5b
Added unit test for #2952 .
7 years ago
Dan Walmsley
9e6d3db520
fix whitespace.
7 years ago
Dan Walmsley
d636c7647e
only require a single call to ScrollIntoView
7 years ago
danwalmsley
b3213a0432
Merge branch 'master' into fixes/scroll-to-selected-item-listbox
7 years ago
Steven Kirk
cce605af49
Remove unused/bad code.
Removed the code that was causing the TreeView problems described in #2944 . This code was never actually called except in `TreeView` because a plain `ItemsControl` can't be used with virtualization (it uses untyped `ItemContainerGenerator` so items can't be recycled) and every other derived class derives from SelectingItemsControl which overrides this method and doesn't call the base implementation. In addition there were no unit tests covering this code.
Fixes #2944
7 years ago
danwalmsley
50c6c0e517
Merge branch 'master' into fixes/2903
7 years ago
danwalmsley
cfba46c509
Merge branch 'master' into fixes/2821-remove-contentcontrolmixin
7 years ago
Dariusz Komosiński
b694b2c117
Merge pull request #2915 from ahopper/perf-set-InheritanceParent
Perf set inheritance parent
7 years ago
Dan Walmsley
e9ae26e09c
fix scrolling to selected item.
7 years ago
Dan Walmsley
065f3b76bb
add a repro to control catalog.
7 years ago
Dariusz Komosiński
d1a7aa76e5
Merge branch 'master' into perf-set-InheritanceParent
7 years ago
Dariusz Komosiński
0ce5aa7b79
Merge pull request #2933 from MarchingCube/deferred-setter-notifyhandler
Fix PriorityValue allocating set and notify delegates.
7 years ago
Dariusz Komosiński
b81e18ca72
Merge branch 'master' into deferred-setter-notifyhandler
7 years ago
Dariusz Komosiński
b31a8d9deb
Merge branch 'master' into perf-set-InheritanceParent
7 years ago
Jumar Macato
619ebd24d6
Merge pull request #2951 from AvaloniaUI/fixes/2948-gestures-xaml
Enable adding event handlers to Gestures events.
7 years ago
Steven Kirk
0eb7b2d25e
Enable adding event handlers to Gestures events.
Added the `Add*Handler` and `Remove*Handler` events required by XAML in order to use attached event syntax. Added unit test to ensure this works.
7 years ago
Benedikt Schroeder
103afefb54
Merge branch 'master' into fixes/2903
7 years ago
Benedikt Schroeder
3de1d66ada
Register RadioButton for GroupName every time it is attached to the visual tree.
7 years ago
Steven Kirk
8c36203e20
Merge pull request #2935 from MarchingCube/fix-styledproperty-defaultvalue-box
Avoid constant boxing of StyledProperty default value.
7 years ago
Steven Kirk
ecee8ace80
Merge branch 'master' into fix-styledproperty-defaultvalue-box
7 years ago