/*
* public void SetFilterName(string name) {
* string title = FindResource("txtSetFilter") as string;
* textBlock1.Text = title.Replace("(VAL)", name);
* }
*/
public StringSearchCriteriaDialog(string property, string value, string displayname)
{
InitializeComponent();
//SetFilterName(displayname);
string title = FindResource("txtSetFilter") as string;
textBlock1.Text = title.Replace("(VAL)", displayname);
textBox1.Text = Utilities.GetValueOnly(property, value);
textBox1.Focus();
}