* Modernized accessor syntax in several places
* Toned down the getter modernization
* Block body for properties with code
---------
Co-authored-by: Lehonti Ramos <lehonti@ramos>
* Repro unit test for GetCharacterHitFromDistance being broken with hidden runs
* Repro for infinite loop in GetTextBounds
* Fix failing tests
* Fix GetRunBoundsRightToLeft
---------
Co-authored-by: Nikita Tsukanov <keks9n@gmail.com>
- Renamed `ItemsControlFromItemContaner` in `ItemsControlFromItemContainer'
- Add `ItemsControlFromItemContaner` with attributes `Obsolete` and `EditorBrowsable Never` that call `ItemsControlFromItemContainer`
* feat: add Content and ContentPresenter for ColorPicker
* feat: update according to https://github.com/AvaloniaUI/Avalonia/pull/13073 feedback.
* feat: add HorizontalContentAlignment and VerticalContentAlignment default value to simple theme.
* feat: update documentation wording.
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
* fixed incorrect reset of a captured control when moving the pointer over a MenuItem
* format code
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
* In `Avalonia.Base`, sealed several classes whose constructors aren't available from public API, and which have no inheritors
* un-sealed class that is inherited from
* Made `Delete` method non-virtual
---------
Co-authored-by: Lehonti Ramos <lehonti@ramos>
* Add failing test for #13064
* Remove Content binding from ScrollViewer template.
Since #10803, the `ScrollContentPresenter.Content` binding is managed internally, not via a binding in the template.
* Assign owner before doing subscriptions.
Fixes#13064.
* Add "EGL_ANGLE_flexible_surface_compatibility" ext check
* Use stackalloc with CreatePBufferFromClientBuffer attributes
* Fix broken API
* Update to latest angle
* Add trimming attributes to the Runtime XAML Loader project
* Create CompilerDynamicDependenciesAttribute with all known dynamic types
* Use master XamlX
* Implement CompilerDynamicDependenciesGenerator to simplify CompilerDynamicDependencies attribute
* Better formatting of generated code
* Be safe about type converters as well
* Remove unnecessary warning
* Also include FindType just in case
* Add Fluent HeaderContentControl theme
* Fix file name, add content template
* Add simple theme for HeaderedContentControl
* Add sample page for HeaderedContentControl in the catalog
* Change the HeaderedContentControl to use a Grid instead of a stack panel for its layout
* Fix template part names
* Fix HeaderedContentControl typename
* Fix the template part type again
* Fix control template names
* Introduce IFilePickerFileTypes to have more control over file types in the native backend
* Update samples page for dialogs
* Rename to IAvnFilePickerFileTypes
* WIP
* Fix disabled popup
* Explicitly dispose AvnString and AvnStringArray + GetNSArrayOfStringsAndRelease
* Fix potential crash
---------
Co-authored-by: Jumar Macato <16554748+jmacato@users.noreply.github.com>
* compute win32 window styles from properties, instead of toggling relevant styles
* save client rect early, before swithing to full screen
* add callbacks for window style and wndproc
* move new options class to Avalonia.Controls
* use toplevel instance to set the callbacks instead
* remove redundant casting
* call wndproc callback before the default handler
* remove unused using
* ensure window state when decorations changed
* move win32 specific delegates
* make Win32SpecificOptions static
* fix build
* replace Set callbacks with Add/Remove callbacks
* fix docs
* only recreate styles when the change isn't caused by a fullscreen update
* In `Avalonia.Dialogs`, added `readonly` to fields that are never modified
* Re-added namespace references
* Removed `readonly` modifier from field which is used as a `ref` value
* Removed `readonly` from yet another field
---------
Co-authored-by: Lehonti Ramos <lehonti@ramos>