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

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

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

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

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