127 references to
PresentationFramework (1)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1503name = properties[index].Name;
System (4)
compmod\system\componentmodel\PropertyDescriptorCollection.cs (4)
665return this[index]; 702PropertyDescriptor curProp = owner[index]; 709return owner[index].Name; 715return owner[index].Name;
System.Activities (2)
System\Activities\DynamicActivityTypeDescriptor.cs (1)
114PropertyDescriptor dynamicProperty = dynamicProperties[i];
System\Activities\RuntimeArgument.cs (1)
219PropertyDescriptor property = properties[i];
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
511PropertyDescriptor theirs = incoming[idx];
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
577if (string.Equals(properties[i].Name, e.PropertyName))
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
511PropertyDescriptor theirs = incoming[idx];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
577if (string.Equals(properties[i].Name, e.PropertyName))
fx\src\data\System\Data\xmlsaver.cs (1)
114AddXdoProperty(pds[i], instance, root, xd);
System.Web (10)
UI\WebControls\ErrorStyle.cs (1)
69PropertyDescriptor property = oldProperties[i];
UI\WebControls\ErrorTableItemStyle.cs (1)
67PropertyDescriptor property = oldProperties[i];
UI\WebControls\SubMenuStyle.cs (1)
284 PropertyDescriptor property = oldProperties[i];
UI\WebParts\PropertyGridEditorPart.cs (3)
115PropertyDescriptor pd = properties[i]; 307propertyDisplayNames[i] = GetDisplayName(propDescs[i]); 308propertyDescriptions[i] = GetDescription(propDescs[i]);
UI\WebParts\RowToParametersTransformer.cs (2)
113PropertyDescriptor providerProp = providerSchema[i]; 114PropertyDescriptor consumerProp = consumerSchema[i];
UI\WebParts\TransformerConfigurationWizardBase.cs (1)
150PropertyDescriptor descriptor = schema[i];
UI\WebParts\WebPartMenuStyle.cs (1)
207PropertyDescriptor property = oldProperties[i];
System.Web.Mobile (29)
UI\MobileControls\Design\MobileControlPersister.cs (24)
363if (propDescs[i].SerializationVisibility == DesignerSerializationVisibility.Hidden) 366PersistenceModeAttribute persistenceMode = (PersistenceModeAttribute)propDescs[i].Attributes[typeof(PersistenceModeAttribute)]; 371if (propDescs[i].PropertyType == typeof(string)) { 378if (dataBindings == null || dataBindings[propDescs[i].Name] == null) { 382PersistStringProperty(sw, component, propDescs[i], mode); 389else if (typeof(ITemplate).IsAssignableFrom(propDescs[i].PropertyType)) { 392PersistTemplateProperty(sw, component, propDescs[i]); 395Debug.Fail("Cannot persist template property " + propDescs[i].Name + " not marked with PersistenceMode.InnerProperty"); 399else if (propDescs[i].DisplayName.Equals("Templates") && 401typeof(IDictionary).IsAssignableFrom(propDescs[i].PropertyType)) { 403IDictionary templateCollection = (IDictionary)propDescs[i].GetValue(component); 410else if (typeof(ICollection).IsAssignableFrom(propDescs[i].PropertyType)) { 414PersistCollectionProperty(sw, component, propDescs[i], persistenceMode.Mode, host); 417Debug.Fail("Cannot persist collection property " + propDescs[i].Name + " not marked with PersistenceMode.InnerProperty or PersistenceMode.InnerDefaultProperty"); 423PersistComplexProperty(sw, component, propDescs[i], host); 426Debug.Fail("Cannot persist complex property " + propDescs[i].Name + " not marked with PersistenceMode.InnerProperty"); 524if (properties[i].SerializationVisibility == DesignerSerializationVisibility.Hidden) { 529DesignOnlyAttribute doAttr = (DesignOnlyAttribute)properties[i].Attributes[typeof(DesignOnlyAttribute)]; 534string propName = properties[i].Name; 535Type propType = properties[i].PropertyType; 537object obj = properties[i].GetValue(value); 542(DefaultValueAttribute)properties[i].Attributes[typeof(DefaultValueAttribute)]; 558if (properties[i].SerializationVisibility == DesignerSerializationVisibility.Content) { 577TypeConverter converter = properties[i].Converter;
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
1073arpd[i] = newProperties[i];
UI\MobileControls\Design\StylesEditorDialog.cs (4)
441if (propDescs[i].Name.Equals("Font")) 448else if (!propDescs[i].IsReadOnly) 450propDescs[i].SetValue(newStyle, propDescs[i].GetValue(style));
System.Windows.Forms (72)
winforms\Managed\System\WinForms\AxHost.cs (6)
2886Debug.Assert(baseProps[i] != null, "Null base prop at location: " + i.ToString(CultureInfo.InvariantCulture)); 2888if (baseProps[i].DesignTimeOnly) { 2889retProps.Add(baseProps[i]); 2893string propName = baseProps[i].Name; 2904prop = new AxPropertyDescriptor(baseProps[i], this); 2909prop = baseProps[i];
winforms\Managed\System\WinForms\Binding.cs (4)
536if(tempPropInfo==null && String.Equals (propInfos[i].Name, propertyName, StringComparison.OrdinalIgnoreCase)) { 537tempPropInfo = propInfos[i]; 541if(tempPropIsNullInfo == null && String.Equals (propInfos[i].Name, propertyNameIsNull, StringComparison.OrdinalIgnoreCase)) { 542tempPropIsNullInfo = propInfos[i];
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (2)
197if (itemProps[j].Equals(listAccessors[offset])) 198return this.GetItemProperties(itemProps[j].PropertyType, offset + 1, dataSources, listAccessors);
winforms\Managed\System\WinForms\BindingSource.cs (2)
1471this.itemShape[j].AddValueChanged(item, listItemPropertyChangedHandler); 1479this.itemShape[j].RemoveValueChanged(item, listItemPropertyChangedHandler);
winforms\Managed\System\WinForms\Control.cs (20)
17312Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "Loading property " + props[i].Name); 17320hr = pPropBag.Read(props[i].Name, ref obj, pErrorLog); 17335Debug.Fail("Expected property " + props[i].Name + " to be stored in IPropertyBag as a string. Attempting to coerce"); 17341if (IsResourceProp(props[i])) { 17350props[i].SetValue(control, formatter.Deserialize(stream)); 17359TypeConverter converter = props[i].Converter; 17360Debug.Assert(converter != null, "No type converter for property '" + props[i].Name + "' on class " + control.GetType().FullName); 17377props[i].SetValue(control, value); 17396pErrorLog.AddError(props[i].Name, err); 18031if (fSaveAllProperties || props[i].ShouldSerializeValue(control)) { 18032Debug.WriteLineIf(CompModSwitches.ActiveX.TraceInfo, "Saving property " + props[i].Name); 18036if (IsResourceProp(props[i])) { 18042formatter.Serialize(stream, props[i].GetValue(control)); 18047pPropBag.Write(props[i].Name, ref propValue); 18053TypeConverter converter = props[i].Converter; 18054Debug.Assert(converter != null, "No type converter for property '" + props[i].Name + "' on class " + control.GetType().FullName); 18057propValue = converter.ConvertToInvariantString(props[i].GetValue(control)); 18058pPropBag.Write(props[i].Name, ref propValue); 18061byte[] data = (byte[])converter.ConvertTo(null, CultureInfo.InvariantCulture, props[i].GetValue(control), typeof(byte[])); 18063pPropBag.Write(props[i].Name, ref propValue);
winforms\Managed\System\WinForms\DataGrid.cs (2)
8744DataGridColumnStyle col = gridCols.MapColumnStyleToPropertyName(props[i].Name); 8746col.PropertyDescriptor = props[i];
winforms\Managed\System\WinForms\DataGridColumn.cs (1)
386PropertyDescriptor prop = propCollection[i];
winforms\Managed\System\WinForms\DataGridTable.cs (2)
1399PropertyDescriptor prop = propCollection[i]; 1421PropertyDescriptor prop = propCollection[i];
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (21)
373return this.props[boundColumnIndex].Converter; 388if (String.Compare(this.props[i].Name, dataPropertyName, true /*ignoreCase*/, CultureInfo.InvariantCulture) == 0) 419if (String.Compare(this.props[boundColumnIndex].Name, sortProperty.Name, true /*ignoreCase*/, CultureInfo.InvariantCulture) == 0) 432return this.props[boundColumnIndex].PropertyType; 980return this.props[boundColumnIndex].IsReadOnly; 1024if (typeof(IList).IsAssignableFrom(this.props[i].PropertyType)) 1029if (!imageTypeConverter.CanConvertFrom(this.props[i].PropertyType)) 1035DataGridViewColumn dataGridViewColumn = GetDataGridViewColumnFromType(this.props[i].PropertyType); 1041dataGridViewColumn.DataPropertyName = this.props[i].Name; 1042dataGridViewColumn.Name = this.props[i].Name; 1043dataGridViewColumn.BoundColumnConverter = this.props[i].Converter; 1044dataGridViewColumn.HeaderText = !String.IsNullOrEmpty(this.props[i].DisplayName) ? this.props[i].DisplayName : this.props[i].Name; 1045dataGridViewColumn.ValueType = this.props[i].PropertyType; 1047dataGridViewColumn.IsBrowsableInternal = this.props[i].IsBrowsable; 1049dataGridViewColumn.ReadOnly = props[i].IsReadOnly; 1268return errInfo[this.props[boundColumnIndex].Name]; 1282value = this.props[boundColumnIndex].GetValue(this.currencyManager[rowIndex]); 1597this.props[boundColumnIndex].SetValue(this.currencyManager[rowIndex], value); 1654((IBindingList)this.List).ApplySort(this.props[dataGridViewColumn.BoundColumnIndex], direction);
winforms\Managed\System\WinForms\Design\EventsTab.cs (1)
160PropertyDescriptor nsProp = namespaceProperties[i];
winforms\Managed\System\WinForms\ListControl.cs (4)
308if (typeof(IList).IsAssignableFrom(props[i].PropertyType)) 310if (props[i].Name.Equals(bindingMemberInfo.BindingField)) { 316if (typeof(IList).IsAssignableFrom(props[i].PropertyType)) 318if (String.Compare(props[i].Name, bindingMemberInfo.BindingField, true, CultureInfo.CurrentCulture) == 0) {
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (4)
62if (propertyInfo.Name != null && propertyInfo.Name.Equals(props[i].Name)) { 63values[props[i].Name] = value; 66values[props[i].Name] = props[i].GetValue(owner);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertiesTab.cs (2)
60if ("Name".Equals(props[i].Name)) { 61def = props[i];
winforms\Managed\System\WinForms\SelectionRangeConverter.cs (1)
119object propValue = props[i].GetValue(value);
System.Workflow.Runtime (1)
System\Activities\Statements\Interop.cs (1)
608properties.Add(interopProperties[i]);
WindowsBase (3)
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (3)
178PropertyDescriptor prop = properties[idx]; 191newDescriptors.Add(properties[i]); 285PropertyDescriptor prop = baseProps[idx];