PropertyFilterOptions Enumeration
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.ComponentModelAssembly: WindowsBase (in windowsbase.dll)
| Member name | Description | |
|---|---|---|
| All | Return all properties. | |
| Invalid | Return only those properties that are not valid given the current context of the object. See Remarks. | |
| None | Return no properties | |
| SetValues | Return only those properties that have local values currently set. | |
| UnsetValues | Return only those properties whose local values are not set, or do not have properties set in an external expression store (such as binding or deferred resource). | |
| Valid | Return any property that is valid on the object in the current scope. See Remarks. |
This filter mechanism is only implemented by the custom DependencyPropertyDescriptor for DependencyObject.
Invalid and Valid are relevant only for attached properties. The validity of a property is determined by working with the following attributes: AttachedPropertyBrowsableForChildrenAttribute , AttachedPropertyBrowsableForTypeAttribute, AttachedPropertyBrowsableWhenAttributePresentAttribute which define the intended scope of the attached property in the logical tree. Designers who populate property grids must examine the value or presence of these attributes and the relative position of the current element versus either a parent or child element that "owns" the attached property. This relationship will define whether an attached property that is set on the current element is valid or invalid, with regard to the property options specified by PropertyFilterOptions.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.