ControlDesigner.PreFilterProperties(IDictionary) 方法

定義

調整元件透過 TypeDescriptor 公開的屬性集。

C#
protected override void PreFilterProperties (System.Collections.IDictionary properties);

參數

properties
IDictionary

IDictionary,包含元件的類別屬性。

備註

這個 IDesignerFilter 介面方法覆寫會在設計階段將一組屬性新增至此設計工具的元件。 這個方法會新增下列可流覽屬性:、、、 Location Controls AllowDrop ContextMenu Name 和 。 Locked Enabled Visible

適用於

產品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8
Windows Desktop 3.0, 3.1, 5, 6, 7

另請參閱