nicola36631
92ba4bc19c
Added PageLeft, PageRight, PageUp, PageDown handling in TextBox
Added cases in OnKeyDown method and added FetchChildScrollViewer method to fetch the child ScrollViewer in the VisualChildren.
3 years ago
nicola36631
e635d900ff
Added PageRight and PageLeft Keygestures in PlatformHotkeyConfiguration
3 years ago
nicola36631
5437f8a76e
Added PageUp and PageDown KeyGestures
3 years ago
Steven Kirk
6dd9106fe5
Don't layout invisible controls.
And fix unit tests that were relying on this behavior.
3 years ago
Steven Kirk
683afe6e9f
Use correct newValue on inherited property change.
- `oldValue` was misnamed - it's the new value
- We calculated the new value and then didn't pass it to children for their property changed events: they were using the default value which may be wrong if the value is set further up the tree
3 years ago
Nikita Tsukanov
312f1250e2
Don't use AvaloniaObject in IPlatformRenderInterface
3 years ago
Benedikt Stebner
f432d6f0a9
Fix GetTextBounds for combinations of EndOfParargrap and embedded RTL text
3 years ago
Steven Kirk
b7a249107b
Make data templates work again with MenuItem.
- `MenuItem` is a `HeaderedSelectingItemsControl` not a `HeaderedItemsControl` so need to separate logic for that case when preparing items
- Added `HeaderTemplate` to `HeaderedSelectingItemsControl `
- Tweaked logic for selecting header templates: parent's `ItemTemplate` should be used if set (cross-checked with WPF)
- Update menu templates to bind to menu item's `HeaderTemplate`
Fixes #10626
Fixes #10718
3 years ago
Benedikt Stebner
b2a4e85e23
Only bypass WM_CHAR if previous composition is not empty
3 years ago
Nikita Tsukanov
8b881f01b9
Writable composition properties
3 years ago
Steven Kirk
13a586077f
Bind readonly properties one-way.
Fixes #10680 .
3 years ago
Lubomir Tetak
f829cdcdcd
cleanup
3 years ago
Lubomir Tetak
6535e299b0
DataGrid column resize near edge fix
3 years ago
Steven Kirk
060e290fc1
Revert "Support multiple `InheritDataTypeFromItems`."
This reverts commit 57c997bed7 .
3 years ago
Steven Kirk
996578f2bf
Remove all remaining uses of Items setter.
3 years ago
Steven Kirk
18daa4cf37
Make ItemsControl.Items read-only.
3 years ago
affederaffe
7b6cabe608
Fix TrayIcons on Gnome
3 years ago
Tom Edwards
055f894012
Added conversion option to PropertyObservable
3 years ago
Emmanuel Hansen
3ac7760b3a
don't create an input connection if client is null
3 years ago
Emmanuel Hansen
04c8b652c8
move clipboard to TopLevel
3 years ago
Steven Kirk
e7aaf8a7f7
Ensure that the default value can be coerced.
When the coercion function on a property results in the default value being coerced, ensure that state is recorded in the value store.
3 years ago
Benedikt Stebner
1964afb854
Fix possible NRE
3 years ago
Benedikt Stebner
45bf804cd4
Fix SelectableTextBlock selection
3 years ago
Benedikt Stebner
c6afd9bf4f
Fix NRE for AvaloniaNativeTextInputMethod
3 years ago
Tim
ba4830c372
Better fix for the NRE
3 years ago
Tim
4e8bf776dd
Attempt to fix possible NRE
3 years ago
Emmanuel Hansen
7c460a9bcb
add system bar color attached property
3 years ago
Nikita Tsukanov
6ad2f2a2f4
non-private set
3 years ago
Max Katz
e29e43793f
Fix menu placement
3 years ago
Nikita Tsukanov
9119ac8513
fix
3 years ago
Nikita Tsukanov
b75bc80ba3
fix
3 years ago
Nikita Tsukanov
3d78754f2e
Call Array.Clear immediately when returning it to the pool
3 years ago
Nikita Tsukanov
7d63f5f546
InvokeShutdown
3 years ago
Nikita Tsukanov
91e4bd00b6
Fixed more tests
3 years ago
Nikita Tsukanov
9d4f11a111
Fixed tests
3 years ago
Nikita Tsukanov
5f52122bba
Implemented ExitAllFrames, DisableProcessing and Shutdown, dispatcher callbacks now have proper sync context
3 years ago
Nikita Tsukanov
d71a54ed58
Added Dispatcher.InvokeTaskAsync helpers
3 years ago
Nikita Tsukanov
b3fe7827a2
Fixed Dispatcher.Invoke when called from the UI thread
3 years ago
Steven Kirk
58676fb417
Fix comparison.
The first element is index 0.
3 years ago
Benedikt Stebner
a00946492d
Fix failing test
3 years ago
Steven Kirk
c2b83d9909
Defer TreeViewItem creation to TreeView.
Fixes nodes not being selected correctly when parent node is expanded.
3 years ago
Steven Kirk
27b2b27330
Make ExpandSubTree work again.
3 years ago
Benedikt Stebner
f307b7364a
Fix TextLineImp GetTextBounds
Fix Tab character handling
3 years ago
Nikita Tsukanov
530f176783
Added Rgb24 and Bgr24
3 years ago
Max Katz
1e84029a41
Downgrade Microsoft.CodeAnalysis.CSharp
3 years ago
Dan Walmsley
e77de043b6
[TreeView] ensure SelectedItem field is set before Adding items to SelectedItems
3 years ago
Nikita Tsukanov
e3a75b869b
QoL
3 years ago
Nikita Tsukanov
637f04ac3a
Make DispatcherPriority values more in line with WPF
3 years ago
Nikita Tsukanov
371251d58c
Review comments
3 years ago
Benedikt Stebner
2f6246c61d
Make sure we don't try to read a character out of bounds
3 years ago