Browse Source

PropertyGrid: removing properties that are not Browsable

import/raw
brianlagunas_cp 15 years ago
parent
commit
9b07f8eb0e
  1. 3
      Main/Source/ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/PropertyGrid/Implementation/PropertyGrid.cs

3
Main/Source/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