Edit

Share via


DataPagerDesigner.PreFilterProperties(IDictionary) Method

Definition

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

protected:
 override void PreFilterProperties(System::Collections::IDictionary ^ properties);
protected override void PreFilterProperties (System.Collections.IDictionary properties);
override this.PreFilterProperties : System.Collections.IDictionary -> unit
Protected Overrides Sub PreFilterProperties (properties As IDictionary)

Parameters

properties
IDictionary

A collection that contains the properties that are exposed in the property grid for the DataPager control at design time.

Remarks

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(IDictionary) method to add properties to or change attributes of properties in the design-time property collection. Make sure that you call the base class' PreFilterProperties(IDictionary) method before you perform other processing.

Applies to

See also