Open this page in the API Guide

DesignLayerNode.viewModel Property

Gets the viewmodel associated with this node