Modifier

DynamicFieldDesigner.GetTemplateContent Method

Definition

Gets the content of the template field.

public:
 System::String ^ GetTemplateContent(System::Web::UI::WebControls::DataControlField ^ dataControlField, System::Web::UI::WebControls::DataBoundControlMode mode);
public string GetTemplateContent (System.Web.UI.WebControls.DataControlField dataControlField, System.Web.UI.WebControls.DataBoundControlMode mode);
member this.GetTemplateContent : System.Web.UI.WebControls.DataControlField * System.Web.UI.WebControls.DataBoundControlMode -> string
Public Function GetTemplateContent (dataControlField As DataControlField, mode As DataBoundControlMode) As String

Parameters

dataControlField
DataControlField

The data field object.

mode
DataBoundControlMode

The display mode for the specified data field.

Returns

The content of the template field.

Applies to