public static string get_Text_Wpf(this RibbonTextBox textBox)
 {
     return((string)textBox.wpfInvoke(
                () =>
     {
         return textBox.Text;
     }));
 }
 public static RibbonTextBox set_Text_Wpf(this RibbonTextBox textBox, string text)
 {
     return((RibbonTextBox)textBox.wpfInvoke(
                () =>
     {
         textBox.Text = text;
         return textBox;
     }));
 }