Implemented interface member:
12 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)
29=> !this.TryGetOwnerAs(out LinkLabel? owner) ? null : owner.Links.Count != 0 33=> !this.TryGetOwnerAs(out LinkLabel? owner) ? null : owner.Links.Count != 0 48public override int GetChildCount() => this.TryGetOwnerAs(out LinkLabel? owner) ? owner.Links.Count : 0;
System.Windows.Forms.Tests (1)
System\Windows\Forms\AccessibleObjects\LinkLabel.Link.LinkAccessibleObjectTests.cs (1)
220for (int index = 0; index < linkLabel.Links.Count; index++)