66 references to
PresentationFramework (1)
MS\Internal\Data\PropertyPathWorker.cs (1)
1477name = properties[index].Name;
System.ComponentModel.TypeConverter (4)
System\ComponentModel\PropertyDescriptorCollection.cs (4)
565get => this[index]; 605PropertyDescriptor curProp = _owner[_index]; 610public object Key => _owner[_index].Name; 612public object Value => _owner[_index].Name;
System.Data.Common (1)
System\Data\xmlsaver.cs (1)
126AddXdoProperty(pds[i], instance, root);
System.Windows.Forms (45)
System\Windows\Forms\ActiveX\AxHost.cs (6)
2592Debug.Assert(baseProps[i] is not null, $"Null base prop at location: {i}"); 2594if (baseProps[i].DesignTimeOnly) 2596returnProperties.Add(baseProps[i]); 2600string propName = baseProps[i].Name; 2615prop = new AxPropertyDescriptor(baseProps[i], this); 2620prop = baseProps[i];
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (2)
1051PropertyDescriptor currentProperty = props[i]; 1505PropertyDescriptor currentProperty = props[i];
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (18)
275return _props[boundColumnIndex].Converter; 290if (string.Compare(_props[i].Name, dataPropertyName, ignoreCase: true, CultureInfo.InvariantCulture) == 0) 328return _props[boundColumnIndex].PropertyType; 894return _props[boundColumnIndex].IsReadOnly; 940if (typeof(IList).IsAssignableFrom(_props[i].PropertyType)) 944if (!imageTypeConverter.CanConvertFrom(_props[i].PropertyType)) 950DataGridViewColumn dataGridViewColumn = GetDataGridViewColumnFromType(_props[i].PropertyType); 956dataGridViewColumn.DataPropertyName = _props[i].Name; 957dataGridViewColumn.Name = _props[i].Name; 958dataGridViewColumn.BoundColumnConverter = _props[i].Converter; 959dataGridViewColumn.HeaderText = !string.IsNullOrEmpty(_props[i].DisplayName) ? _props[i].DisplayName : _props[i].Name; 960dataGridViewColumn.ValueType = _props[i].PropertyType; 962dataGridViewColumn.IsBrowsableInternal = _props[i].IsBrowsable; 964dataGridViewColumn.ReadOnly = _props[i].IsReadOnly; 1207Debug.Assert(!_props[i].IsBrowsable || typeof(IList).IsAssignableFrom(_props[i].PropertyType), "if the DGV does not have any columns then the properties in the currency manager should be Browsable(false) or point to sub lists");
System\Windows\Forms\Controls\ListControl\ListControl.cs (4)
266if (typeof(IList).IsAssignableFrom(props[i].PropertyType)) 271if (props[i].Name.Equals(bindingMemberInfo.BindingField)) 279if (typeof(IList).IsAssignableFrom(props[i].PropertyType)) 284if (string.Equals(props[i].Name, bindingMemberInfo.BindingField, StringComparison.CurrentCultureIgnoreCase))
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
108object propValue = props[i].GetValue(value)!;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (4)
60if (PropertyDescriptor.Name is not null && PropertyDescriptor.Name.Equals(properties[i].Name)) 62values[properties[i].Name] = value; 66values[properties[i].Name] = properties[i].GetValue(owner);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertiesTab.cs (2)
28if ("Name".Equals(properties[i].Name)) 30defaultProperty = properties[i];
System\Windows\Forms\DataBinding\Binding.cs (4)
507if (tempPropInfo is null && string.Equals(propInfos[i].Name, PropertyName, StringComparison.OrdinalIgnoreCase)) 509tempPropInfo = propInfos[i]; 516if (tempPropIsNullInfo is null && string.Equals(propInfos[i].Name, propertyNameIsNull, StringComparison.OrdinalIgnoreCase)) 518tempPropIsNullInfo = propInfos[i];
System\Windows\Forms\DataBinding\BindingManagerBase.cs (2)
167if (itemProps[j].Equals(listAccessors[offset])) 169return GetItemProperties(itemProps[j].PropertyType, offset + 1, dataSources, listAccessors);
System\Windows\Forms\DataBinding\BindingSource.cs (2)
1331_itemShape[j].AddValueChanged(item, _listItemPropertyChangedHandler); 1342_itemShape[j].RemoveValueChanged(item, _listItemPropertyChangedHandler);
System.Windows.Forms.Design (15)
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
676propArray[i] = WrapProperty(props[i], propObject);
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
727PropertyDescriptor propertyDescriptor = propertyDescriptorCollection[i];
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (2)
1282hash.Add(props[i].Name, props[i]);
System\Windows\Forms\Design\DataGridViewDesigner.cs (9)
628Type propType = backEndProps[i].PropertyType; 656string nameFromText = ToolStripDesigner.NameFromText(backEndProps[i].Name, columnType, site); 667dataGridViewColumn.DataPropertyName = backEndProps[i].Name; 668dataGridViewColumn.HeaderText = !string.IsNullOrEmpty(backEndProps[i].DisplayName) ? backEndProps[i].DisplayName : backEndProps[i].Name; 669dataGridViewColumn.Name = backEndProps[i].Name; 670dataGridViewColumn.ValueType = backEndProps[i].PropertyType; 671dataGridViewColumn.ReadOnly = backEndProps[i].IsReadOnly;
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
766PropertyDescriptor property = properties[i]; 864PropertyDescriptor property = properties[i];