System.Web.UI.Design.WebControls.BaseDataListDesigner.PreFilterProperties Method

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

Syntax

protected override void PreFilterProperties (IDictionary properties)

Parameters

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

Remarks

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

For controls that are derived from the System.Web.UI.WebControls.BaseDataList class, the BaseDataListDesigner.PreFilterProperties(IDictionary) creates design-time properties to shadow the System.Web.UI.WebControls.BaseDataList.DataSource, System.Web.UI.WebControls.BaseDataList.DataMember, System.Web.UI.WebControls.BaseDataList.DataKeyField, and System.Web.UI.WebControls.BaseDataList.DataSourceID properties.

Requirements

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0