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.

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