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

Possible to use this for TargetNullValue? #24

Open
viswanathr88 opened this issue Jun 9, 2020 · 0 comments
Open

Possible to use this for TargetNullValue? #24

viswanathr88 opened this issue Jun 9, 2020 · 0 comments

Comments

@viswanathr88
Copy link

One of the main things I downloaded this is for being able to set TargetNullValue from XAML. I'm only able to set it to a string directly in XAML. While the following compiles:

<TextBlock Text="{x:Bind Key.Name, TargetNullValue={strings:Resources Key=UnknownAlbumText}}"
                                       Style="{StaticResource BodyTextBlockStyle}"
                                       TextWrapping="Wrap"
                                       TextTrimming="CharacterEllipsis"
                                       MaxLines="2"
                                       x:Phase="0"/>

the value does not show up. Any idea if this can be used for this use case?

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

No branches or pull requests

1 participant