99 references to Count
PresentationFramework (2)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1501
if (0 <= index && index < properties.
Count
)
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
2223
if ((pdc == null) || (pdc.
Count
== 0))
System (6)
compmod\system\componentmodel\design\DesignerOptionService.cs (1)
208
propList = new ArrayList(props.
Count
);
compmod\system\componentmodel\PropertyDescriptorCollection.cs (5)
198
Array.Copy(properties, 0, array, index,
Count
);
205
PropertyDescriptor[] newProps = new PropertyDescriptor[
Count
];
206
Array.Copy(properties, 0, newProps, 0,
Count
);
459
return
Count
;
720
if (index < (owner.
Count
- 1)) {
System.Activities (2)
System\Activities\DynamicActivityTypeDescriptor.cs (1)
112
for (int i = 0; i < dynamicProperties.
Count
; i++)
System\Activities\RuntimeArgument.cs (1)
217
for (int i = 0; i < properties.
Count
; i++)
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
758
if (subPropertyDescriptors != null && subPropertyDescriptors.
Count
> 0)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
508
PropertyDescriptor[] array = new PropertyDescriptor[incoming.
Count
];
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
575
for (int i = 0; i < properties.
Count
; ++i)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (2)
130
if (props != null && props.
Count
> 0)
142
List<PropertyDescriptor> newProps = new List<PropertyDescriptor>(props.
Count
);
System.ComponentModel.DataAnnotations (1)
DataAnnotations\Validator.cs (1)
444
List<KeyValuePair<ValidationContext, object>> items = new List<KeyValuePair<ValidationContext, object>>(properties.
Count
);
System.Data (7)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
758
if (subPropertyDescriptors != null && subPropertyDescriptors.
Count
> 0)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
508
PropertyDescriptor[] array = new PropertyDescriptor[incoming.
Count
];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
575
for (int i = 0; i < properties.
Count
; ++i)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (2)
130
if (props != null && props.
Count
> 0)
142
List<PropertyDescriptor> newProps = new List<PropertyDescriptor>(props.
Count
);
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
451
PropertyDescriptor[] propertiesArray = new PropertyDescriptor[propertyDescriptors.
Count
];
fx\src\data\System\Data\xmlsaver.cs (1)
113
for (int i = 0 ; i < pds.
Count
; i++) {
System.Web (28)
UI\DataSourceHelper.cs (1)
41
if ((propDescs != null) && (propDescs.
Count
!= 0)) {
UI\WebControls\AdRotator.cs (1)
367
if (propertyDescriptors != null && propertyDescriptors.
Count
> 0) {
UI\WebControls\DataGrid.cs (1)
943
if ((propDescs != null) && (propDescs.
Count
!= 0)) {
UI\WebControls\DetailsViewRowsGenerator.cs (1)
65
if ((propDescs != null) && (propDescs.
Count
!= 0)) {
UI\WebControls\ErrorStyle.cs (2)
65
PropertyDescriptor[] newProperties = new PropertyDescriptor[oldProperties.
Count
];
68
for (int i=0; i < oldProperties.
Count
; i++) {
UI\WebControls\ErrorTableItemStyle.cs (2)
63
PropertyDescriptor[] newProperties = new PropertyDescriptor[oldProperties.
Count
];
66
for (int i=0; i < oldProperties.
Count
; i++) {
UI\WebControls\GridViewColumnsGenerator.cs (2)
104
if (propDescs.
Count
== 0) {
111
if ((propDescs != null) && (propDescs.
Count
!= 0)) {
UI\WebControls\SubMenuStyle.cs (2)
272
PropertyDescriptor[] newProperties = new PropertyDescriptor[oldProperties.
Count
];
283
for (int i = 0; i < oldProperties.
Count
; i++) {
UI\WebParts\PropertyGridEditorPart.cs (5)
55
if (GetEditableProperties(editableObject, false).
Count
> 0) {
114
for (int i=0; i < properties.
Count
; i++) {
304
propertyDisplayNames = new string[propDescs.
Count
];
305
propertyDescriptions = new string[propDescs.
Count
];
306
for (int i=0; i < propDescs.
Count
; i++) {
UI\WebParts\RowToParametersTransformer.cs (6)
107
parametersData = new HybridDictionary(consumerSchema.
Count
);
108
if (consumerSchema.
Count
> 0) {
110
if (providerSchema != null && providerSchema.
Count
> 0) {
111
if (providerSchema.
Count
== consumerSchema.
Count
) {
112
for (int i=0; i < providerSchema.
Count
; i++) {
UI\WebParts\TransformerConfigurationWizardBase.cs (3)
147
if (schema != null && schema.
Count
> 0) {
148
names = new string[schema.
Count
* 2];
149
for (int i=0; i < schema.
Count
; i++) {
UI\WebParts\WebPartMenuStyle.cs (2)
182
PropertyDescriptor[] newProperties = new PropertyDescriptor[oldProperties.
Count
];
206
for (int i = 0; i < oldProperties.
Count
; i++) {
System.Web.Extensions (1)
UI\WebControls\QueryableDataSourceView.cs (1)
589
int maxColumns = props.
Count
;
System.Web.Mobile (8)
UI\MobileControls\DataSourceHelper.cs (1)
58
if ((propDescs != null) && (propDescs.
Count
!= 0))
UI\MobileControls\Design\MobileControlPersister.cs (3)
361
for (int i = 0; i < propDescs.
Count
; i++) {
521
for (int i = 0; i < properties.
Count
; i++) {
561
if ((subProps == null) || (subProps.
Count
== 0)) {
UI\MobileControls\Design\PropertyOverridesDialog.cs (2)
1070
PropertyDescriptor[] arpd = new PropertyDescriptor[newProperties.
Count
];
1071
for(int i = 0; i < newProperties.
Count
; i++)
UI\MobileControls\Design\StylesEditorDialog.cs (1)
439
for (int i = 0; i < propDescs.
Count
; i++)
UI\MobileControls\ObjectList.cs (1)
851
if (propertyDescriptors != null && propertyDescriptors.
Count
> 0)
System.Windows.Forms (35)
winforms\Managed\System\WinForms\AxHost.cs (1)
2885
for (int i = 0; i < baseProps.
Count
; ++i) {
winforms\Managed\System\WinForms\Binding.cs (1)
535
for (int i = 0; i < propInfos.
Count
; i++) {
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (1)
196
for (int j=0; j<itemProps.
Count
; j++) {
winforms\Managed\System\WinForms\BindingSource.cs (2)
1470
for (int j = 0; j < this.itemShape.
Count
; j++) {
1478
for (int j = 0; j < this.itemShape.
Count
; j++) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
1393
if (props != null && props.
Count
> 0) {
1396
PropertyDescriptor[] descs = new PropertyDescriptor[props.
Count
];
winforms\Managed\System\WinForms\Control.cs (2)
17311
for (int i = 0; i < props.
Count
; i++) {
18030
for (int i = 0; i < props.
Count
; i++) {
winforms\Managed\System\WinForms\DataGrid.cs (1)
8743
for (int i = 0; i < props.
Count
; i ++) {
winforms\Managed\System\WinForms\DataGridColumn.cs (2)
383
int propCount = propCollection.
Count
;
384
for (int i = 0; i < propCollection.
Count
; i++)
winforms\Managed\System\WinForms\DataGridTable.cs (2)
1395
int propCount = propCollection.
Count
;
1419
int propCount = propCollection.
Count
;
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (2)
386
for (int i = 0; i < this.props.
Count
; i++)
1022
for (int i = 0; i < this.props.
Count
; i++)
winforms\Managed\System\WinForms\Design\EventsTab.cs (4)
157
if (namespaceProperties.
Count
> 0) {
159
for (int i = 0; i < namespaceProperties.
Count
; i++) {
186
PropertyDescriptor[] finalEvents = new PropertyDescriptor[realEvents.
Count
+ realNamespaceProperties.Length];
188
Array.Copy(realNamespaceProperties, 0, finalEvents, realEvents.
Count
, realNamespaceProperties.Length);
winforms\Managed\System\WinForms\ListBindingHelper.cs (1)
636
if (!(enumerable is IList) && (pdc == null || pdc.
Count
== 0)) {
winforms\Managed\System\WinForms\ListControl.cs (1)
305
int propsCount = props.
Count
;
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
1318
showEvents = showEvents && events != null && events.
Count
> 0;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (4)
1580
PropertyDescriptor[] propertyDescriptors = new PropertyDescriptor[props.
Count
];
1586
if (defProp == null && props.
Count
> 0)
1594
if ((props == null || props.
Count
== 0) && objType != null && objType.IsArray && obj != null)
1611
entries = new GridEntry[props.
Count
];
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (2)
58
IDictionary values = new Hashtable(props.
Count
);
61
for (int i = 0; i < props.
Count
; i++) {
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (3)
161
for (int i = 0; i < propCollections[0].
Count
; i++) {
168
if (posArray[j] >= propCollections[j].
Count
) {
213
if (jPos < propCollections[j].
Count
) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertiesTab.cs (1)
59
for (int i = 0; i < props.
Count
; i++) {
winforms\Managed\System\WinForms\SelectionRangeConverter.cs (2)
116
string[] args = new string[props.
Count
];
118
for (int i = 0; i < props.
Count
; i++) {
System.Workflow.Runtime (1)
System\Activities\Statements\Interop.cs (1)
606
for (int i = 0; i < interopProperties.
Count
; i++)
WindowsBase (3)
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (3)
175
int cnt = properties.
Count
;
281
List<PropertyDescriptor> newDescriptors = new List<PropertyDescriptor>(baseProps.
Count
);
283
for (int idx = 0; idx < baseProps.
Count
; idx++)