Skip to content

Upgrade target frameworks and Avalonia packages#296

Open
bruisedsamurai wants to merge 4 commits into
fabulous-dev:release/3.0from
bruisedsamurai:dev/avalonia-12
Open

Upgrade target frameworks and Avalonia packages#296
bruisedsamurai wants to merge 4 commits into
fabulous-dev:release/3.0from
bruisedsamurai:dev/avalonia-12

Conversation

@bruisedsamurai

Copy link
Copy Markdown

No description provided.

Update Fabulous.Avalonia and Gallery samples to use Avalonia 12 APIs and
remove obsolete Avalonia 11 surfaces.

Sample migrations:
- TreeDataGrid v11 -> v12 (CountriesPage, FilesPage, FileTreeNodeModel)
- DragAndDrop: DataObject/DataFormats -> DataTransfer/DataFormat
- Clipboard: SetTextAsync/SetDataObjectAsync/GetTextAsync/GetFormatsAsync
  -> SetTextAsync extension/SetDataAsync/TryGetTextAsync/GetDataFormatsAsync
- Gestures: Avalonia.Input.Gestures -> InputElement attached events
- GlyphRun: drop type-args on Array.zeroCreate, GetGlyph(int) signature
- CustomAnimator: CustomAnimatorBase -> InterpolatingAnimator

Library API renames (per Avalonia 12 breaking changes):
- TextBox/NumericUpDown/CalendarDatePicker/AutoCompleteBox: Watermark
  -> PlaceholderText
- TextBox/CalendarDatePicker: UseFloatingWatermark -> UseFloatingPlaceholder
- TextBlock.LetterSpacingProperty -> TextElement.LetterSpacingProperty
- RenderOptions.Get/SetTextRenderingMode -> TextOptions.Get/SetTextRenderingMode
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants