TreeView.IsSelected

public bool IsSelected(int id);

Parameters

idTreeViewItem ID.

Description 描述

Returns true if the TreeViewItem with ID id is currently selected.