Open this page in the API Guide

LayerViewModel.selected Property