ControlIDConverter.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.
Returns a value indicating whether the control ID of the specified control is added to the TypeConverter.StandardValuesCollection that is returned by the GetStandardValues(ITypeDescriptorContext) method.
protected:
virtual bool FilterControl(System::Web::UI::Control ^ control);
protected virtual bool FilterControl (System.Web.UI.Control control);
abstract member FilterControl : System.Web.UI.Control -> bool
override this.FilterControl : System.Web.UI.Control -> bool
Protected Overridable Function FilterControl (control As Control) As Boolean
Parameters
- control
- Control
The control instance to test for inclusion in the TypeConverter.StandardValuesCollection.
Returns
true
in all cases.
Notes to Inheritors
The implementation of the FilterControl(Control) method returns true
in all cases. Classes that derive from the ControlIDConverter override this method to provide their own filtering mechanism. For example, the AssociatedControlConverter class overrides the FilterControl(Control) method and returns true
only if the control is a Web server control.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈