Open this page in the API Guide

DesignObjectNode.viewModel Property

Gets the viewmodel associated with this node