Hi Artemy,
Thanks for Contacting Syncfusion Support.
Requirement: To bind the custom ViewModel for Selected Items.
The SelectedItems property of SfDiagram is type of SelectorViewModel which is the default DataContext of Selector. We assumed that your requirement is to bind the SelectorViewModel (from ViewModel class) to SelectedItems property of SfDiagram. We have represented this in simple sample. Please refer to that as below.
Sample Details:
We have created ViewModel (named as “DiagramVM”) for Diagram with Custom property for SelectedItems.
Regards,
Ranjitha A.