Last active
June 29, 2022 00:14
-
-
Save emoacht/3bc4aa5185b49ece2c2252124ab6456c to your computer and use it in GitHub Desktop.
Fill TextBlock with major and minor version.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TextBlock> | |
<TextBlock.Text> | |
<!-- View is bound to View Model which has Version Version property. --> | |
<MultiBinding StringFormat="v{0}.{1}"> | |
<Binding Path="Version.Major"/> | |
<Binding Path="Version.Minor"/> | |
</MultiBinding> | |
</TextBlock.Text> | |
</TextBlock> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment