VB code to accessing a textblock from a XAML file?

Smurfsdabomb

Member
Joined
Jan 10, 2009
Messages
10
Programming Experience
1-3
I have this in my XAML file

VB.NET:
 <TextBlock Width="97" Height="28" Canvas.Left="261" Canvas.Top="204" Text="TextBlock" TextWrapping="Wrap" x:Name="textblock1"/>

How would I access that textblock in VB? As in to change its text for example.
 
Back
Top