다음을 통해 공유


DataGridDesigner.SetTemplateContent 메서드

정의

주의

Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202

지정된 템플릿과 프레임에 대한 내용을 설정합니다.

public:
 override void SetTemplateContent(System::Web::UI::Design::ITemplateEditingFrame ^ editingFrame, System::String ^ templateName, System::String ^ templateContent);
public override void SetTemplateContent (System.Web.UI.Design.ITemplateEditingFrame editingFrame, string templateName, string templateContent);
[System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")]
public override void SetTemplateContent (System.Web.UI.Design.ITemplateEditingFrame editingFrame, string templateName, string templateContent);
override this.SetTemplateContent : System.Web.UI.Design.ITemplateEditingFrame * string * string -> unit
[<System.Obsolete("Use of this method is not recommended because template editing is handled in ControlDesigner. To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")>]
override this.SetTemplateContent : System.Web.UI.Design.ITemplateEditingFrame * string * string -> unit
Public Overrides Sub SetTemplateContent (editingFrame As ITemplateEditingFrame, templateName As String, templateContent As String)

매개 변수

editingFrame
ITemplateEditingFrame

내용을 설정하는 ITemplateEditingFrame입니다.

templateName
String

템플릿의 이름입니다.

templateContent
String

템플릿의 새 내용입니다.

특성

적용 대상

추가 정보