편집

다음을 통해 공유


FilterFactory.CreateFilterControl(MetaColumn, String) Method

Definition

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