ArcGIS Pro 2.6 API Reference Guide
InitializeForTemplateProperties Method (ToolOptionsEmbeddableControl)

ArcGIS.Desktop.Editing Namespace > ToolOptionsEmbeddableControl Class : 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
public virtual bool InitializeForTemplateProperties( 
   ToolOptions options
)
Public Overridable 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 10, Windows 8.1, Windows 7

See Also

Reference

ToolOptionsEmbeddableControl Class
ToolOptionsEmbeddableControl Members