Esempio n. 1
0
        public static void HighlightableTextChanged(DependencyObject inDO, DependencyPropertyChangedEventArgs inArgs)
        {
            SearchableTextBlock stb = inDO as SearchableTextBlock;

            if (stb == null)
            {
                return;
            }
            stb.Text = stb.HighlightableText;
            stb.OnHighlightableTextChanged?.Invoke(stb, null);
        }
Esempio n. 2
0
        public static void RegularExpressionPropertyChanged(DependencyObject inDO, DependencyPropertyChangedEventArgs inArgs)
        {
            SearchableTextBlock stb = inDO as SearchableTextBlock;

            stb?.OnRegularExpressionChanged?.Invoke(stb, null);
        }
Esempio n. 3
0
        public static void RegexOptionsChanged(DependencyObject inDO, DependencyPropertyChangedEventArgs inArgs)
        {
            SearchableTextBlock stb = inDO as SearchableTextBlock;

            stb.OnRegexOptionsChanged?.Invoke(stb, null);
        }
Esempio n. 4
0
        public static void HighlightableBackgroundChanged(DependencyObject inDO, DependencyPropertyChangedEventArgs inArgs)
        {
            SearchableTextBlock stb = inDO as SearchableTextBlock;

            stb?.OnHighlightBackgroundChanged?.Invoke(stb, null);
        }
Esempio n. 5
0
        public static void SearchWordsPropertyChanged(DependencyObject inDO, DependencyPropertyChangedEventArgs inArgs)
        {
            SearchableTextBlock stb = inDO as SearchableTextBlock;

            stb?.OnSearchWordsChanged?.Invoke(stb, null);
        }