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>