I need to change the ChoreographerTimer class
I need to change this class: https://github.com/AvaloniaUI/Avalonia/blob/master/src/Android/Avalonia.Android/ChoreographerTimer.cs
Because i need to implement my own FPS (Frame per seconds)
But i have problems with the interface IRenderTimer because is marked as [PrivateApi]
PointerPressed not working in DataTemplate
I have following xaml:
How to filter data in Avalonia DataGrid?
I want to convert my WPF application into an Avalonia application.I don’t konwhow to implement data filtering for the datagrid in avalonia.
How to filter data in Avalonia DataGrid?
I want to convert my WPF application into an Avalonia application.I don’t konwhow to implement data filtering for the datagrid in avalonia.
Avalonia: Set a window minimum size to fit its contents
I am aware that Window
has a SizeToContent
property that when set to SizeToContent.WidthAndHeight
keeps the window as small as it can to fit it’s contents.
ProgressBar doesn’t update when changing value in OnLoaded method
I have a window that shows when another process is completing. The other process sets a boolean flag when done – a function returning the status of this flag is passed to the window (this is the function referred to by _signalCompletedFunction). The window ‘winWait’ just shows a cycling progress bar (moves from 1 to 10 repeatedly while waiting). The problem is that the progress bar never updates. (Similar code works in WinForms where ‘OnLoaded’ is replaced by WinForms ‘OnActivated’, but the WinForms progress bar ‘Refresh’ method is also required – this method doesn’t exist in Avalonia).
Where is ContextMenuEventArgs?
I’m trying to code the ‘Opening’ event for a DataGrid.ContextMenu and examples I see online use an event handler method with a second parameter of type ContextMenuEventArgs, but I can’t find any Avalonia namespace containing this type.
Can Avalonia resource folder be in a common location outside of the project folder?
In my C# project file I have:
Avalonia UI: Same background color for textbox focused, not focused, disabled
Is there a way to make a textbox look the same no matter if it is focused, not focused, disabled, etc?
ScrollViewer on TabControl hides contents
I can add scrolling over the tab items of a TabControl using information from this post: https://github.com/AvaloniaUI/Avalonia/discussions/11896