34 references to IsExpanded
System.Windows.Forms (7)
System\Windows\Forms\Controls\TreeView\TreeNode.cs (3)
1680
if (!
IsExpanded
)
1946
bool expanded =
IsExpanded
;
2107
if (
IsExpanded
)
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (4)
68
if (_owningTreeNode.
IsExpanded
)
90
: _owningTreeNode.
IsExpanded
94
=> _owningTreeNode.
IsExpanded
221
return _owningTreeNode.
IsExpanded
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
2034
if (node.
IsExpanded
)
System.Windows.Forms.Tests (26)
System\Windows\Forms\AccessibleObjects\TreeNode.TreeNodeAccessibleObjectTests.cs (8)
111
Assert.Equal(isExpanded, node.
IsExpanded
);
115
Assert.Equal(!isExpanded, node.
IsExpanded
);
360
Assert.False(node.
IsExpanded
);
364
Assert.True(node.
IsExpanded
);
376
Assert.False(node.
IsExpanded
);
380
Assert.False(node.
IsExpanded
);
393
Assert.True(node.
IsExpanded
);
397
Assert.False(node.
IsExpanded
);
System\Windows\Forms\TreeNodeCollectionTests.cs (1)
33
Assert.False(treeNode.
IsExpanded
);
System\Windows\Forms\TreeNodeTests.cs (13)
28
Assert.False(node.
IsExpanded
);
68
Assert.False(node.
IsExpanded
);
116
Assert.False(node.
IsExpanded
);
159
Assert.False(node.
IsExpanded
);
207
Assert.False(node.
IsExpanded
);
1742
Assert.False(node.
IsExpanded
);
1760
Assert.False(node.
IsExpanded
);
1783
Assert.Equal(expected, node.
IsExpanded
);
1803
Assert.Equal(expected, node.
IsExpanded
);
1815
Assert.False(node.
IsExpanded
);
4792
node.
IsExpanded
.Should().Be(expectedState);
4849
node.
IsExpanded
.Should().BeTrue();
4852
node.
IsExpanded
.Should().BeFalse();
System\Windows\Forms\TreeViewTests.cs (4)
7438
treeView.Nodes[0].
IsExpanded
.Should().BeFalse();
7439
treeView.Nodes[1].
IsExpanded
.Should().BeFalse();
7449
treeView.Nodes[0].
IsExpanded
.Should().BeTrue();
7450
treeView.Nodes[1].
IsExpanded
.Should().BeTrue();