Skip to main content
Filter by
Sorted by
Tagged with
13 votes
2 answers
7k views

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, but ...
CHRISQQ's user avatar
  • 155
10 votes
1 answer
3k views

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"...
Nicke Manarin's user avatar
8 votes
0 answers
1k views

I have an app that uses NET8 and Avalonia and when I publish it with "Produce single file" flag and this flag in csproj <IncludeNativeLibrariesForSelfExtract>true</...
fgsfds's user avatar
  • 687
7 votes
1 answer
4k views

I am new to Avalonia. In WPF, you can easily place the tab control's tabs vertically, demonstrated in below article https://www.wpf-tutorial.com/tabcontrol/tab-positions/ How could I achieve similar ...
imgen's user avatar
  • 3,224
7 votes
1 answer
2k views

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 ...
Niels Bosma's user avatar
  • 11.6k
6 votes
2 answers
6k views

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 is ...
Gene Z. Ragan's user avatar
5 votes
1 answer
3k views

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 ...
user avatar
5 votes
1 answer
6k views

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 the ...
AcidJunkie's user avatar
  • 1,918
5 votes
1 answer
6k views

A little explanation first: This is source code of Popup element And this is example of using Popup DatePicker and it's xaml I've tried use this example on empty window like this Here is result: So ...
Fatih's user avatar
  • 1,154
5 votes
1 answer
314 views

Windows 10 introduced a new share menu, which can be accessed, among other ways, by right-clicking a file in the File Explorer and choosing "Share". I'm developing a Windows program and I'd ...
Bip901's user avatar
  • 878
5 votes
3 answers
1k views

I want to hide a control in Avalonia, and have the space occupied by this control be occupied by adjacent controls instead, just like when you set Visibility to Collapsed in WPF.
Wolly's user avatar
  • 51
4 votes
2 answers
6k views

I'm trying to build the example project that is provided in the Avalonia website but I'm having difficulty with certain parts. I want to use a xaml element in a xaml window in another file like so: &...
kasra's user avatar
  • 372
4 votes
2 answers
4k views

Is there a way to get a list of all windows in Avalonia? The equivalent of this in WPF Application.Current.Windows My requirement is to activate or close a certain window based on its DataContext. If ...
Etienne Charland's user avatar
4 votes
1 answer
3k views

Is there a possibility in AvaloniaUI, to globally capture mouse press button up/down? To be notified about this events outside of any controls (or possibly outside of any particular view model)?
user15123902's user avatar
4 votes
2 answers
5k views

I have Window, inheriting from ReactWindow, and it's connected to its Viewmodel . Everything is working as expected (binding, clicking stuff, hitting commands). So it's working. (code is below) When ...
Gil Sand's user avatar
  • 6,074
4 votes
1 answer
88 views

I'm trying to implement a dynamic class that can be bound to an Avalonia DataGrid. This class should implement INotifyPropertyChanged in order to use DataGrid edition. After search, it seems the best ...
Guillermo Espert's user avatar
4 votes
1 answer
2k views

Whenever I try to restart Avalonia application form base application, I get an exception: "Setup was already called on one of AppBuilder instances." on SetupWithLifetime() call. Application ...
user15123902's user avatar
4 votes
0 answers
650 views

Im working on a WiX installer for an Avaloina UI application. When using heat.exe to generate my components, I get errors for every DLL in my publish folder which say: 1>heat.exe(0,0): warning ...
Adam's user avatar
  • 652
4 votes
2 answers
2k views

I have an Avalonia project I'm tried to build for mac. But when I use dotnet publish to generate the build for osx, there is no executable file generated. It generates a .dll file with the same name ...
Jeremy's user avatar
  • 71
3 votes
2 answers
3k views

What's the equivalent of LayoutTransform in Avalonia? <Slider.LayoutTransform> <ScaleTransform ScaleY="0.7" ScaleX="0.7" /> </Slider.LayoutTransform>
Etienne Charland's user avatar
3 votes
2 answers
2k views

Every time I click the Up or Down button of an Avalonia NumericUpDown control a period with a zero gets added to the value, i.e. it increases as 2.0, 3.0, 4.0 etc. instead of 2, 3, 4 (which would be ...
Ivan's user avatar
  • 64.5k
3 votes
3 answers
2k views

I'm using Avalonia.Controls.DataGrid. By default, when the grid has focus and Enter is pressed, it automatically handles the event and moves the selection to the next item. How can I prevent this ...
Radovan Jankovic's user avatar
3 votes
2 answers
4k views

I have TextBox and Button, when I click Button, the text from TextBox sends to server. And TextBox loses focus. How i can set focus to the TextBox after Button click? I've read about FocusManager, but ...
Алексей Козлов's user avatar
3 votes
1 answer
2k views

I am trying to bind an observable collection of rectangles to an items control with a canvas as the item panel, but there seems to be no way of binding the Canvas.Left and Canvas.Top properties to the ...
92carmnad's user avatar
  • 162
3 votes
3 answers
4k views

I am trying to write a drawing application that allows users to select two points on canvas and draws a line between those points pixel-by-pixel. In WinForms that would be an easy solution - create a ...
Kiryl Volkau's user avatar

1
2 3 4 5
10