protected override void PreFilterProperties(System.Collections.IDictionary properties)
		{
			base.PreFilterProperties(properties);
			const string propName = "Function Type";
			properties[propName] = new FunctionTypePropertyDescriptor(this, 
				TypeDescriptor.CreateProperty(
				Component.GetType(),
				propName,
				typeof(FunctionType),
				new Attribute[] 
					{
						CategoryAttribute.Default,
						RefreshPropertiesAttribute.All
					}));
		}
Esempio n. 2
0
        protected override void PreFilterProperties(System.Collections.IDictionary properties)
        {
            base.PreFilterProperties(properties);
            const string propName = "Function Type";

            properties[propName] = new FunctionTypePropertyDescriptor(this,
                                                                      TypeDescriptor.CreateProperty(
                                                                          Component.GetType(),
                                                                          propName,
                                                                          typeof(FunctionType),
                                                                          new Attribute[]
            {
                CategoryAttribute.Default,
                RefreshPropertiesAttribute.All
            }));
        }