Example #1
0
 private void AttachToVisualTree()
 {
     SearchBar = GetTemplateChild(PART_SearchBar) as FilterControl;
     SearchBar.TargetControl = this;
 }
        private static void OnFilterFiringIntervalChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            FilterControl filterBox = d as FilterControl;

            filterBox.timer.Interval = new TimeSpan(0, 0, 0, 0, filterBox.FilterFiringInterval);
        }