Skip to content

Possible to use this for TargetNullValue? #24

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?

Activity

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

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