Edit

Share via


ChangePasswordDesigner.PreFilterProperties(IDictionary) Method

Definition

Used by the designer to remove or add additional properties for display in the Properties grid or to shadow properties of the associated control.

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

A collection implementing the IDictionary of the added and shadowed properties.

Remarks

Control designers use methods derived from the ComponentDesigner.PreFilterProperties method to shadow various control properties with corresponding design-time properties that the designer implements, and to add or remove properties from the Properties grid.

For the ChangePassword control, the PreFilterProperties method sets the Browsable attribute to false for properties that do not apply to templates (removes them from the Properties grid) when a user template has been defined.

Notes to Inheritors

Override the PreFilterProperties(IDictionary) method to add properties to or change attributes of properties in the design-time property collection. Be sure to call the base method before performing other processing.

Applies to

See also