private UIElement CreateControls(int? itemActionRequirementId, int? itemActionRequirementItem, int? itemActionRequirementAction, int nounId, int paragraphStateId)
 {
     m_userControl_itemActionRequirement = new UserControl_ItemActionRequirement(itemActionRequirementId, itemActionRequirementItem, itemActionRequirementAction, nounId, paragraphStateId, true);
     return m_userControl_itemActionRequirement;
 }
        private void CreateControls(int? actionItemActionRequirementId, int itemActionRequirementItem, int itemActionRequirementAction)
        {
            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_modifyItemActionRequirement = new Button() { Content = "Modify ItemActionRequirement" };
            button_modifyItemActionRequirement.Click += Button_UpdateItemActionRequirement_Click;
            grid_main.SetGridRowColumn(button_modifyItemActionRequirement, 0, 0);

            m_userControl_actionItemActionRequirement = new UserControl_ItemActionRequirement(actionItemActionRequirementId, itemActionRequirementItem, itemActionRequirementAction, NounId, ParagraphStateId, false);
            grid_main.SetGridRowColumn(m_userControl_actionItemActionRequirement, 1, 0);
            m_userControl_actionItemActionRequirement.SetActiveAndRegisterForGinTubEvents();

            Border border = new Border() { Style = new Style_DefaultBorder(), Child = grid_main };
            Content = border;
        }