Customize "Avalonia Application" title in MacOS
See original GitHub issueI’ve noticed that when running my project after dotnet publish
on MacOS (Catalina), the title “Avalonia Application” appears in the upper bar
Also there is an “About” submenu that opens this dialog:
How can I change this and maybe replace with custom graphics?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
macOS Distribution
macOS applications are typically distributed in a .app application bundle. ... MyApp.app/Contents/MacOS/ , and the name should match CFBundleExecutable .
Read more >Avalonia Custom TitleBar Template
This is based on the Aavalonia MVVM Template, but allows for easy customization of the TitleBar, as well as Content on the whole...
Read more >How to define a separate set of styles for each platform/OS ...
Initialize using StyleInclude class (See App.xaml from application template). For platform detection you can use AvaloniaLocator.Current.
Read more >Build amazing cross-platform UI for .NET with Avalonia UI!
Avalonia UI enables developers to build pixel-perfect, high-fidelity cross-platform desktop, web and mobile apps with .NET and C#.
Read more >Highest scored 'avalonia' questions
I'm working with OpenFileDialog, SaveFileDialog and OpenFolderDialog in an Avalonia application. One requirement is to set the title to a certain string.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jeffdoolittle
App
class can have it’s ownDataContext
You are supposed to initialize it inOnFrameworkInitializationCompleted
Name
property on theApplication
in yourApp.xaml
App.xaml
:it will replace the default one.
We probably need that in our default app template.