示例#1
0
        private void AddManualFilter()
        {
            var dc = this.DataContext as DirectoryViewModel;

            dc.ManualFilter(manualFilter.Text, false);
            manualFilter.Text = "";
            manualFilter.ClearValue(AutoCompleteBox.TextProperty);
        }
 protected void ConfirmPressHappened(AutoCompleteBox sender)
 {
     AddTag(sender.DataContext as DirectoryItem, sender.Text);
     sender.Text = "";
     sender.ClearValue(AutoCompleteBox.TextProperty);
 }