Steven Kirk
e4f03fdf79
Fix working with collections of value types.
`IEnumerable<T>` is not covariant for value types, so we need to use the non-generic `IEnumerable` everywhere under the hood to ensure we can work with both value and reference types.
6 years ago
Steven Kirk
9c8376348c
Make remaining tests pass.
6 years ago
Steven Kirk
bfbf58dfd0
Adjust expected output.
6 years ago
Steven Kirk
06390d42ee
Restore selection on reset.
6 years ago
Steven Kirk
923fd361e4
Refactor SelectedItemsSync.
6 years ago
Steven Kirk
a40015c8ce
Use SelectedIndex in ComboBox.
6 years ago
Steven Kirk
fc2eb08d88
Use SelectionModel in samples.
6 years ago
Steven Kirk
4e6ef0a023
Use SelectionModel in samples.
6 years ago
Steven Kirk
10b03b15ec
Make restored tests pass.
6 years ago
Steven Kirk
55cbf4a8df
Unskip tests we can handle now.
6 years ago
Steven Kirk
0e7f24ff51
Added back removed tests.
6 years ago
Steven Kirk
7d967138af
Add missing word.
6 years ago
Steven Kirk
c677fb4b4d
Don't autoselect with no items.
6 years ago
Steven Kirk
b499321f68
Don't raise LostSelection when changing source.
6 years ago
Steven Kirk
4c20313b12
Adjust a few expected test results.
6 years ago
Steven Kirk
04bcd16187
Reimplement commented-out code.
6 years ago
Steven Kirk
562e6bb3ef
Copy listeners before notifying.
As raising the event can cause the listeners to change.
6 years ago
Steven Kirk
81b7b54386
Auto-select when items added.
6 years ago
Steven Kirk
b4d615b955
Use CollectionChangedEventManager in ItemsControl.
6 years ago
Steven Kirk
1120820b7e
Implemented SelectionMode.AlwaysSelected.
6 years ago
Steven Kirk
b2a473d286
More integration of new SelectionModel.
6 years ago
Steven Kirk
c1b2e2d44d
Refactored ItemSourceView.
- Inner list needs to be a non-generic `IList` because `IList<T>` is no covariant.
- Moved out of the Repeater directory as it's now general-purpose.
6 years ago
Steven Kirk
a9b04a5c2c
Started integrating new SelectionModel.
6 years ago
Steven Kirk
a9f05f22c2
Added #nullable to SelectingItemsControl.
6 years ago
Steven Kirk
e62bacab7e
Reimplemented SelectionModel.
Handles only list selections, not nested selections.
6 years ago
Steven Kirk
c2a1427458
Added skipped tests for #4496 .
6 years ago
Steven Kirk
95f9a98843
Fixed/skipped failing tests.
6 years ago
Steven Kirk
af90219ff4
Reverted SelectionModel.
6 years ago
Jeremy Koritzinsky
aa5bc078a7
Re-enable SharpGenTools.Sdk to patch calli but disable codegen ( #4512 )
6 years ago
danwalmsley
083555bea4
Merge pull request #4507 from AvaloniaUI/revert-4505-expose-cut-copy-paste-textbox
Revert "Expose Cut Copy and Paste methods for binding for context menus"
6 years ago
danwalmsley
bc42091ce9
Revert "Expose Cut Copy and Paste methods for binding for context menus"
6 years ago
Jumar Macato
255539ef42
Merge pull request #4505 from AvaloniaUI/expose-cut-copy-paste-textbox
Expose Cut Copy and Paste methods for binding for context menus
6 years ago
Dan Walmsley
71109100eb
tidy code.
6 years ago
Dan Walmsley
50e24e8239
revert checkbox page.
6 years ago
Dan Walmsley
5ea8c57f76
move standard textbox context menu to the templates.
6 years ago
Dan Walmsley
e93ac83ae4
add gesture text.
6 years ago
danwalmsley
d06908c5cb
Merge branch 'master' into expose-cut-copy-paste-textbox
6 years ago
danwalmsley
8a800bb3d0
Merge pull request #4502 from maxkatz6/fixes/fix-another-missing-resources-default-theme
Fix another missing resources on default theme (including #4376 )
6 years ago
danwalmsley
a069ba1c8f
Merge branch 'master' into fixes/fix-another-missing-resources-default-theme
6 years ago
Jumar Macato
fb75a836be
add context menu
6 years ago
danwalmsley
d037779a63
Merge branch 'master' into expose-cut-copy-paste-textbox
6 years ago
danwalmsley
02e6cf7ad0
Merge pull request #4506 from AvaloniaUI/fixes/menus-close-and-open-as-pointerover
Fixes/menus close and open as pointerover
6 years ago
Dan Walmsley
b5c0b240c8
use OverlayInputPassThrough in default theme menus.
6 years ago
Dan Walmsley
a25b3235eb
fix default theme pointer move over menus.
6 years ago
Jumar Macato
43b94e997c
Expose Cut Copy and Paste methods for binding for context menus
6 years ago
Max Katz
2437c95c09
Merge branch 'master' into fixes/fix-another-missing-resources-default-theme
6 years ago
Maksym Katsydan
9ff731ab70
Fix another missing resources on default theme (including #4376 )
6 years ago
danwalmsley
09cb90bf03
Merge pull request #4498 from AvaloniaUI/fixes/dont-loose-textselection-when-context-menu-opens
TextBox - dont lose textselection when context menu opens
6 years ago
danwalmsley
89bf711602
Lose not Loose!
Co-authored-by: Steven Kirk <grokys@users.noreply.github.com>
6 years ago
Dan Walmsley
54cedcea87
dont allow text selection to be lost when context menu is opened... i.e. for copy and paste to work.
6 years ago