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