DJGosnell
4b0ff3be63
Initial work for adding caches for SKTextBlobBuilder, SKRoundRect, SKFont usages.
Updates SKPaintCache for new caching base class.
4 years ago
Steven Kirk
a331e1f86b
Account for enabled state of combo box items.
4 years ago
Steven Kirk
7da9bb9d43
Coerce offset in SCP arrange.
If viewport or extent were changed, this could affect the current offset so make sure we coerce the offset during arrange.
4 years ago
Steven Kirk
10fae098b9
Fix index clamping.
- Before we were clamping indexes too early, meaning that `firstIndexU` was calculated with a non-clamped index
- `_startUUnstable` needs to be set when the remove happens before the realized elements
4 years ago
Steven Kirk
fdc65d1c4e
Different selection logic when ComboBox closed.
When the `ComboBox` is closed, then the existing `MoveSelection` method doesn't work because the popup containing the `ItemsPresenter` is not visible, and so has no realized items.
Instead revert to simple index-based selection logic when the dropdown is closed.
Fixes #10232
4 years ago
Benedikt Stebner
15fad0f76c
Properly set headleass GlyphTypeface.FontMetrics
4 years ago
José Pedro
b8a987e847
Ensure templated parent control theme is applied.
4 years ago
amwx
c80cdd1d3a
InheritDataTypeFromItems for DisplayMemberBinding & cleanup ItemsControl
4 years ago
amwx
face05870f
Code cleanup
4 years ago
amwx
dfd5efb061
Add `InheritDataTypeFromItems` to SelectedValueBinding
4 years ago
Daniil Pavliuchyk
177c1cee51
Add ProgressBarAutomationPeer
4 years ago
Julien Lebosquain
f04c9fa0b6
Dev tools: fixed wrong HandledBy for events
4 years ago
Steven Kirk
339b1e92bd
Add hack for strange win32 behavior.
Fixes two failing integration tests on win32.
4 years ago
Julien Lebosquain
97aa613bba
Prevent null Panel children
4 years ago
Julien Lebosquain
c99e1743ba
Nullability fixes for Avalonia.Diagnostics
4 years ago
Julien Lebosquain
fec4df44b0
Nullability fixes for Avalonia.Controls.ColorPicker
4 years ago
Julien Lebosquain
15f3b746a8
Nullability fixes for Avalonia.Controls.ItemsRepeater
4 years ago
Julien Lebosquain
e1138f2cb6
Nullability fixes for Avalonia.Controls
4 years ago
Emmanuel Hansen
6dae36ead9
Revert "Only set pointer events to handled in button if click is triggered"
4 years ago
rabbitism
d99b795504
fix: fix ListBoxItem generation.
4 years ago
Julien Lebosquain
39fe9b17fb
Nullability fixes for Avalonia.Base
4 years ago
Max Katz
1642129d0f
Implement simple PreloadDepsAssemblies
4 years ago
Julien Lebosquain
7eda49e061
Ensure IRenderRoot.Renderer is never null
4 years ago
affederaffe
dff80c8ded
Remove ListServicesAsync usage
- Uses Reflection underneath
- It's faster to just fail than receiving all available services first
4 years ago
Andrew Arnott
465d72f290
Add nullable ref annotation to Windows.Close
4 years ago
Wiesław Šoltés
fe2233d25a
Update ItemsPresenter.cs
4 years ago
amwx
1cfdae9448
Cleanup
4 years ago
amwx
9fdf98dde6
Only use font fallback if match found
4 years ago
José Pedro
757f82c385
Updated browser packages to stable.
4 years ago
Max Katz
db78f7c870
Update angle to 2.1.0.2023020321
4 years ago
workgroupengineering
41966d314f
fix: Builld
4 years ago
Giuseppe Lippolis
b1ca75a30b
fix: Address review
4 years ago
Steven Kirk
eb1aa547a8
Fix default transparency level.
The macOS backend sets up a window with a transparency level of `None` but the managed code thinks it's `Transparent`, meaning that making the window transparent did nothing as it thinks it's already set.
Fixes #8419
4 years ago
Giuseppe Lippolis
93396ea6d8
perf: Animatable small adjust
- delegate caching
- try to partially avoid changing the Transitions property during subscribe/unsubscribe operations
4 years ago
Benedikt Stebner
6210018f3b
Propertly handle an InlineUIContainer's logical children
4 years ago
Benedikt Stebner
42f8c58aef
Update teste for the new typeface
4 years ago
Steven Kirk
467ef300bf
Remove unneeded method.
4 years ago
amwx
a8cb641609
Missing xml docs
4 years ago
amwx
3913fb333e
Implement SelectedValue
4 years ago
Giuseppe Lippolis
5ff8dc97fd
fix: Linux Framebuffer nullable
4 years ago
Giuseppe Lippolis
84cd896cd8
fix: Waring CS0618 ListItemAutomationPeer
4 years ago
Benedikt Stebner
14fba2e53a
Rework HitTestTextRange
4 years ago
Giuseppe Lippolis
96bda93119
fix: DevGenerator Nullable
4 years ago
Steven Kirk
b2c1d80f5c
Fix validation of local value bindings.
Local value bindings with a type of `BindingValue<T>` were not being validated.
4 years ago
Steven Kirk
7b00ef6989
Make untyped bindings produce default value.
This changes the behavior of bindings slightly, in that previously a binding which produced `UnsetValue` (or a binding error) caused the value of any lower priority value of value to take effect. After this change, the binding reverts to the property's default value. This behavior more closely matches WPF and fixes #10110 .
4 years ago
Dmitry Zhelnin
936d4c3448
Animatable: handle transitions subscription when contol is added or removed from visual tree
4 years ago
Dmitry Zhelnin
69b3db42a2
Cleanup attributes
Enable rules CA1018: Mark attributes with AttributeUsageAttribute; CA1813: Avoid unsealed attributes
4 years ago
Emmanuel Hansen
4a4ce0f839
fix scroll snap points attached properties
4 years ago
Benedikt Stebner
b0a2ae99e4
Fix default GlyphRun.BaselineOrigin
Add a unit test
4 years ago
workgroupengineering
a22249b898
fix: remarks
4 years ago