private void UpdateCategorization(bool updateSubPropertiesCategorization) { _propertyItemCollection.UpdateCategorization(this.ComputeCategoryGroupDescription(), this.PropertyContainer.IsCategorized, this.PropertyContainer.IsSortedAlphabetically); if (updateSubPropertiesCategorization && (_propertyItemCollection.Count > 0)) { foreach (PropertyItem propertyItem in _propertyItemCollection) { PropertyItemCollection subPropertyItemsCollection = propertyItem.Properties as PropertyItemCollection; if (subPropertyItemsCollection != null) { subPropertyItemsCollection.UpdateCategorization(this.ComputeCategoryGroupDescription(), this.PropertyContainer.IsCategorized, this.PropertyContainer.IsSortedAlphabetically); } } } }
private void UpdateCategorization() { _propertyItemCollection.UpdateCategorization(this.ComputeCategoryGroupDescription()); }
private void UpdateCategorization() { _propertyItemCollection.UpdateCategorization(this.ComputeCategoryGroupDescription(), this.PropertyContainer.IsCategorized); }