Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
34 views

In my Avalonia app using the MVVM Community Toolkit, I need to dynamically create a ComboBox from code-behind, having it data-bound to a collection of a subclass of a class that encapsulates ...
Eric Eggers's user avatar
2 votes
2 answers
84 views

I'm trying to override the default value of ToolTip.ShowOnDisabledProperty to be true for all controls. I've tried the following: static App() { ToolTip.ShowOnDisabledProperty.OverrideDefaultValue&...
zacoons's user avatar
  • 371
0 votes
0 answers
54 views

I am working on Avalonia UI and I am having difficulty removing the sharp transparent edges from my UI. I wanted to make a custom Title bar which will perform similar to the default titlebar but I am ...
NeoGenesis521's user avatar
1 vote
0 answers
77 views

In my app, I use a viewmodel variable in conjunction with the viewlocator to switch between pages on the window. <Grid Grid.Row="0" Grid.Column="1" Grid.RowSpan="2">...
Lisery's user avatar
  • 59
0 votes
1 answer
169 views

I am developing an Avalonia application and I decided to try the multi-platform. The project I started is using .NET 8.0, infact I installed the .NET 8.0.121 SDK. When I start the application on the ...
DigioMatthy's user avatar
2 votes
1 answer
158 views

I'm developing an Avalonia Application and I'm trying to figure out how can I make a DataGrid cell editable, here's my DataGrid to make it more clear: <DataGrid IsReadOnly="False" ...
DigioMatthy's user avatar
0 votes
0 answers
64 views

I have a listbox defined as follows: <ListBox Name="MyListBox" AutomationProperties.AutomationId="MyWindow_MyListBox" ItemsSource="{Binding MyItems}" ...
Alexander's user avatar
  • 20.3k
1 vote
2 answers
85 views

Currently, in my AvaloniaUI app, I have a AppStyles.axaml containing some hard-coded style definitions for a few of the StreamGeometry icons taken from https://avaloniaui.github.io/icons.html: <...
Alexander's user avatar
  • 20.3k
1 vote
1 answer
101 views

I've created a custom button in Avalonia UI. It is intended to be used as 'momentary' button (active on press, inactive on release). On pc/mouse environment everything works ok. But on touch device, ...
mmmihovil's user avatar
-2 votes
1 answer
82 views

I have a TreeView that uses data binding to render itself. When a given node in the TreeView is selected, I want to update a TextBox with that node's data. When the user edits the text in the TextBox, ...
Eric Bergman-Terrell's user avatar
1 vote
0 answers
59 views

In my AvaloniaUI application I have a user control that's basically a PathIcon with a TextBlock caption, the contents of which are bound to dependency properties. One DP is IsActive, which when true ...
Eric Eggers's user avatar
0 votes
1 answer
162 views

I am using Avalonia with CommunityToolkit MVVM. When I change the Property (integer) within the original VM, where it is defined, it does update the view. When I change the Property from a child class,...
Martin's user avatar
  • 1
0 votes
0 answers
32 views

I want to create my own style for a radio button in Avalonia, but when I want to set an image using a binding, the image doesn't load. If I try to load the image directly as an image source, it works. ...
svisc's user avatar
  • 1
0 votes
0 answers
98 views

I'm using Avalonia 11.0 and I need to accomplish the following behaviour on a custom Autocompletebox control: If the input text is empty the dialog should show all the items of the collection the ...
Fiabio's user avatar
  • 33
-1 votes
2 answers
203 views

I have Custom control, looking like this: using Avalonia; using Avalonia.Controls; using Client.Attributes; using Client.ViewModels; namespace Client.Controls; [ViewModel(typeof(...
Aleksa Ristic's user avatar
0 votes
0 answers
107 views

I’m trying to run a cross-platform Avalonia UI app on Arch Linux (Hyprland). The desktop (Linux) and browser versions work fine, but the Android and iOS versions fail to launch with the following ...
Ali-Muhammad Zakaryaev's user avatar
1 vote
0 answers
99 views

How do I add combo box items based on a view-model collection in Avalonia so that the combo box auto-sizes to the content? I've tried using a TextBlock inside an ItemRepeater's DataTemplate, but the ...
Becca's user avatar
  • 1,602
0 votes
0 answers
215 views

I need to create style to Avalonia DataGrid that have rounded header and no vertical and horizontal separators. I`m trying to remove separators with this: <DataGrid.Styles> <Style ...
UltraMurlock's user avatar
0 votes
0 answers
46 views

We've got a macOS Avalonia problem when trying to package multiple builds for different cpu architectures in the same macOS .app bundle. We are attempting to place the entire x64 and arm64 build ...
Jason L.'s user avatar
0 votes
1 answer
41 views

I'm writing an application using Avaloniaui. I'm pretty sure the question is for .NET in general, though. I want the user to be able to specify an app that will be used to open certain file types. In ...
Frederik Steinmetz's user avatar
0 votes
1 answer
226 views

I have a problem with AvaloniaUI on MacOS, where the dock icon isn't what I have specified, it's always an exec icon like that. Changing the icon file doesn't help at all. I checked it and it's a ...
OstryJR's user avatar
  • 11
0 votes
0 answers
70 views

I'm learning the Avalonia framework and my goal was to embed it into an existing Angular application. To accomplish this, I used an iframe and passed the source to index.html generated by dotnet ...
VRa3's user avatar
  • 21
0 votes
1 answer
182 views

My goal is to create different Avalonia UI applications for specific screen resolutions. For example 4k or some specific portrait orientation. During development, I would like to scale the GUI to ...
Grosche's user avatar
0 votes
0 answers
117 views

I have two views, DeviceListView & LoadingView, that are present in LocateDeviceView like this: <UserControl xmlns="https://github.com/avaloniaui" xmlns:x="http://...
Muhammad Waqar's user avatar
1 vote
1 answer
763 views

I'm trying to come up with a better approach for my other problem: Avalonia: Get Numeric UpDown to parse the text on lost focus In short: I'd like a TextBox that ignores non-numeric characters while ...
Frederik Steinmetz's user avatar

1
2 3 4 5
12