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