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 InheritorsOverride 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 SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.