FilterFactory.CreateFilterControl(MetaColumn, String) 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.
Creates an instance of the filter template.
public:
virtual System::Web::DynamicData::QueryableFilterUserControl ^ CreateFilterControl(System::Web::DynamicData::MetaColumn ^ column, System::String ^ filterUIHint);
public virtual System.Web.DynamicData.QueryableFilterUserControl CreateFilterControl (System.Web.DynamicData.MetaColumn column, string filterUIHint);
abstract member CreateFilterControl : System.Web.DynamicData.MetaColumn * string -> System.Web.DynamicData.QueryableFilterUserControl
override this.CreateFilterControl : System.Web.DynamicData.MetaColumn * string -> System.Web.DynamicData.QueryableFilterUserControl
Public Overridable Function CreateFilterControl (column As MetaColumn, filterUIHint As String) As QueryableFilterUserControl
Parameters
- column
- MetaColumn
The data column to which the filter template applies.
- filterUIHint
- String
The name of the filter template to use.
Returns
An instance of the QueryableFilterUserControl class.
Exceptions
column
is null.
Remarks
This method is called by Dynamic Data to get an instance of a filter template. Derived classes can override this method to customize how instances of filter templates are created. For example, a custom implementation could load templates from a compiled assembly instead of from the default ~/DynamicData/Filters folder.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기