Questions tagged [avalonia]

AvaloniaUI is a multi-platform GUI framework using XAML for the creation of GUIs. It has many similarities to WPF and can run on Windows, Linux, macOS, Android and iOS. Questions on Avalonia XPF should use [avalonia-xpf] tag instead.

AvaloniaUI is a multi-platform GUI-Framework using XAML for the creation of GUIs. It has many similarities to WPF and can run on Windows, Linux, macOS, Android and iOS.

It's an open source project that can be viewed on GitHub: https://github.com/AvaloniaUI/Avalonia

The same team also work on Avalonia XPF, a cross-platform WPF clone.

270 questions
0
votes
2 answers

DataGridCheckBoxColumn usage -- throws an Unhandled exception

This happens when DataGridCheckBoxColumn is used in a DataGrid and is bound to a boolean property in the backing model. When the column is clicked and the check boxes checked/unchecked -- it behaves as expected -- but then when I close the main…
explorer
  • 11,710
  • 5
  • 32
  • 39
0
votes
2 answers

ReactiveUI connected Observable CanExecute with IsExecuting properties

If CleanCommand is executing then SearchCommand will be inactive. If SearchCommand is executing then CleanCommand will be inactive. Barcode is public long Barcode { get => _barcode; set => this.RaiseAndSetIfChanged(ref _barcode,…
echoman
  • 1
  • 3
0
votes
1 answer

How to store UserInput from TextBox in a variable - Avalonia UI, C#

I Would like to ask you, how can I store a value comming from User input? When User types his Username, I would like to take it and store in a variable.
Matheew
  • 295
  • 3
  • 14
0
votes
1 answer

How to sucessfully use a DataGrid control in Visual Studio 2019 with Avalonia 0.8.3

I've started a brand new project in Visual Studio 2019 using the Avalonia MVVM Application template. I've included the Avalonia, Avalonia.Desktop, Avalonia.Controls.DataGrid, and Avalonia.ReactiveUI packages from NuGet, and updated them all to…
lk75
  • 61
  • 1
  • 7
-1
votes
0 answers

Is it possible to run Appium E2E tests for an Avalonia 11 application on Linux?

We developing an Avalonia 11-based .NET 7 GUI application targeted at Linux desktop. We use Ubuntu 22.04 as development environment. We aim to add E2E testing on top of Linux, if possible both headful (to run locally) and headless (to run on Docker…
rbarriuso
  • 787
  • 8
  • 30
-1
votes
1 answer

How to discover template

I've been struggling with Avalonia and WPF for a while now and I just don't seem to get it. Specifically, I don't get templates. I don't understand what "level" to instantiate a template, and how to even know what templates are available. This…
Sonicsmooth
  • 2,673
  • 2
  • 22
  • 35
-1
votes
0 answers

Database stops being queried after 20 minutes idle

My project is using Entity Framework Core, SQLite, Avalonia and Automapper (it errors before the mappings). After my program started and done configuring and starting another program it will error after sitting for 20 minutes. It doesn't matter if…
-1
votes
0 answers

Unable to Find Entry Point in DLL When Using DllImport in Avalonia UI

I'm currently working on an Avalonia UI project where I need to call a function from a custom DLL using the DllImport attribute. However, I'm encountering an issue where I'm getting the error message: System.EntryPointNotFoundException: 'Unable to…
Zain Samdani
  • 1
  • 1
  • 4
-1
votes
1 answer

How to load an application to systemtray using Avalonia

How can I load an Avalonia application to the systemtray and set the menu items?
user2102
  • 31
  • 6
-2
votes
0 answers

How do i open the devtools in an android app?

On Windows it's F12. I tried F12 in the android app, but it didn't do anything. Is there maybe an option to remote-attach the DevTools window to a running Android instance?
juwens
  • 3,729
  • 4
  • 31
  • 39
-2
votes
1 answer

Is there any cross-platform tool for AvaloniaUI to log events?

What logger should i use at AvaloniaUI? I know about Serilog, but is it cross-platform? Is there any built-in tool for this? Moreover i need to log info to the .log file. This must be cross-platform (Windows, Linux and MacOS).
-2
votes
1 answer

Dynamically add bindings from code in Avalonia

I am quite new to avalonia and have been tasked with converting a C# winforms application over to Avalonia, and I've hit a bump. I'm creating multiple DataGrids dynamically (one datagrid for each student schedule), so this is done in the code as…
-2
votes
1 answer

Binding a property obtained from a method, that returns object

I have a problem with binding with a XAML file. There is a DataContext of Template class that has a GetDisplayParams() method. Method GetDisplayParams() returns an object of type TemplateDisplayParams, that has a Width property. I just need to bind…
Tulesha
  • 9
  • 4
1 2 3
17
18