Dan Walmsley
ef0b8a55b2
first stage implementation of deinitialisation of menu items.
6 years ago
Dan Walmsley
85e15ef9da
menu items subscribes to events itself.
6 years ago
Steven Kirk
230886852d
Merge branch 'master' into fixes/cut-undo-fails
6 years ago
Steven Kirk
faec3ae67f
Added NonVirtualizingStackLayout.
Required fixing/implementing a bunch of infrastructure around non-virtualizing layouts.
6 years ago
Benedikt Stebner
37bf6f73df
Merge branch 'master' into issue3294
6 years ago
Dan Walmsley
c91b75b0b7
make menu re-order loop easier to follow.
6 years ago
Dan Walmsley
cd0ebbdd50
Revert "use a copy of lists as we will be removing from the list inside the loop."
This reverts commit 38f8dc73b3 .
6 years ago
Dan Walmsley
1fdd61f290
Merge branch 'features/updatable-native-app-menu' of https://github.com/AvaloniaUI/Avalonia into features/updatable-native-app-menu
6 years ago
Dan Walmsley
38f8dc73b3
use a copy of lists as we will be removing from the list inside the loop.
6 years ago
danwalmsley
0afeea6fae
Merge branch 'master' into features/updatable-native-app-menu
6 years ago
Dan Walmsley
3bf3c64951
whitespace.
6 years ago
Dan Walmsley
52398648f7
remove comment.
6 years ago
Dan Walmsley
8b07ba1121
whitespace
6 years ago
Dan Walmsley
a5c3b3e2b5
remove debug code.
6 years ago
Dan Walmsley
de75b242b6
Merge branch 'features/updatable-native-app-menu' of https://github.com/AvaloniaUI/Avalonia into features/updatable-native-app-menu
6 years ago
Dan Walmsley
53d8dec1a6
Add owner on CommandProperty.
6 years ago
Dan Walmsley
149a7c6b90
always set main menu so it can be reparented in the osx backend to include the app menu.
6 years ago
Dan Walmsley
75652d094e
fix direct property implementations on nativemenu item.
6 years ago
Dan Walmsley
b17c69b4c1
temporary test.
6 years ago
Dan Walmsley
53e14acb9d
only call SetMenu once or if the menu has actually changed.
6 years ago
Dan Walmsley
f2031cddab
rename some variables.
6 years ago
Dan Walmsley
6895ea9dd0
clean event subscriptions before updating menus.
6 years ago
Dan Walmsley
a210267a2b
remove cleanup methods.
6 years ago
Dan Walmsley
e23e9a2774
working update of menuitems.
6 years ago
Dan Walmsley
00812297bc
fix updating menu item.
6 years ago
Dan Walmsley
0cf079b47f
only obtain object from managed side once.
6 years ago
Dan Walmsley
0d52c8b37b
whitespace.
6 years ago
Dan Walmsley
4e54fb2e46
somewhat working updating menus.
6 years ago
Dan Walmsley
fb9821ca77
Merge branch 'features/updatable-native-app-menu' of https://github.com/AvaloniaUI/Avalonia into features/updatable-native-app-menu
6 years ago
Dan Walmsley
30c0b1f0ac
update osx native proj file.
6 years ago
Dan Walmsley
06f57f7e44
Insert Native Menus by index instead of just adding them in order.
6 years ago
Dan Walmsley
5cc02c2d09
create dummy menu root.
6 years ago
Steven Kirk
f85f553fb5
Merge branch 'master' into fixes/2680-path-geometry-invalidation
6 years ago
Steven Kirk
5b7f4500d7
Merge pull request #3764 from AvaloniaUI/fixes/3551-treeview-clear-index
Update TreeView index when not attached to logical tree.
6 years ago
Steven Kirk
b1d6d7fd49
Merge branch 'master' into fixes/3551-treeview-clear-index
6 years ago
Steven Kirk
798c1d7eb3
Merge pull request #3765 from pr8x/patch-1
Fixed typo
6 years ago
Luis v.d.Eltz
073bbb42e4
Fixed typo
6 years ago
Steven Kirk
3f3fb1a3f8
Update TreeView index when not attached to logical tree.
Fixes #3551 .
6 years ago
Steven Kirk
b80c61892e
Added failing test for #3551
Co-Authored-By: Dariusz Komosiński <marchingcube@users.noreply.github.com>
6 years ago
Dariusz Komosiński
ebcc25ed40
Merge branch 'master' into fixes/2680-path-geometry-invalidation
6 years ago
Dan Walmsley
5a3c984b4d
allow DoLayoutReset to be called when menu is still null.
6 years ago
Dan Walmsley
0f35059055
move code to own files.
6 years ago
Dan Walmsley
aa94dc476c
subscript to events and notify of changes.
6 years ago
Dan Walmsley
9f209bb0b9
Merge remote-tracking branch 'origin/master' into features/updatable-native-app-menu
6 years ago
Dan Walmsley
2e682e292e
initial work towards updating menus with virtual DOM.
6 years ago
Steven Kirk
a98b22c40c
Pass close event to Popup.Closed.
So that the event can be marked as handled if necessary. Mark the event as handled in `AutoCompleteBox`, `ComboBox` and `DatePicker`, but _not_ `ContextMenu`. Fixes #3760 .
6 years ago
Steven Kirk
ef8a8b17d4
Merge pull request #3625 from jp2masa/update-obsolete-api-usages
Updated obsolete API usages in interfaces
6 years ago
Steven Kirk
d4977eaa46
Prevent handling closing click in Popup.
6 years ago
Steven Kirk
0b303ee335
Merge branch 'master' into update-obsolete-api-usages
6 years ago
Steven Kirk
252733e41f
Added failing test for #3760 .
6 years ago