public static void Bind(TextBlock tb, string path, string stringFormat = "")
        {
            Binding localeBinding = BlueStacksUIBinding.GetLocaleBinding(path);

            if (!string.IsNullOrEmpty(stringFormat))
            {
                localeBinding.StringFormat = stringFormat;
            }
            BindingOperations.SetBinding((DependencyObject)tb, TextBlock.TextProperty, (BindingBase)localeBinding);
        }
 public static void Bind(TextBox textBox, string path)
 {
     BindingOperations.SetBinding((DependencyObject)textBox, TextBox.TextProperty, (BindingBase)BlueStacksUIBinding.GetLocaleBinding(path));
 }
 public static void Bind(Image button, string path)
 {
     BindingOperations.SetBinding((DependencyObject)button, FrameworkElement.ToolTipProperty, (BindingBase)BlueStacksUIBinding.GetLocaleBinding(path));
 }
 public static void Bind(Button button, string path)
 {
     BindingOperations.SetBinding((DependencyObject)button, ContentControl.ContentProperty, (BindingBase)BlueStacksUIBinding.GetLocaleBinding(path));
 }
 public static void Bind(ComboBoxItem comboBoxItem, string path)
 {
     BindingOperations.SetBinding((DependencyObject)comboBoxItem, ContentControl.ContentProperty, (BindingBase)BlueStacksUIBinding.GetLocaleBinding(path));
 }
 public static void Bind(DependencyObject icon, string path, DependencyProperty dp)
 {
     BindingOperations.SetBinding(icon, dp, (BindingBase)BlueStacksUIBinding.GetLocaleBinding(path));
 }
 public static void Bind(Window wind, string path)
 {
     BindingOperations.SetBinding((DependencyObject)wind, Window.TitleProperty, (BindingBase)BlueStacksUIBinding.GetLocaleBinding(path));
 }
 public static void Bind(Run run, string path)
 {
     BindingOperations.SetBinding((DependencyObject)run, TextBlock.TextProperty, (BindingBase)BlueStacksUIBinding.GetLocaleBinding(path));
 }
 public static void Bind(GroupBox gb, string path)
 {
     BindingOperations.SetBinding((DependencyObject)gb, HeaderedContentControl.HeaderProperty, (BindingBase)BlueStacksUIBinding.GetLocaleBinding(path));
 }