Im adding text TextBlock Text1,Text2,Text3 in Adddata() fucntion as follow.
if (i == 0)
{
Text1.Text = tagname.AlarmTag;
}
if (i == 1)
{
Text2.Text = tagname.AlarmTag;
}
if (i == 2)
{
Text3.Text = tagname.AlarmTag;
}
Now in deletedata() i want to clear all contents in three textblock. How can i do that?because i cannot find Clear option.I want to clear text of three textblock at a time.