DataPagerDesigner.PreFilterProperties Method (IDictionary)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 override void PreFilterProperties(
	IDictionary properties
)

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
Available since 3.5
Return to top
Show: