public Page2()
        {
            _dockpanelRow = 4;
            _dockPanelColumn = 1;

            _comboBoxUserControl = new ComboBoxUserControl(ComboBoxOptionsList, ComboBoxIdentityList);
            _textBoxUserControl = new TextBoxUserControl(ComboBoxOptionsList, ComboBoxIdentityList);

            InitializeComponent();

            _editorRow = 4;
            _editorColumm = 0;

        }
        private void ButtonTextBoxUserControl_Click(object sender, RoutedEventArgs e)
        {
            if (GridToSave.Children.Contains(_textBoxUserControl))
            {
                GridToSave.Children.Remove(_textBoxUserControl);
            }
            else
            {
                TextBoxUserControl textBoxUserControl = new TextBoxUserControl(ComboBoxOptionsList, ComboBoxIdentityList);
                _textBoxUserControl = textBoxUserControl;

                Grid.SetRow(_textBoxUserControl, _editorRow);
                //Grid.SetColumnSpan(_textBoxUserControl, 2);
                Grid.SetColumn(_textBoxUserControl, _editorColumm);

                _textBoxUserControl.Margin = new Thickness(0, 20, 0, 0);

                GridToSave.Children.Add(_textBoxUserControl);
            }
            if (GridToSave.Children.Contains(_comboBoxUserControl))
            {
                GridToSave.Children.Remove(_comboBoxUserControl);
            }
        }