Redigera

Dela via


HtmlControlDesigner.PreFilterProperties(IDictionary) Method

Definition

Allows the designer to expose a specific set of properties through a TypeDescriptor object at design time.

protected:
 override void PreFilterProperties(System::Collections::IDictionary ^ properties);
protected override void PreFilterProperties (System.Collections.IDictionary properties);
override this.PreFilterProperties : System.Collections.IDictionary -> unit
Protected Overrides Sub PreFilterProperties (properties As IDictionary)

Parameters

properties
IDictionary

The set of properties to filter for the component.

Remarks

The PreFilterProperties method provides a way to add items to or remove items from the dictionary of properties that a designer exposes through a TypeDescriptor object.

The keys in the dictionary of properties are the names of the properties. The objects are of type PropertyDescriptor.

Notes to Inheritors

You can directly modify the dictionary that is accessible through properties or you can leave the dictionary unchanged. If you are overriding the PreFilterProperties(IDictionary) method, call the base implementation before you perform your own filtering.

Applies to

See also