private static void ExecutedCutRoutedCommand(object sender, ExecutedRoutedEventArgs e)
        {
            RichTextBoxEx richTextBoxEx = sender as RichTextBoxEx;

            if (richTextBoxEx != null)
            {
                if (!richTextBoxEx.IsReadOnly && !richTextBoxEx.IsReadOnlyWithNavigation)
                {
                    richTextBoxEx.Cut();
                }
                e.Handled = true;
            }
        }