Export (0) Print
Expand All

PropertyFilterAttribute Class

Specifies which properties should be reported by type descriptors, specifically the GetProperties method.

Namespace:  System.ComponentModel
Assembly:  WindowsBase (in WindowsBase.dll)

[AttributeUsageAttribute(AttributeTargets.Method|AttributeTargets.Property)]
public sealed class PropertyFilterAttribute : Attribute
You cannot directly create an instance of this class in XAML.

The PropertyFilterAttribute .NET Framework attribute  supports an internal mechanism that limits the number of properties on a type that are returned by the custom DependencyObject type descriptor. If the .NET Framework attribute is found, the type descriptor narrows the scope of returned properties. PropertyFilterAttribute differs from typical .NET Framework attributes because you cannot apply it to a class as metadata. The filter mechanism works through code instead of through static metadata.

System.Object
  System.Attribute
    System.ComponentModel.PropertyFilterAttribute

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft