通过


BaseDataBoundControlDesigner.PreFilterProperties(IDictionary) 方法

定义

由设计器用来删除或添加其他属性,以便在 属性 网格中显示,或添加到关联控件的阴影属性。

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)

参数

properties
IDictionary

IDictionary包含要筛选的属性。

注解

控件设计器使用派 ComponentDesigner.PreFilterProperties 生自该方法的方法来隐藏具有设计器实现的相应设计时属性的各种控件属性,以及从 “属性” 网格添加或删除属性。

BaseDataBoundControl对于类,该PreFilterProperties控件的属性将阴影DataSource。 它创建属性数组 DataSource的副本,然后将这些属性添加到阴影属性。 它将阴影属性的属性设置为Browsable,除非BrowsableDataSourceID控件的属性的属性已设置为 truefalseDataSource

继承者说明

PreFilterProperties(IDictionary)重写方法以向设计时属性集合中的属性添加或更改属性的属性。 在执行其他处理之前,请务必调用基方法。

适用于

另请参阅