ArcGIS Pro 2.6 API Reference Guide
InitializeForActiveTemplate Method (ToolOptionsEmbeddableControl)

ArcGIS.Desktop.Editing Namespace > ToolOptionsEmbeddableControl Class : InitializeForActiveTemplate Method
tool options obtained from the template for the given toolID
called just before OpenAsync when this IEditingCreateToolControl is being used within the ActiveTemplate pane
Syntax
public virtual bool InitializeForActiveTemplate( 
   ToolOptions options
)
Public Overridable Function InitializeForActiveTemplate( _
   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 Active Template pane
false, don't display anything in Active Template pane
Remarks
The implementation can choose to display nothing in Active Template pane via the return value.

When ArcGIS.Desktop.Framework.Controls.EmbeddableControl.CloseAsync is called, options won't be stored back into the CIM.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

ToolOptionsEmbeddableControl Class
ToolOptionsEmbeddableControl Members