ComponentDesigner.PostFilterProperties(IDictionary) Metódus

Definíció

Lehetővé teszi a tervezők számára, hogy módosítsák vagy eltávolítsák az elemeket az általa egy adott tulajdonságon keresztül TypeDescriptorelérhetővé tott tulajdonságok készletéből.

protected:
 virtual void PostFilterProperties(System::Collections::IDictionary ^ properties);
protected virtual void PostFilterProperties(System.Collections.IDictionary properties);
abstract member PostFilterProperties : System.Collections.IDictionary -> unit
override this.PostFilterProperties : System.Collections.IDictionary -> unit
Protected Overridable Sub PostFilterProperties (properties As IDictionary)

Paraméterek

properties
IDictionary

Az összetevő osztályának tulajdonságai.

Megjegyzések

Ezzel a módszerrel módosíthatja vagy eltávolíthatja a szótárban lévő tulajdonságok azon elemeit, amelyek egy TypeDescriptor.

A tulajdonságok szótárában a kulcsok a tulajdonságok nevei. Az objektumok típusa PropertyDescriptor. Ezt a metódust közvetlenül a metódus után hívjuk meg PreFilterProperties .

Megjegyzések az öröklőkhöz

Közvetlenül szűrheti a paraméteren keresztül properties elérhető szótárat, vagy változatlanul hagyhatja. Ha felülbírálja ezt a módszert, hívja meg az alap implementációt, miután elvégezte a saját szűrését. Ezenkívül nem távolíthat el elemeket a PostFilterProperties(IDictionary) metódusból. Ehelyett módosítsa az attribútumokat az elemek elrejtéséhez. A metódus elemeit PreFilterProperties(IDictionary) is eltávolíthatja.

A következőre érvényes:

Lásd még