HtmlControlDesigner.PreFilterProperties(IDictionary) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈