This documentation is archived and is not being maintained.

HtmlControlDesigner.PreFilterProperties Method

Modifies the set of properties that the designer exposes through a TypeDescriptor object.

[Visual Basic]
Overrides Protected Sub PreFilterProperties( _
   ByVal properties As IDictionary _
)
[C#]
protected override void PreFilterProperties(
 IDictionary properties
);
[C++]
protected: void PreFilterProperties(
 IDictionary* properties
);
[JScript]
protected override function PreFilterProperties(
   properties : IDictionary
);

Parameters

properties
The set of properties to filter for the component.

Remarks

This method provides a way to add items to the dictionary of properties that a designer exposes through a TypeDescriptor.

The keys in the dictionary of properties are the names of the properties. The objects are of type PropertyDescriptor. This method is called immediately before PostFilterProperties.

Notes to Implementers:  You can directly modify the dictionary that is accessible through the properties parameter, or you can leave it unchanged. If you are overriding this method, call the base implementation before you perform your own filtering.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

HtmlControlDesigner Class | HtmlControlDesigner Members | System.Web.UI.Design Namespace | IDesignerFilter

Show: