Rediger

Del via


AssociatedControlConverter.FilterControl(Control) Method

Definition

Indicates whether the provided control inherits from WebControl.

protected:
 override bool FilterControl(System::Web::UI::Control ^ control);
protected override bool FilterControl (System.Web.UI.Control control);
override this.FilterControl : System.Web.UI.Control -> bool
Protected Overrides Function FilterControl (control As Control) As Boolean

Parameters

control
Control

The control instance to test whether it is a WebControl.

Returns

true if the control inherits from the WebControl class; otherwise, false.

Notes to Inheritors

The implementation of the FilterControl(Control) method returns true when the control is an instance of the WebControl class. Classes that derive from the AssociatedControlConverter override this method to provide their own filtering mechanism.

Applies to

See also