ArcGIS Pro 2.7 API Reference Guide
InitializeForMultipleTemplateProperties Method (ToolOptionsEmbeddableControl)

ArcGIS.Desktop.Editing Namespace > ToolOptionsEmbeddableControl Class : InitializeForMultipleTemplateProperties Method
tool options obtained from each of the templates for the given toolID
called just before OpenAsync when this IEditingCreateToolControl is being used within the TemplateProperties dialog, and multiple templates have been selected for change
Syntax
public virtual bool InitializeForMultipleTemplateProperties( 
   IEnumerable<ToolOptions> optionsCollection
)
Public Overridable Function InitializeForMultipleTemplateProperties( _
   ByVal optionsCollection As IEnumerable(Of ToolOptions) _
) As Boolean

Parameters

optionsCollection
tool options obtained from each of the templates 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
The EditingCreateToolControl must choose to display combined values, either as a common value, or as some marking that the values differ. Any required changes should be saved directly into each of the specified ToolOptions. After ArcGIS.Desktop.Framework.Controls.EmbeddableControl.CloseAsync is called, the ToolOptions will then be saved into the Templates.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ToolOptionsEmbeddableControl Class
ToolOptionsEmbeddableControl Members