robloo
1bb84cab7c
Ensure invariant culture in relevant string interpolation
4 years ago
Nikita Tsukanov
18781d62ce
Null check
4 years ago
Nikita Tsukanov
a2ba58c0f9
Added some tests for composition animations
4 years ago
Daniil Pavliuchyk
c884e38220
Fix typo
4 years ago
Steven Kirk
fb9fc1935e
Added IsAttachedToVisualTree extension method.
4 years ago
Steven Kirk
6f03f1c3d6
Removed ITemplatedControl.
4 years ago
Steven Kirk
8347093f90
Removed IInteractive.
4 years ago
Steven Kirk
ec74057151
Removed a number of interfaces.
`IAvaloniaObject`, `IControl`, `ILayoutable`, `IPanel`, `IStyledElement`, `IVisual`.
4 years ago
Nikita Tsukanov
60b4963958
Update DispatcherPriority.cs
4 years ago
Nikita Tsukanov
141706f727
Changed the way DispatcherPriority values are defined, added PreComposition priority
4 years ago
Nikita Tsukanov
f19ba5507f
Implemented ElementComposition.SetElementChildVisual
4 years ago
Nikita Tsukanov
f820c866a0
Fixed composition key frame computation
4 years ago
Nikita Tsukanov
e895c91367
Fixed round rect regression in compositing renderer
4 years ago
Max Katz
47b9112138
Make AvaloniaXamlIncludeTransformer a group transformer and remove old code with manual IL emit
4 years ago
Max Katz
a9e904b0d2
Support group transformations in the XAML Build Task
4 years ago
Steven Kirk
e074a70187
Refactored style invalidation/removal.
4 years ago
Steven Kirk
1945345cd1
Rename TemplatedParent priority to Template.
It no longer represents just `TemplatedParent` bindings, but every value or binding created by a template.
4 years ago
Steven Kirk
326dac2328
Refactored how we switch control themes.
Instead of simply wiping all control themes and styles that are applied to a control, we can now just remove the `ValueFrame`s which relate to the control theme that was changed.
To do this, added `ValueFrame.FramePriority` which encodes both the `BindingPriority` and source of the frame (style, control theme, templated parent control theme).
4 years ago
Steven Kirk
086c2c7e70
Don't apply styling in TopLevel ctor.
Applying styling in the constructor isn't a good idea as demonstrated by #8549..
Instead apply styling when showing a window, or if it's needed call `ApplyStyling` manually, e.g. in unit tests.
Fixes #8549
4 years ago
Steven Kirk
1a338ac087
Remove IStyler and make style apply internal.
- Removes the `IStyler` service and the `Styler` implementation
- Moves the logic for applying styles and control themes into `StyledElement`
- Removes the style `TryAttach` method from the public API
- Removes style caching for now - this will need to be added back
4 years ago
Steven Kirk
0db8d5a2d2
Refactored style attach benchmark.
Now tries to simulate an application with a lot of styles applied at different points in the logical tree.
Make `StyledElement.ApplyStyling` a public API in order to do this.
4 years ago
Nikita Tsukanov
2d7c8645d0
Recalculate parent's child render nodes on visual tree attachment
4 years ago
Dan Walmsley
c29fff0342
rename avalonia.web to avalonia.browser
4 years ago
Giuseppe Lippolis
e74feb8096
fix: build
4 years ago
Max Katz
76887ef16a
Move Shift scrolling to the ScrollPresenter layer
4 years ago
Giuseppe Lippolis
84ca1673c9
fix: Ensure Dev*,Microcom and Build Task are builds before Controls when build solution in IDE
4 years ago
Max Katz
12921c17f7
Refactor extension to use a custom xaml method
4 years ago
Steven Kirk
5a13453b9d
Cache property metadata in effective value.
Decreases the number of metadata lookups needed. Previously we were doing two lookups on construction now we're only doing one.
4 years ago
Steven Kirk
a9f12cbb43
Avoid boxing in EffectiveValue<T>.SetAndRaise.
Added `IValueEntry<T>` interface back in and use that if present to get the value from the entry.
4 years ago
Steven Kirk
a62c56186f
Use GetRequiredService in touch/mouse device.
4 years ago
Benedikt Stebner
7e3024ede2
Fix fallback handling
4 years ago
Benedikt Stebner
a589d2e43b
Relocate CompositionRegion
4 years ago
Benedikt Stebner
040cccf619
Attempts to fix Android IME
4 years ago
out4blood88
4160e9b19f
Update UniformGridLayoutState.cs
Corrected implementation for
UniformGridLayout ItemsStretch Fill and Uniform
4 years ago
Steven Kirk
73cc163822
Fix #8733 .
4 years ago
Steven Kirk
d0eb38b6ba
Add Tap size to IPlatformSettings.
And refactor that interface while we're at it. Also add a `DefaultPlatformSettings` implementation instead of implementing it in each backend with slightly different values.
4 years ago
Steven Kirk
d9bee81505
Don't register drag as tap.
4 years ago
hacklex
9aca3d827c
Replaced hard-coded indexer with its actual name
This was possibly just overlooked since nobody probably ever changed the name from "Item".
4 years ago
Nikita Tsukanov
79e2d44005
Only use scoped keyword when building with .NET 7 SDK
4 years ago
Benedikt Stebner
17b2834d21
Implement letter spacing
4 years ago
Steven Kirk
0aa7a894ef
Validate priority for set/bind.
4 years ago
Steven Kirk
fcdabffe24
Signal completion even when no observers.
4 years ago
Steven Kirk
ae72b81af9
Remove empty frames.
In doing so, merged `ValueStore.OnBindingCompleted` into `OnValueEntryRemoved` as they were doing the same thing.
4 years ago
Steven Kirk
ca2a0d664d
Make field readonly.
4 years ago
Steven Kirk
1184e0ef2b
Remove unused operators.
4 years ago
Steven Kirk
f332616b53
Make fields readonly.
And remove a `using` that crept in unexpectedly.
4 years ago
Steven Kirk
2268f70c50
Move collection polyfills to Compatibility dir.
And tweak to match existing code there.
4 years ago
Steven Kirk
2f61efaaf7
This method is not a public API.
4 years ago
Steven Kirk
1440b57fb9
Add VerifyAccess check to GetBaseValue.
4 years ago
Steven Kirk
061f01ac3a
Prevent exception when removing value.
Calling `DisposeAndRaiseUnset` can cause a nested reevaluation of property values.
4 years ago