ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Controls Namespace / EmbeddableControl Class / Create Method / Create(String) Method
The DAML ID of the component declaring the EmbeddedControl.
Example

In This Topic
    Create(String) Method
    In This Topic
    Creates an instance of an EmbeddableControl and its View in a ViewModel-View fashion.
    Syntax
    Public Overloads Shared Function Create( _
       ByVal damlID As String _
    ) As Tuple(Of EmbeddableControl,UserControl)

    Parameters

    damlID
    The DAML ID of the component declaring the EmbeddedControl.

    Return Value

    The ViewModel-View pair.
    Remarks
    This function assumes the EmbeddableControl is registered in the "esri_embeddableControls" category in DAML. The DAML definition must additionally contain the View associated with the EmbeddableControl.
    Example
    <categories>
      <updateCategory refID="esri_embeddableControls">
        <insertComponent id="EmbeddedDockPane_control" className="SampleEmbeddableControlViewModel">
          <content className="SampleEmbeddableControlView" relatedCommand="EmbeddedDockPane_SampleDockPane_ShowButton" />
        </insertComponent>
      </updateCategory>
    </categories>
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also