Browse Source

PropertyGrid: removing properties that are not Browsable

pull/1645/head
brianlagunas_cp 15 years ago
parent
commit
8030f0a09e
  1. 3
      ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs

3
ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs

@ -335,7 +335,8 @@ namespace Microsoft.Windows.Controls.PropertyGrid
var descriptors = GetPropertyDescriptors(instance);
foreach (PropertyDescriptor descriptor in descriptors)
{
propertyItems.Add(CreatePropertyItem(descriptor, instance, this));
if (descriptor.IsBrowsable)
propertyItems.Add(CreatePropertyItem(descriptor, instance, this));
}
}
catch (Exception ex)

Loading…
Cancel
Save