Avalonia
Avalonia copied to clipboard
Avalonia 12.0 cleanup list
Tracking issue for API changes in the distant future, can be safely ignored until mid-2024
- Mark IGeometryContext as [NotClientImplementable], make sure it's used everywhere instead of StreamGeometryContext (for V11 we'll probably need IGeometryContextEx for new members)
- extend ILockedFramebuffer with alpha format
- Make TextProperties.LineSpacing public abstract https://github.com/AvaloniaUI/Avalonia/pull/13243
- https://github.com/AvaloniaUI/Avalonia/issues/14369
- https://github.com/AvaloniaUI/Avalonia/issues/11286
- Change
Inline.TextDecorations
from aStyledProperty
to anAttachedProperty
This is a possibility
- https://github.com/AvaloniaUI/Avalonia/discussions/13237
cc @workgroupengineering
Shape.StrokeDashArray should be of IList type, instead of AvaloniaList. This way we could reduce compositor subscriptions count by checking if stroke dash array implements INotifyCollectionChanged or not.
Right now, having AvaloniaList, code like `StrokeDashArray="10 5" will always require us to subscribe to the list changes.
Make DevToolsOptions a record and change the property setter in init
.
Ideally, this https://github.com/AvaloniaUI/Avalonia/issues/4443 should be revisited as well. Even better if ContextMenu was removed from the main assembly.
protected virtual string? GetHelpTextCore();
should be
protected abstract string? GetHelpTextCore();
See: https://github.com/AvaloniaUI/Avalonia/pull/17030#discussion_r1763462589