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