private void ReplaceStyling()
        {
            if(string.IsNullOrEmpty(this.StylingFindWhat))
            {
                return;
            }

            RadFlowDocumentEditor editor = new RadFlowDocumentEditor(this.Document);

            if (this.useRegex)
            {
                Regex searchedTextRegex = new Regex(this.StylingFindWhat);
                editor.ReplaceStyling(searchedTextRegex, properties => properties.HighlightColor.LocalValue = Colors.Yellow);
            }
            else
            {
                editor.ReplaceStyling(this.StylingFindWhat, this.MatchCase, this.MatchWholeWord, properties => properties.HighlightColor.LocalValue = Colors.Yellow);
            }
        }