Steven Kirk
f09683cf93
Hack around problem with Item 0 being shown...
...when switching to a scrolled UniformGridLayout.
7 years ago
Steven Kirk
643495fba7
Undo unrelated change to StackPanel.
7 years ago
Steven Kirk
06ecb20e84
Realize a single element even if the repeater is outside the realized…
… range but still being measured.
Ported from 9371dea6cc
7 years ago
José Pedro
0680f20128
XML comment fixes.
7 years ago
JaggerJo
bc1ddc31ab
remove duplicate setter for "HeadersVisibility".
7 years ago
Dariusz Komosinski
d721373836
Improve DevTools UX and code.
7 years ago
Dariusz Komosinski
dfe853e24a
Cleanup usings.
7 years ago
Dariusz Komosinski
3c787b3d4d
Fix events for ContextMenu and Popup.
7 years ago
Dariusz Komosinski
e4ee2c3a6a
Clear _inner collection in RenderLayers.Clear
7 years ago
Nikita Tsukanov
9118872498
Android -> 8.0
7 years ago
Steven Kirk
35bc1b37da
Call TryGetResource instead of TryGetValue.
So that merged dictionaries are searched.
Fixes #2584
7 years ago
Nikita Tsukanov
89b4f30a5c
Removed duplicate import
7 years ago
Yatao Li
94da3aec92
mute system beep on alt+key press
7 years ago
Nikita Tsukanov
c61644721e
Actually use parent name scope for templates
7 years ago
Nikita Tsukanov
e72d6e3924
Updated NameScopeLocator
7 years ago
Nikita Tsukanov
6a90251654
Use custom synchronous task-like awaitable
7 years ago
Nikita Tsukanov
ce28364545
Added comments regarding name scope task completions
7 years ago
Nikita Tsukanov
bb142a6282
Names for tuple returned by BuildWithNameScope
7 years ago
Nikita Tsukanov
4c81d44b68
Remove found `tcs` from _pendingSearches
7 years ago
Nikita Tsukanov
ac1a8d9c4e
Android?
7 years ago
Nikita Tsukanov
1ab923c02e
Removed WithNameScope
7 years ago
Nikita Tsukanov
3169f59da8
Introduced name scope chains
7 years ago
Nikita Tsukanov
fe5c1cec76
Use INameScope from IServiceProvider
7 years ago
Nikita Tsukanov
2136f5e2c8
[X11] Blacklist llvmpipe
7 years ago
Nikita Tsukanov
89c359bd10
Expose GRContext from ISkiaDrawingContextImpl
7 years ago
Steven Kirk
b26ec44374
Removed non-working code.
And replace it with a TODO.
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Steven Kirk
6f0befabdb
Prevent IndexOutOfRange exception.
Prevent the exception described in https://github.com/AvaloniaUI/Avalonia/pull/2603#issuecomment-508011071 . This makes our codebase diverge from WinUI's but Im unable to debug into the WinUI code consistently enough to work out why this problem doesn't show up there.
7 years ago
Steven Kirk
cd04e768f0
Avoid reset of containers when anchor element is replaced in ItemsRepeater.
* avoid reset of containers when anchor element is replaced
* fix element 0 ownership issue
Ported from e45e83d010
7 years ago
Steven Kirk
66e0146898
Set default cache size to 0.
Scrolling on UWP happens asynchronous to the UI thread, so `ItemsRepeater` on that platform generate an additional buffer of prepared elements sufficient to fill an area larger than the viewport. We don't have async scroll rendering on Avalonia so make the default cache size 0.
7 years ago
Steven Kirk
ac660567f7
Fix horizontal StackLayout.
7 years ago
Steven Kirk
997fd1aa30
Moved ItemsRepeater to Avalonia.Controls.
Keep it in a subdirectory though.
7 years ago
Steven Kirk
9297d46e3a
More docs.
7 years ago
Steven Kirk
f6cba5ab69
Implemented NonVirtualizingLayout.
7 years ago
Steven Kirk
2210b441a2
Moved attached layout code to Avalonia.Layout.
Also involved moving `Orientation` enum.
7 years ago
Steven Kirk
3a2876f1ef
Added docs for ItemsRepeater-related classes.
7 years ago
Steven Kirk
5d813c9011
Scaffold IScrollAnchorProvider on ScrollViewer.
It doesn't do anything yet, but `ItemsPresenter` requires `ScrollViewer` to implement this interface.
7 years ago
Steven Kirk
f944dde6c4
Added IScrollAnchorProvider.
Though nothing implements it yet. Uncomment/implement the parts of `ViewportManager` that required this interface.
7 years ago
Steven Kirk
afa38852cf
Fix SelectingItemsControl multiple selection.
- Allow `SelectAll` regardless of `SelectionMode`: `SelectionMode` should only apply to user-interaction
- Don't select multiple on shift/ctrl-right click
7 years ago
Steven Kirk
f634e9af81
Fix TreeView right-click selection.
Fixes #2660 .
7 years ago
Steven Kirk
6712626181
Simplify setting TreeView.SelectedItem.
Calling the overload of `SetAndRaise` which takes a callback should not be necessary because that was only needed in `SelectingItemsControl` due to the interaction between `SelectedIndex` and `SelectedItem`.
7 years ago
Steven Kirk
4e4c1918ab
Added failing test for #2660 .
And a passing test too. Also added some useful methods to `TreeView` to help with this.
7 years ago
José Pedro
ae0feb21e0
Fixed XML comment references.
7 years ago
artyom
009f39ae74
Update AutoSuspendHelper to use IControlledApplicationLifetime
7 years ago
Nikita Tsukanov
9c56a4ba84
[X11] Fixed NumLock
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
ecabeba4d1
Fix conversion of null in DefaultValueConverter.
`null` is a valid value for a non-value type so don't convert it to `{unset}`.
Fixes #1701 .
7 years ago
Nikita Tsukanov
1e115b89c8
Fixed Start<TMainWindow>() + obsoleted Start()
7 years ago