Skip to content

Possible to use this for TargetNullValue? #24

@viswanathr88

Description

@viswanathr88

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions