This documentation is archived and is not being maintained.

DataPagerDesigner::PreFilterProperties Method

Adds or removes properties from the property grid for the DataPager control.

Namespace:  System.Web.UI.Design.WebControls
Assembly:  System.Web.Extensions.Design (in System.Web.Extensions.Design.dll)

protected:
virtual void PreFilterProperties(
	IDictionary^ properties
) override

Parameters

properties
Type: System.Collections::IDictionary
A collection that contains the properties that are exposed in the property grid for the DataPager control at design time.

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.

.NET Framework

Supported in: 4, 3.5

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.
Show: