public RedirectFilterWindow()
        {
            InitializeComponent();

            // set new filters to be enabled by default
            loadedFilterState = true;

            FilterName.Focus();
        }
Esempio n. 2
0
        //If name column header gets right clicked display text for live-filtering the book list
        private void BookGrid_PreviewMouseRightButtonUp(object sender, MouseButtonEventArgs e)
        {
            var obj = e.OriginalSource as TextBlock;

            if (obj == null || obj.Text != UiLang.Get("FieldTitle"))
            {
                return;
            }

            FilterName.Visibility = Visibility.Visible;
            FilterName.Focus();
        }