Concatenating strings in XAML

1 posts, 0 answers
  1. Dhanya
    Dhanya avatar
    3 posts
    Member since:
    Feb 2020

    Posted 16 Feb Link to this post

    I have a popup shown below which has a ContentControl using a Template. In the ContentControl I want to concatenate two strings in the xaml.  I am using similar popups in different screens where only the Content varies with control name of the screen.I want to split this content into two static resources(static resource1=Plate Name , static resource2=can't contain special characters ) and want to use it in xaml as concatenated.

    Is there any way to achieve this ? Any small help would be appreciated!

                            <Popup Name="PlateNameInvalidPopup" VerticalOffset="4">
                                <ContentControl Template="{StaticResource InvalidCharPopupTemplate}" 
                                    Content="Plate Name can't contain special characters">
                                </ContentControl>
                            </Popup>

Back to Top