/// <summary>
        /// Just adds the content items to a list, based on whether the content added should be constrained by ActionType (OptionDisplayHostControl).
        /// </summary>
        /// <param name="optionDisplayControl"></param>
        /// <param name="summaryContentControl"></param>
        /// <param name="contentItemList"></param>
        private void AddContentToSelectedContentList(OptionDisplayHostControl optionDisplayControl, SummaryContentControl summaryContentControl, List<UIContentItem> contentItemList)
        {
            if (!selectAllCheckBox.Checked && summaryContentControl.Selected)
            {
                if (optionDisplayControl != null)
                {
                    contentItemList.Add(summaryContentControl.ContentItems[optionDisplayControl.Name]);
                    SetApplyToAll(summaryContentControl.ContentItems[optionDisplayControl.Name], selectAllCheckBox.Checked);
                }
                else
                {
                    foreach (UIContentItem content in summaryContentControl.ContentItems.Values)
                    {
						if (m_selectedContentItems.Contains(content))
						{
							contentItemList.Add(content);
							SetApplyToAll(content, selectAllCheckBox.Checked);
						}
                    }
                }
            }
            else if (selectAllCheckBox.Checked)
            {
                summaryContentControl.Selected = true;
                if (optionDisplayControl != null)
                {
                    contentItemList.Add(summaryContentControl.ContentItems[optionDisplayControl.Name]);
                    SetApplyToAll(summaryContentControl.ContentItems[optionDisplayControl.Name], selectAllCheckBox.Checked);
                }
                else
                {
                    foreach (UIContentItem content in summaryContentControl.ContentItems.Values)
                    {
                        contentItemList.Add(content);
                        SetApplyToAll(content, selectAllCheckBox.Checked);
                    }
                }
            }
        }
        /// <summary>
        /// Tests the content controls against the current display host tab (if any) and changes the SelectContextValid property on each content
        /// item control appropriately
        /// </summary>
        /// <param name="optionDisplayControl"></param>
        private void SetSelectionContexts(OptionDisplayHostControl optionDisplayControl)
        {
			string name = (optionDisplayControl == null ? null : optionDisplayControl.Name);
            foreach (SummaryContentControl summaryContentControl in m_summaryContentControlList)
            {
				if (summaryContentControl.Policies.Count == 0)
				{
					continue;
				}
                bool valid = true;
                if (name != null)
                {
                    summaryContentControl.SelectionContexts.TryGetValue(name, out valid);
                }
                summaryContentControl.SelectedContextValid = valid;
            }
        }