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