Windows Phoneアプリケーションで名前でコントロールを検索することはできますか?私はそれがc#で書かれた通常のデスクトップアプリケーションで可能であることを知っています:
string s = "label2";
Control[] controls = this.Controls.Find(s, false);
if (controls.Length > 0)
{
Label found = controls[0] as Label;
if (found != null) found.Text = "new label2 text";
}
Windows Phoneアプリケーションでは、「this.Controls」は認識されません。