public void SymbolsOnlyFilterIsCorrect()
        {
            var source = new IconItemSource();

            source.Filter("Global");
            foreach (var item in source.FilteredSymbolItems)
            {
                Assert.IsTrue(item.IsSymbol);
            }

            source.Filter("ED55");
            Assert.IsTrue(source.FilteredSymbolItems.Count == 0);
        }
示例#2
0
 private void SearchTextBox_TextChanged(object sender, TextChangedEventArgs args)
 {
     source.Filter((sender as TextBox).Text);
 }