Question : Setting TextBlock Text Property dynamically

I have a data template that contains a textblock in it and I want the Text to be dynamic.  I am new to Silverlight and WPF, how do I do this.  Please see the attached code and look for the Text ="[DYNAMIC TEXT HERE]".  This is where I want to call a function in the code behind of the xaml and return a specific value.  Thank you in advance for your help.
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:

            
                
                    
                        
                            
                        
                        
                    
                
            
            

Answer : Setting TextBlock Text Property dynamically

I'm not sure what you're putting in it, but you can use Binding to bind to XML, database, and other CLR objects to dynamically change on your source and/or target depending on what way the flow is going.  For an more info on Binding try using MSDN's overview Binding Overview. For a more comprehenisive look check out this. Part 1 Part 2
Random Solutions  
 
programming4us programming4us