Implemented interface member:
property
Count
System.Collections.ICollection.Count
62 references to Count
System.Web.Mobile (1)
UI\MobileControls\Design\StylesEditorDialog.cs (1)
399
Debug.Assert(_lvAvailableStyles.Items.
Count
> 0);
System.Windows.Forms (49)
winforms\Managed\System\WinForms\ListView.cs (45)
1693
if (Items.
Count
> 0) {
1701
if (topIndex >= 0 && topIndex < Items.
Count
)
1722
if ((topItem == null) && (topIndex == Items.
Count
)) // HACK ALERT! VSWhidbey bug 154094/Windows OS Bugs bug 872012
1869
if (value && Items.
Count
> 0)
2392
this.Items.
Count
> 0) {
2415
this.Items.
Count
> 0) {
2426
for (int i = 0; i < this.Items.
Count
; i ++) {
3059
if (index < 0 || index >= Items.
Count
) {
3071
if (this.Items.
Count
== 0) {
3089
if (startIndex < 0 || startIndex >= this.Items.
Count
)
3154
if (this.Items.
Count
== 0) {
3192
for (int i = startIndex; i < this.Items.
Count
; i ++) {
3412
if (index < 0 || index >= this.Items.
Count
) {
3440
if (index < 0 || index >= this.Items.
Count
)
3500
if (itemIndex < 0 || itemIndex >= this.Items.
Count
) {
3711
for (int i = 0; i < this.Items.
Count
; i ++) {
3764
if (this.IsHandleCreated && this.Items.
Count
== 0 && this.View == View.SmallIcon && this.ComctlSupportsVisualStyles)
4100
if (this.Items.
Count
> 0) {
4363
for (int i = 0; i < this.Items.
Count
; i ++) {
4381
int count = Items.
Count
;
4402
items = new ListViewItem[tempItems.
Count
];
4682
if (startIndex < 0 || startIndex >= this.Items.
Count
)
4686
if (endIndex < 0 || endIndex >= this.Items.
Count
)
4719
if (endIndex < this.Items.
Count
- 1)
5153
if (itemIndex < 0 || itemIndex >= this.Items.
Count
) {
5212
s += ", Items.Count: " + Items.
Count
.ToString(CultureInfo.CurrentCulture);
5213
if (Items.
Count
> 0 && !VirtualMode) {
5942
if (this.Items.
Count
> 0) {
5950
if (this.Items.
Count
== 0 || this.Items[this.Items.
Count
- 1] != null)
6347
if (FocusedItem == null && Items.
Count
> 0)
6453
for(int i=0; i < owner.Items.
Count
&& index < indices.Length; ++i) {
6475
int cnt = owner.Items.
Count
;
6681
for(int i=0; i < owner.Items.
Count
&& index < items.Length; ++i) {
7217
if (itemIndex < 0 || itemIndex >= this.owner.Items.
Count
)
7276
if (itemIndex < 0 || itemIndex >= this.owner.Items.
Count
)
8536
ListViewItem[] itemArray = new ListViewItem[items.
Count
];
8611
for (int i = 0; i < listViewItems.
Count
; i++) {
8649
for(int index=0; index <
Count
; ++index) {
8686
for (int i = 0; i < this.
Count
; i ++) {
8704
return ((index >= 0) && (index < this.
Count
));
8712
if (index < 0 || index >
Count
) {
8791
if (index < 0 || index >=
Count
) {
9002
int count = owner.Items.
Count
;
9042
int count = owner.Items.
Count
;
winforms\Managed\System\WinForms\ListViewGroup.cs (4)
291
if (items != null && items.
Count
> 0) {
292
info.AddValue("ItemsCount", this.Items.
Count
);
293
for (int i = 0; i < Items.
Count
; i ++) {
513
for (int i = 0; i < group.Items.
Count
; i ++) {
System.Workflow.Activities (11)
Rules\Design\Dialogs\BasicBrowserDialog.cs (2)
229
if (this.rulesListView.Items.
Count
> 0)
231
int newSelectionIndex = Math.Min(selectionIndex, this.rulesListView.Items.
Count
- 1);
Rules\Design\Dialogs\IntellisenseTextBox.cs (6)
205
if (this.listBoxAutoComplete.Items.
Count
> 0)
211
else if (this.listBoxAutoComplete.SelectedIndices[0] < this.listBoxAutoComplete.Items.
Count
- 1)
407
if (this.listBoxAutoComplete.Items.
Count
> 0)
422
if (this.listBoxAutoComplete.Items.
Count
> 0)
473
if (string.IsNullOrEmpty(currentValue.Trim()) && this.listBoxAutoComplete.Items.
Count
> 0)
481
for (int i = 0; i < this.listBoxAutoComplete.Items.
Count
; i++)
Rules\Design\Dialogs\RuleSetDialog.cs (3)
115
if (this.rulesListView.Items.
Count
> 0)
327
if (this.rulesListView.Items.
Count
> 0)
329
int newSelectionIndex = Math.Min(selectionIndex, this.rulesListView.Items.
Count
- 1);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
894
if (this.artifactListView.Items.
Count
> 0)