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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應