예제 #1
0
        /// <summary>
        /// Extract all Section Families from this collection
        /// </summary>
        /// <returns></returns>
        public SectionFamilyCollection GetSections()
        {
            var result = new SectionFamilyCollection();

            foreach (Family vProp in this)
            {
                if (vProp is SectionFamily)
                {
                    result.Add((SectionFamily)vProp);
                }
            }
            return(result);
        }
예제 #2
0
 protected override void OnCollectionChanged()
 {
     //Clear cached data:
     _Sections      = null;
     _PanelFamilies = null;
 }