예제 #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);
        }
예제 #2
0
        public static void RegularExpressionPropertyChanged(DependencyObject inDO, DependencyPropertyChangedEventArgs inArgs)
        {
            SearchableTextBlock stb = inDO as SearchableTextBlock;

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

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

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

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