Implemented interface member:
13 references to Count
System.Windows.Forms (11)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (4)
538for (int i = 0; i < Links.Count; i++) 629List<CharacterRange> ranges = new(Links.Count + 1); 1384if (FocusLink is null && Links.Count > 0) 1487if (focusIndex < Links.Count)
System\Windows\Forms\Controls\Labels\LinkLabel.LinkCollection.cs (4)
168if (_owner.Links.Count > 1) 178if (_owner.Links.Count > 1) 275for (int i = 0; i < Count; i++) 294return ((index >= 0) && (index < Count));
System\Windows\Forms\Controls\Labels\LinkLabel.LinkLabelAccessibleObject.cs (3)
28=> !this.TryGetOwnerAs(out LinkLabel? owner) ? null : owner.Links.Count != 0 32=> !this.TryGetOwnerAs(out LinkLabel? owner) ? null : owner.Links.Count != 0 47public override int GetChildCount() => this.TryGetOwnerAs(out LinkLabel? owner) ? owner.Links.Count : 0;
System.Windows.Forms.Tests (2)
LinkLabelTests.cs (1)
116_linkLabel.Links.Count.Should().Be(1);
System\Windows\Forms\AccessibleObjects\LinkLabel.Link.LinkAccessibleObjectTests.cs (1)
220for (int index = 0; index < linkLabel.Links.Count; index++)