src/Misc/EFTools/XmlCore/UI/ViewModels/PropertyWindow/PropertyWindowViewModelHelper.cs
/// <summary>
///     filter the specified collection of properties and
///     return only those properties that are browsable
/// </summary>
/// <param name="properties"></param>
/// <returns></returns>
filter the specified collection of properties and
return only those properties that are browsable
filter the specified collection of properties and return only those properties that are browsable
internal static PropertyDescriptorCollection GetBrowsableProperties(PropertyDescriptorCollection properties)
        {
            var browsableProperties = new PropertyDescriptorCollection(null);
            foreach (PropertyDescriptor propDescriptor in properties)
            {
                if (propDescriptor.IsBrowsable)
                {
                    browsableProperties.Add(propDescriptor);
                }
            }
            return browsableProperties;
        }
internal static PropertyDescriptorCollection GetBrowsableProperties ( PropertyDescriptorCollection properties ) { var browsableProperties = new PropertyDescriptorCollection ( null ) ; foreach ( PropertyDescriptor propDescriptor in properties ) { if ( propDescriptor . IsBrowsable ) { browsableProperties . Add ( propDescriptor ) ; } } return browsableProperties ; }
filter the specified collection of properties and
return only those properties that are browsable
filter the specified collection of properties and return only those properties that are browsable
// the IsBrowsable verification is not done as part of the caching in GetProperties because  // the IsBrowsable state can change when the values of other properties change.
None
properties
PropertyDescriptorCollection
None