次の方法で共有


DataGridDesigner.GetTemplatePropertyParentType(String) メソッド

定義

注意事項

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

指定したテンプレートの親に対応する Type オブジェクトを取得します。

public:
 override Type ^ GetTemplatePropertyParentType(System::String ^ templateName);
public override Type GetTemplatePropertyParentType (string templateName);
[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 Type GetTemplatePropertyParentType (string templateName);
override this.GetTemplatePropertyParentType : string -> Type
[<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.GetTemplatePropertyParentType : string -> Type
Public Overrides Function GetTemplatePropertyParentType (templateName As String) As Type

パラメーター

templateName
String

テンプレートの名前。

戻り値

指定したテンプレートの親に対応する Type

属性

注釈

メソッドは GetTemplatePropertyParentType 廃止されました。 テンプレート メタデータにアクセスするには、「」を参照してください TemplateDefinition

適用対象

こちらもご覧ください