Hi: I believe I might have asked this previously, but I can't seem to find the post or reply, so I'll repost. I've been working with the DevExpress MVVM assembly (.Net Core). I created a version of the assembly that uses AvaloniaUI in pl...
Version:Avalonia 11.0.0-preview8 Additional context From the tests I did on the attached example, I saw that xamlx ignores the TargetType of theControlTemplateand tries to find theItemsPanelproperty on thewindowstype. ACompileIssue.zip
Not quite sure what exactly is going on, as installingfontconfigNixOS package did not resolve the error at the top (libfontconfig.so.1: cannot open shared object file: No such file or directory). I suspect for a descent experience all native dependencies from NuGet need to be patched on ...
When attempting to use a DrawingBrush or VisualBrush as Opacity, the following exception is thrown, System.InvalidCastException HResult=0x80004002 Message=Unable to cast object of type 'Avalonia.Media.VisualBrush' to type 'Avalonia.Media.IImmutableBrush'. Source=Avalonia.Base StackTrace: at Avalonia...
I'm working on an Avalonia project where I have a DataGrid with CheckBox controls within its rows. I want to suppress the bubbling of the PointerPressedEvent on the CheckBox to prevent other UI elements (specifically the DataGridRow) from reacting to the click event. In WPF, I would ...
i had the very same issue when i was trying to write my own analyzer in a project that is also using avalonia. i figured out that this issue is only happening because avalonia is using a different version of the analyzer packages than i do... so i tried to reproduce this issue in ...
Exception Info: System.EntryPointNotFoundException: Unable to find an entry point named 'GetDpiForMonitor' in DLL 'shcore.dll'. StackStrace: at Avalonia.Win32.Interop.UnmanagedMethods.GetDpiForMonitor(IntPtr hmonitor, MONITOR_DPI_TYPE dpiType, UInt32& dpiX, UInt32& dpiY) ...
For example, if the only thing behind the Avalonia Window is the Desktop, then trying to drag and drop a file on the window will just move the file to the desktop to a spot behind the window. This 'ghost window' behavior only seems to happen when dragging files, but even if I drag...
I'm using NixOS and was trying out the Avalonia.FuncUI, I ran into the following error while using it: # builds fine $ dotnet build # breaks $ dotnet run Unhandled Exception: System.DllNotFoundException: Unable to load shared library 'li...
Easy to repro: var bitmap = new Bitmap("jpegfile.jpg"); var imgStream = new MemoryStream(); bitmap.Save(imgStream); var bitmapfromstream = new Bitmap(imgStream); throws an exception on Skia, but works on Direct2D. I had a feeling it coul...