/// <summary> /// Gets the category for the specified property. /// </summary> /// <param name="pd">The property descriptor.</param> /// <param name="declaringType">The declaring type.</param> /// <returns> /// A category string. /// </returns> protected virtual string GetCategory(PropertyDescriptor pd, Type declaringType) { return(pd.GetCategory()); }