ArcGIS Pro 2.9 API Reference Guide
InitializeForTemplateProperties Method (IEditingCreateToolControl)

ArcGIS.Desktop.Editing Namespace > IEditingCreateToolControl Interface : InitializeForTemplateProperties Method
tool options obtained from the template for the given toolID.
Called just before OpenAsync when this IEditingCreateToolControl is being used within the TemplateProperties dialog, and a single template has been selected for change.
Syntax
bool InitializeForTemplateProperties( 
   ToolOptions options
)
Function InitializeForTemplateProperties( _
   ByVal options As ToolOptions _
) As Boolean

Parameters

options
tool options obtained from the template for the given toolID.

Return Value

True, when the implementation wants to display something in Template Properties dialog.
False, don't display anything in Template Properties dialog.
Remarks
Any required changes should be saved directly into the specified ToolOptions. After ArcGIS.Desktop.Framework.Controls.EmbeddableControl.CloseAsync is called, the ToolOptions will then be saved into the Template.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

IEditingCreateToolControl Interface
IEditingCreateToolControl Members