34 references to Count
System.Web (28)
UI\StateManagedCollection.cs (7)
119
Debug.Assert(index >= -1 && index <=
Count
, "Expected index to be at least -1 and less than or equal to Count.");
244
if (index <
Count
) {
286
if (index <
Count
) {
550
return
Count
;
593
if (index < 0 || index >=
Count
) {
647
if (index < 0 || index >
Count
) {
731
_hadItems =
Count
> 0;
UI\WebControls\DetailsView.cs (1)
366
int capacity = Fields.
Count
;
UI\WebControls\GridView.cs (1)
417
int capacity = Columns.
Count
;
UI\WebControls\ImageMap.cs (3)
186
_hasHotSpots = ((_hotSpots != null) && (_hotSpots.
Count
> 0));
263
if ((_hotSpots != null) && (_hotSpots.
Count
> 0)) {
316
if (hotSpotIndex >= 0 && hotSpotIndex < _hotSpots.
Count
) {
UI\WebControls\Menu.cs (6)
1784
if ((depth < LevelMenuItemStyles.
Count
) && (LevelMenuItemStyles[depth] != null)) {
1806
if ((depth < LevelSelectedStyles.
Count
) && (LevelSelectedStyles[depth] != null)) {
1980
if ((depth < LevelMenuItemStyles.
Count
) && (LevelMenuItemStyles[depth] != null)) {
1997
if (depth < LevelSelectedStyles.
Count
&& LevelSelectedStyles[depth] != null) {
2025
if ((nextDepth < LevelSubMenuStyles.
Count
) && (LevelSubMenuStyles[nextDepth] != null)) {
2061
_levelStyles.
Count
> nextDepth &&
UI\WebControls\MenuRendererStandards.cs (2)
193
lastIndex = Math.Max(lastIndex, Menu._levelMenuItemStyles.
Count
);
221
if (Menu._levelMenuItemStyles != null && index < Menu._levelMenuItemStyles.
Count
) {
UI\WebControls\ObjectDataSource.cs (1)
831
if (SelectParameters.
Count
> 0) {
UI\WebControls\ParameterCollection.cs (1)
170
for (int i = 0; i <
Count
; i++) {
UI\WebControls\SqlDataSource.cs (1)
890
if (SelectParameters.
Count
> 0) {
UI\WebControls\SqlDataSourceView.cs (1)
1206
for (int i = 0; i < parameters.
Count
; i++) {
UI\WebControls\TreeNode.cs (1)
1143
if ((depth < _owner.LevelStyles.
Count
) && (_owner.LevelStyles[depth] != null) && mergedStyle.ImageUrl.Length > 0) {
UI\WebControls\TreeView.cs (3)
638
_levelImageUrls = new string[LevelStyles.
Count
];
1870
if (depth < LevelStyles.
Count
&& LevelStyles[depth] != null) {
2301
if (depth < LevelStyles.
Count
&& LevelStyles[depth] != null) {
System.Web.DynamicData (1)
DynamicData\DynamicDataExtensions.cs (1)
184
var whereParametersCopy = new Parameter[whereParameters.
Count
];
System.Web.Entity (4)
System\Data\WebControls\EntityDataSource.cs (4)
1189
if (0 < WhereParameters.
Count
&& !AutoGenerateWhereClause && String.IsNullOrEmpty(Where))
1194
if (0 < OrderByParameters.
Count
&& !AutoGenerateOrderByClause && String.IsNullOrEmpty(OrderBy))
1199
if (0 < CommandParameters.
Count
&& String.IsNullOrEmpty(CommandText))
1204
if (0 < SelectParameters.
Count
&& String.IsNullOrEmpty(Select))
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceDesignerHelper.cs (1)
1179
Debug.Assert(newParameters.
Count
== 0, "new parameter collection should not contain any parameters yet");