avaloniaui Questions
1
I am thinking about porting my app made in WPF to Avalonia.
My first requirement is to enable click-through transparency (same as <Window Background="{x:Null}" WindowStyle="None&q...
Lucre asked 16/10, 2021 at 20:48
1
I have created a project using Avalonia UI MVVM C# project. and I am very new to this. I am using the Community Toolkit MVVM package, not the Reactive UI package. There are two pages, "MainWin...
Earsplitting asked 15/1, 2023 at 17:31
5
I am hoping to port an Electron app over to Avalonia. The app currently uses Paper.js to draw and manage interactions with complex polygons. Looking into Avalonia, I noticed it uses Skia, which see...
Ruddle asked 6/5, 2020 at 4:22
2
I have been trying various techniques to try and get the button label text center aligned. When I look at the button in the Avalonia DevTools inpspector, I can see the the AccessText TextAlignment ...
Antefix asked 16/2, 2022 at 17:43
1
Solved
.Net Conf is currently underway and I learnt about something called Avalonia UI. (I use .NET MAUI) After doing some research, Avalonia UI was primarily a desktop UI framework that now support...
Dwarfish asked 9/11, 2022 at 8:23
2
Solved
I am writing a small app for as a school project and I cannot figure out how can I change the window icon. I found the "Icon" property of Window, but I have no clue how it works, as I hav...
Bereft asked 29/4, 2021 at 21:21
2
Solved
I am playing with Avalonia and I am trying to show a message box equivalent to WinForms' MessageBox.Show(). I have found the GitHub issue that is requesting an API for that but I am wondering what ...
Postpaid asked 16/4, 2019 at 10:43
1
Solved
I am new to Avalonia/ WPF, Xaml and desktop development in general so please forgive and clarify any related misunderstandings I demonstrate. I will continue to study available documentation but I ...
Bourges asked 14/2, 2022 at 23:1
1
Solved
I'm looking for the right approach to declare design-time ViewModel for an Avalonia window.
Some samples suggest
d:DataContext="{d:DesignInstance viewModels:LoginViewModel, IsDesignTimeCreatab...
Elwaine asked 11/12, 2021 at 23:8
1
Solved
I'm trying to figure out how to do animations in Avalonia.
I have a path with 4 linesegements and I want to animate each point to a new position. In WPF I have done it like this:
public void Anima...
Titrate asked 28/11, 2021 at 18:40
1
Solved
In WPF, you can detect whether it is showing in design mode using
DesignerProperties.GetIsInDesignMode
What's the equivalent in Avalonia UI
Metathesize asked 17/11, 2021 at 5:22
1
Solved
I'm trying out styles in avalonia and most works, except for pseudoclasses, they just get ignored.
I have created a window and all styles are in there and I have created a user control (with a butt...
Hospitality asked 2/3, 2021 at 15:43
1
Solved
In GDI+ one can draw directly onto the canvas (create an in-memory bitmap and do whatever needs to be done there).
I need the same for Avalonia for 'custom controls' and I was informed that that is...
Talkathon asked 20/1, 2021 at 8:30
1
Solved
I am trying to use ReactiveUI along with Avalonia. Due to initialization order in Avalonia 0.10 preview following code fails:
class ViewModel : IActivatableViewModel
{
public ViewModel(){
this.Wh...
Perfidious asked 4/12, 2020 at 16:5
1
Solved
I'm working with OpenFileDialog, SaveFileDialog and OpenFolderDialog in an Avalonia application.
One requirement is to set the title to a certain string.
I achieved this for OpenFileDialog and Save...
Libya asked 9/8, 2020 at 6:46
1
Solved
I'm implementing a UserControl which should display a list of settings:
public class SettingPropertyItem {
string Name { get; }
Type ValueType { get; }
object Value { get; set; }
}
Based on eac...
Dream asked 1/8, 2020 at 15:42
0
I need to create a simple app to draw a graph network onto a canvas. As I use .net core it seems that one of the best solutions could be Avalonia + Skia backend. The problem is that I haven't found...
Windtight asked 28/4, 2020 at 18:26
1
Solved
I am creating an app using avalonia which has some UI stuff in another assembly because of re-usability. Within this additional assembly, i want to have a Resource.xml file which is referenced by t...
Blackout asked 12/9, 2019 at 15:40
1
Solved
In WPF it was a bit more confusing how to bind colors, like background color to a viewmodel property.
Are there other ways to bind Colors in Avalonia ?
Or is this example a good way ?
Avalonia ...
Theurer asked 1/6, 2017 at 19:33
1
Solved
Selectors look very similar to CSS. What selectors are available in Avalonia? What is the meaning of this selector for example:
<Style Selector="ListBoxItem:selected /template/ ContentPresenter...
Orpheus asked 29/5, 2017 at 11:48
1
© 2022 - 2025 — McMap. All rights reserved.