25 references to IsSelected
System.Windows.Forms (2)
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (2)
176if (_owningTreeNode.IsSelected) 251internal override bool IsItemSelected => _owningTreeNode.IsSelected;
System.Windows.Forms.Tests (23)
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
34Assert.False(treeNode.IsSelected);
System\Windows\Forms\TreeNodeTests.cs (10)
29Assert.False(node.IsSelected); 69Assert.False(node.IsSelected); 117Assert.False(node.IsSelected); 160Assert.False(node.IsSelected); 208Assert.False(node.IsSelected); 1826Assert.False(node.IsSelected); 1844Assert.False(node.IsSelected); 1866Assert.Equal(expected, node.IsSelected); 1885Assert.Equal(expected, node.IsSelected); 1897Assert.False(node.IsSelected);
System\Windows\Forms\TreeViewTests.cs (12)
6837Assert.True(treeView.Nodes[0].IsSelected); 6843Assert.True(treeView.Nodes[0].IsSelected); 6849Assert.True(treeView.Nodes[0].IsSelected); 6867Assert.True(node.IsSelected); 6874Assert.False(node.IsSelected); 6900Assert.True(treeNode.Nodes[0].IsSelected); 6906Assert.True(treeNode.Nodes[0].IsSelected); 6912Assert.True(treeNode.Nodes[0].IsSelected); 6933Assert.True(node.IsSelected); 6940Assert.False(node.IsSelected); 6966Assert.True(treeNode.Nodes[0].IsSelected); 6973Assert.False(treeNode.Nodes[0].IsSelected);