This is a migrated thread and some comments may be shown as answers.

Concatenating strings in XAML

0 Answers 362 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dhanya
Top achievements
Rank 1
Dhanya asked on 17 Feb 2020, 05:26 AM

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>

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Dhanya
Top achievements
Rank 1
Share this question
or