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

Use CompiledBindings for Fluent theme #7388

Merged
merged 5 commits into from
Jan 19, 2022
Merged

Conversation

Takoooooo
Copy link
Contributor

@Takoooooo Takoooooo commented Jan 18, 2022

What does the pull request do?

This PR enables CompiledBindings in the Fluent Theme where it is possible.
Places where it isn't possible to use CompiledBindings:

  • Bindings with RelativeSource TemplatedParent in the Style
{Binding Width, RelativeSource={RelativeSource TemplatedParent}}
  • Bindings to methods
  • Bindings to control names
    Note:
    I cant migrate almost everything in ManagedFileChooser because almost everything is located in internal classes and they cant be used for x:DataType.

Fixed issues

Should improve #5711

@Takoooooo Takoooooo marked this pull request as draft January 18, 2022 15:55
@Takoooooo Takoooooo requested a review from a team January 18, 2022 16:08
@Takoooooo Takoooooo marked this pull request as ready for review January 19, 2022 16:45
@maxkatz6 maxkatz6 merged commit 1d44558 into master Jan 19, 2022
@maxkatz6 maxkatz6 deleted the compiledbindings-themes branch January 19, 2022 19:35
danwalmsley pushed a commit that referenced this pull request Jan 24, 2022
Use CompiledBindings for Fluent theme
# Conflicts:
#	src/Avalonia.Themes.Fluent/Controls/ManagedFileChooser.xaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants