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

Code Quality: Replaced BoolToVisibilityConverter with implicit conversion expression #16723

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Lamparter
Copy link
Contributor

@Lamparter Lamparter commented Jan 20, 2025

Resolved / Related Issues

Steps used to test these changes

  1. Opened Files
  2. Tested various places where these converters were used

WinUI now allows you to directly apply a boolean value to a UIElement's visibility attribute.
I've gone ahead and replaced the WCT converter with an implicit conversion to make it easier to switch to 8.x down the line and relying less on WCT.

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

Successfully merging this pull request may close these issues.

1 participant