Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AdvancedDataGridDemo for newer Avalonia versions #5

Open
GitClickOk opened this issue Nov 17, 2022 · 1 comment
Open

AdvancedDataGridDemo for newer Avalonia versions #5

GitClickOk opened this issue Nov 17, 2022 · 1 comment

Comments

@GitClickOk
Copy link

I am creating a new avalonia app with:
dotnet new avalonia.mvvm
and then I am trying to make changes to the template to add the Advanced DataGrid changes, but it does not work. when I execute
dotnet run
nothing happens, I didn't receive even errors...
I think it can be because of breaking changes in styles (https://github.com/AvaloniaUI/Avalonia/wiki/Breaking-Changes#default-theme-was-renamed-to-simple) where says "StyleInclude with old relative path won't work anymore."

  1. What can I do to this work with new Avalonia version?
  2. I'm using Avalonia 0.10.18, will this work with the Avalonia vNext (version 11)?
@npolyak
Copy link
Owner

npolyak commented Nov 17, 2022

No, unfortunately the older avalonia versions won't work with the newest. I plan to update Avalonia versions for my projects soon.

To use the newest Simple style you should add the following XAML to your App.axaml file:

<Application.Styles>
    <SimpleTheme Mode="Light"/>
</Application.Styles>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants