AssociatedControlConverter.FilterControl(Control) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.