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

Unable to use binding with Foreground property of DataGridTextColumn #38

Closed
Depechie opened this issue Dec 24, 2015 · 4 comments
Closed

Comments

@Depechie
Copy link

I'm trying to use binding with a converter in a UWP app for the Forground property of DataGridTextColumn.
By using following code:
Foreground="{Binding IsPrio, Converter={StaticResource BoolToColorConverter}}"

I'm always getting following exception: WinRT information: Failed to assign to property 'MyToolkit.Controls.DataGridTextColumn.Foreground'

I've added a repro to test.
TestMyToolkitGrid.zip

@RicoSuter
Copy link
Owner

The problem is that the properties on DataGridTextColumn are not dependency properties

@RicoSuter
Copy link
Owner

Fixed in 7b5ef3e

@Depechie
Copy link
Author

Ha great will try the fix when I have the time :)

@RicoSuter
Copy link
Owner

Yes, please. But it is not available as nuget yet... Just download the sources and reference the necessary projects...

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