* Use SIGDN_DESKTOPABSOLUTEPARSING instead of SIGDN_FILESYSPATH, and avoid crashing on GetDisplayName
* Don't forget fking .ConfigureAwait(false)
* Fix wrong method call
* Avoid System.Linq and double iterations over results array
* Add `PlacementConstraintAdjustmentProperty` to PopupFlyoutBase
This adds much more flexibility to control flyout positioning when there is not enough space to show the Flyout.
* Make Fylout position of the ColorPicker a DynamicResource
This allows the position to be overridden easily. It should no longer be hard coded.
* Address review
* Test - On empty PM/AM designator on culture info the time picker should show AM/PM
* On empty PM/AM designator on culture info the time picker should show AM/PM
* Remove focus hack from Popup.
* Added failing focus scope tests.
* Refactor focus scopes in FocusManager.
- Store focused element within a scope using an attached property (like WPF)
- Store current focus root so that focus can be restored to that root when a focused control or active focus scope is removed
Fixes#13325
* Suppress API compat error.
This was being produced for a compiler-generated enumerable class that was erroneously being included in the reference assembly for `FocusManager`.
* Remove focus hack from ContextMenu.
And add failing test now that the hack is removed.
* Try to return a rooted host visual.
Fixes failing test from previous comment where focus wasn't restored when closing a context menu.
* implement Next action in android IME
* Handle UIReturnKeyType.Next on iOS
* Remove NavigationMethod.Directional (do we need focus adorner?)
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
Co-authored-by: Julien Lebosquain <julien@lebosquain.net>
* Introduce ErrorConverter and DisplayErrors attached properties
- the converter can be used to change the way a message is print
- we use DisplayErrors to get the converted error messages
* Adjust FluentTheme
* [WIP] Add a sample Page for DataValidationErrors
* use a private attached property to store recent errors
this approach gets rid of the need to DisplayErrors property
* Update samples with some additional details
* Reuse rich SetError logic in DataGrid as well
* Unify some code with OnErrorsOrConverterChanged
* Restore old behavior with null default value
* Add SetErrorConverter test
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
* Update SkiaSharp/HarfBuzzSharp and use proper native bits, make it configurable
* Run UiThreadRender jobs on each animation request in WASM
* Update ControlCatalog to match our current templates
* Add TaskContinuationOptions.ExecuteSynchronously in compositing engine where it's missed
* Log invalid rendering configuration
* Use setInterval isntead of Timer on WASM
* Minor fixes
* Implement BrowserDispatcherImpl and avoid possible memory leak
* Added PointerPressed and PointerReleased events to the header in a DataGridColumn
* update refs
* Update Avalonia.Controls.DataGrid.csproj
* revert project file changes
* more reversion
* removed spaces
---------
Co-authored-by: Max Katz <maxkatz6@outlook.com>
Co-authored-by: Tim <47110241+timunie@users.noreply.github.com>
* add text selection handles
* only show selectors on pen and touch input
* show mobile themed context menu on mobile
* cleanup and track textbox layout changes with EffectiveViewportChanged
* make SelectionHandleType as clr property
* fix custom flyouts not showing with selection handles
* simplify text context menu for mobile.
* cleanup
* address review, simplify styles, add docs
* remove unused resource
* remove unused event handler, reformat selection canvas class
* prevent thumb positions from swapping
* adjust caret position when touch pointer moves
* cleanup, disable scrolling in textbox when intent is selection
* Try to find nearest matching glyphTypeface when no exact match could by found by SystemFontCollection
* Fix glyphTypeface caching
* Rework SystemFontCollection TryCreateGlyphTypeface
* Make sure a failed glyphTypeface lookup is cached
* Make sure to only try to get nearest match if we failed to load the font via font magager impl
* Apply font simulations if possible
* Enable font simulation for embedded fonts
* Adjust simulated angle
* Init DirectComposition support
* Use Win8.1 as a minimum dcomp target, avoid hacks with render timer
* Refactor transparency supprot a little
* Cleanups
* Restore old hack as I don't know how to remove it yet
* fix(CaptionButtons): FluentCaptionButton theme used hardcoded Background, Foreground and BorderBrush color
* fix(CaptionButtons): SimpleCaptionButton theme used hardcoded Background, Foreground and BorderBrush color
* Add integration test for access key indicators in macOS menu bar titles.
Tests for access key indicators displaying as plain underscores in macOS menu bar items.
* Exclude access key markers from native menu titles on macOS.
macOS does not support access key markers, so they just display as extra underscores.