Max Katz
8ab2aa7dc9
Add context flyout to the dev tools tree
3 years ago
Max Katz
bf06f075cb
Fix crash on Cursor.Parse in DevTools
3 years ago
Nikita Tsukanov
c5ae8bb762
Fixes
3 years ago
Nikita Tsukanov
30064443b1
Added [PrivateApi]
3 years ago
Tim
6d880d483b
fix Watermark not shown when having a custom watermark set
3 years ago
Steven Kirk
3882bc0217
Remove ControlTemplateResult.
Use `TempateResult<Control>` instead as described in #6666 .
Fixes #10525 .
3 years ago
Steven Kirk
00315ef37d
Enqueue for arrange after measure.
Fixes the problem described in `Child_Can_Invalidate_Parent_Measure_During_Arrange`. To do this, add controls to the arrange queue after they've been measured, not on measure invalidation.
Fixes #11015
3 years ago
Steven Kirk
5926c994c5
Added ThumbAutomationPeer.
To make slider thumb visible to automation.
3 years ago
Steven Kirk
d37de0b634
Allow setting item container properties in styles.
Allow overriding the default behavior of item containers in styles or in `ItemContainerTheme`. To do this, use `SetCurrentValue` to set the properties, only if the properties are not already set (i.e. from a style). This also requires us to clear the current value when the container is cleared (styles won't be affected as `AvaloniaObject.ClearValue` only clears local or `SetCurrentValue` values).
3 years ago
Benedikt Stebner
a6bc0f9f73
[TextLayout] Do not call Draw with current TextLine.Start offset
3 years ago
Benedikt Stebner
25ff3e2004
Only initialize imm32 if a text input client is present
3 years ago
Tom Edwards
63f3a9a58e
Use SetCurrentValue to manipulate sibling RadioButtons
3 years ago
Nikita Tsukanov
e2429184e4
DropShadow default color = black
3 years ago
Nikita Tsukanov
79e2e5b11a
DropShadowEffect Direction is in degrees, not radians
3 years ago
Dan Walmsley
071691a764
fix typo
3 years ago
Nikita Tsukanov
cf28998a46
Bitmap effects support
3 years ago
Max Katz
72603182ae
Backport WCT fix for editing DataGrid
3 years ago
Steven Kirk
1135895b73
Make Classes properties readonly.
Makes the `StyledElement.Classes` and `Flyout.FlyoutPresenterClasses` properties readonly. Adds a transformer to the XAML compiler to convert attribute syntax classes setters to collection syntax so that they will be added to the existing `Classes` object.
Prevents an unneeded allocation of a `Classes` object when setting `Classes` from XAML.
3 years ago
Max Katz
1a46ccbbeb
Add "readClipboardText" workaround for Mozilla
3 years ago
Benedikt Stebner
69c31bb394
Use untransfored bounds for GlyphRunNode.HitTestTransformed
3 years ago
Steven Kirk
1a3b8fbcac
Don't allow binding to `ItemsControl.Items`.
Depends on https://github.com/kekekeks/XamlX/pull/85 : this PR disallows invoking "collection behavior" for property setters when using attribute syntax.
Required adding a `Flyout.FlyoutPresenterClasses` setter. This property was previously buggy without the setter (see https://github.com/AvaloniaUI/Avalonia/issues/10946#issuecomment-1506563268 ). Added tests for setting classes that I put in place when investigating this.
Fixes #10946
3 years ago
jankrib
8f7deb17ad
Implement HitTestTransformed
3 years ago
Emmanuel Hansen
bb2b2fce5f
correction in calculating bottom inset on android
3 years ago
Max Katz
77feabd2f5
Update WindowingPlatform.cs
3 years ago
Yoh Deadfall
826363365c
Removed unreferenced resources from TextBox
3 years ago
Nikita Tsukanov
ff318b67d9
Rename InvokeTaskAsync to InvokeAsync to remove breaking behavior change
3 years ago
Emmanuel Hansen
c4eebcbcb2
activate window when restored
3 years ago
Emmanuel Hansen
f914086f30
add UpdateWMHints method
3 years ago
Emmanuel Hansen
bd023ae06f
x11 - prevent window from receiving input when disabled
3 years ago
Benedikt Stebner
fcb9fa59f0
Make sure we don't pass a null string to MicroCom
3 years ago
Benedikt Stebner
2f67ca23f9
Fix emergency text wrapping for some unicode sequences
3 years ago
Nikita Tsukanov
d8c5063be4
Removed extra Closed?.Invoke()
3 years ago
Nikita Tsukanov
727e6ccdfd
Make sure that HandleClosed is called only once
3 years ago
Nikita Tsukanov
9aec3e348b
Properly notify the TopLevel before destroying render targets
3 years ago
Nikita Tsukanov
fc96e2949f
Fixed #10539
3 years ago
Nikita Tsukanov
37414f184b
Headless timer should report that it runs on the "UI" thread
Should fix #10686
3 years ago
Nikita Tsukanov
fc00c1c3d4
Fix compose key handling when IME is not enabled
3 years ago
Benedikt Stebner
82c86010c1
Fix Windows IME
Fix TextWrapping for glyph cluster boundaries when an emergency break is taken
Remove redudant TextLayout creation for the TextBlock.ArrangeOverride
3 years ago
Emmanuel Hansen
f53498a90e
use empty extents if frame extents isn't available
3 years ago
Emmanuel Hansen
6b98400f87
report frame position for linux
3 years ago
Steven Kirk
2aca946a71
Respect single-select with IsSelected bindings.
Use the existing `UpdateSelection` methods to correctly respect the current `SelectionMode`.
3 years ago
Steven Kirk
487fe9ed77
Make TreeViewItem IsSelected bindings work.
3 years ago
Steven Kirk
191a835c6a
Make container IsSelected bindings work again.
Rather than using the `ISelectable` interface to communicate container selection from the `SelectingItemsControl` to the container, use the `SelectingItemsControl.IsSelected` attached property, setting it with `SetCurrentValue` so that bindings defined in a style or item container theme can override the selection. Required an extra virtual `ContainerForItemPreparedOverride` method on `ItemsControl`.
3 years ago
Tom Edwards
b7cf688f86
Use SetCurrentValue in Slider
3 years ago
Max Katz
cf4154505b
Avoid BlockLiteral based APIs for simplicity
3 years ago
Max Katz
3a6b44a5cf
Fix platform settings returning empty color
3 years ago
Max Katz
76eeca8f12
Format code
3 years ago
Max Katz
d0be3f2d7b
Proper implementation of DispatcherImpl for iOS
3 years ago
Steven Kirk
594346e0a5
Make IsSelected an attached property.
Make `IsSelected` an attached property on `SelectingItemsControl` and make it bind two-way. Follows the pattern defined in WPF.
3 years ago
Max Katz
eb09e522c1
Changes after review
3 years ago