ReswPlus icon indicating copy to clipboard operation
ReswPlus copied to clipboard

Possible to use this for TargetNullValue?

Open viswanathr88 opened this issue 5 years ago • 0 comments

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?

viswanathr88 avatar Jun 09 '20 20:06 viswanathr88