DefaultAutoFieldGenerator.CreateField 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.
Generates a dynamic data field.
protected:
virtual System::Web::DynamicData::DynamicField ^ CreateField(System::Web::DynamicData::MetaColumn ^ column, System::Web::DynamicData::ContainerType containerType, System::Web::UI::WebControls::DataBoundControlMode mode);
protected virtual System.Web.DynamicData.DynamicField CreateField (System.Web.DynamicData.MetaColumn column, System.Web.DynamicData.ContainerType containerType, System.Web.UI.WebControls.DataBoundControlMode mode);
abstract member CreateField : System.Web.DynamicData.MetaColumn * System.Web.DynamicData.ContainerType * System.Web.UI.WebControls.DataBoundControlMode -> System.Web.DynamicData.DynamicField
override this.CreateField : System.Web.DynamicData.MetaColumn * System.Web.DynamicData.ContainerType * System.Web.UI.WebControls.DataBoundControlMode -> System.Web.DynamicData.DynamicField
Protected Overridable Function CreateField (column As MetaColumn, containerType As ContainerType, mode As DataBoundControlMode) As DynamicField
Parameters
- column
- MetaColumn
The metadata for the column to create the dynamic field for.
- containerType
- ContainerType
The data-bound control that contains the dynamic field.
- mode
- DataBoundControlMode
The access mode for the dynamic field.
Returns
The dynamic field to create.
Remarks
You can override this method to customize dynamic-field options such as the access mode. The access DataBoundControlMode mode specifies the data-entry modes for a data field, such as ReadOnly
, Edit
, and Insert
.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應