private void CreateControls(int? paragraphStateId, string paragraphStateText, int? paragraphStateState, int paragraphId)
        {
            Grid grid_main = new Grid();
            grid_main.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });
            grid_main.RowDefinitions.Add(new RowDefinition() { Height = GridLength.Auto });

            Button button_modifyParagraphState = new Button() { Content = "Modify Paragraph State" };
            button_modifyParagraphState.Click += Button_UpdateParagraphState_Click;
            grid_main.SetGridRowColumn(button_modifyParagraphState, 0, 0);

            m_userControl_paragraphState = new UserControl_ParagraphState(paragraphStateId, paragraphStateText, paragraphStateState, paragraphId, false, true);
            Border border_paragraphState = new Border() { Style = new Style_DefaultBorder() };
            border_paragraphState.Child = m_userControl_paragraphState;
            grid_main.SetGridRowColumn(border_paragraphState, 1, 0);
            m_userControl_paragraphState.SetActiveAndRegisterForGinTubEvents();

            Border border = new Border() { Style = new Style_DefaultBorder(), Child = grid_main };
            Content = border;
        }
 private UIElement CreateControls(int? paragraphStateId, string paragraphStateText, int? paragraphStateState, int paragraphId)
 {
     m_userControl_paragraphState = new UserControl_ParagraphState(paragraphStateId, paragraphStateText, paragraphStateState, paragraphId, true, false);
     return m_userControl_paragraphState;
 }