public bool IsSelected (int id);

Parameters

id TreeViewItem ID。

Description

如果 ID 为 id 的 TreeViewItem 当前已选中,则返回 true。