/// <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); }
protected override void OnCollectionChanged() { //Clear cached data: _Sections = null; _PanelFamilies = null; }