System.Web.UI.FilterableAttribute Class

Specifies whether the property to which the attribute is applied supports device filtering. This class cannot be inherited.

See Also: FilterableAttribute Members


[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class FilterableAttribute : Attribute


The System.Web.UI.FilterableAttribute attribute is applied to a property to specify whether the property supports device filtering. When a property supports device filtering, you can override the value of a property for a specific device by specifying a device filter. By default, properties are filterable, so a control developer could prevent device filtering on a property by setting the System.Web.UI.FilterableAttribute attribute to false. For more information, see Customizing for Specific Devices.

For more information about using attributes, see Extending Metadata Using Attributes.

For a list of initial property values for an instance of the System.Web.UI.FilterableAttribute class, see the FilterableAttribute.#ctor(bool) constructor.


Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0