avalonia 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

2

Solved

I am a WPF developer. Our team is looking for a good cross-platform solution to replace the old desktop product developed with WPF. We recently found that Avalonia might be one of the great ways, b...
Cowboy asked 7/1, 2020 at 8:58

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

I need to call method when application is closing in Avalonia. Honestly on startup too, but this can be handled by view model constructor. The obstacle is that Avalonia documentation is empty and b...
Villainous asked 26/1, 2023 at 14:33

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

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 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

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

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 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

© 2022 - 2024 — McMap. All rights reserved.