protected override void PreFilterProperties(IDictionary properties)
 {
     base.PreFilterProperties(properties);
     if (this.Templated)
     {
         foreach (string str in _nonTemplateProperties)
         {
             PropertyDescriptor oldPropertyDescriptor = (PropertyDescriptor)properties[str];
             if (oldPropertyDescriptor != null)
             {
                 properties[str] = TypeDescriptor.CreateProperty(oldPropertyDescriptor.ComponentType, oldPropertyDescriptor, new Attribute[] { BrowsableAttribute.No });
             }
         }
     }
     RenderOuterTableHelper.SetupRenderOuterTable(properties, base.Component, false, base.GetType());
 }
Example #2
0
 protected override void PreFilterProperties(IDictionary properties)
 {
     base.PreFilterProperties(properties);
     RenderOuterTableHelper.SetupRenderOuterTable(properties, base.Component, true, base.GetType());
 }