DataPagerDesigner::PreFilterProperties Method
Adds or removes properties from the property grid for the DataPager control.
Assembly: System.Web.Extensions.Design (in System.Web.Extensions.Design.dll)
The PreFilterProperties method adds a new property to the property grid of the DataPager control that corresponds to the DataPager::PagedControlID property. If the InTemplateMode property is set to true, the PreFilterProperties method also sets the BrowsableAttribute attribute of the DataPager::Fields property to BrowsableAttribute.No. This prevents pager fields from being deleted by using the Fields dialog box when a templated pager field is in template mode.
Notes to Inheritors:Override the PreFilterProperties method to add properties to or change attributes of properties in the design-time property collection. Make sure that you call the base class’s PreFilterProperties method before you perform other processing.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
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.