11 references to VisibleItemCount
System.Workflow.ComponentModel (11)
AuthoringOM\Design\DesignerWidgets.cs (11)
2460
for (int i = 0; (i <
VisibleItemCount
) && ((this.scrollMarker + i) < Items.Count); i++)
2533
int maxItems = Math.Min(this.items.Count - this.scrollMarker,
VisibleItemCount
) + 1;
2554
if (itemIndex < this.scrollMarker || itemIndex >= this.scrollMarker +
VisibleItemCount
)
2712
for (int itemIndex = this.scrollMarker; itemIndex < this.items.Count && itemIndex < (this.scrollMarker +
VisibleItemCount
); itemIndex++)
2775
if (ActiveItem == null ||
VisibleItemCount
== 0)
2783
newMarker = (index < this.scrollMarker) ? index : (index >= this.scrollMarker +
VisibleItemCount
) ? index -
VisibleItemCount
+ 1 : newMarker;
2786
if (this.items.Count >=
VisibleItemCount
&& ((this.items.Count - this.scrollMarker) <
VisibleItemCount
))
2787
newMarker = this.items.Count -
VisibleItemCount
;
2789
if (newMarker >= 0 && newMarker <= Math.Max(this.items.Count -
VisibleItemCount
+ 1, 0))