154 references to GetProperties
PresentationFramework (6)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1491PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(item);
src\Framework\MS\Internal\Data\ValueTable.cs (1)
225pd = TypeDescriptor.GetProperties(item)[name];
src\Framework\System\Windows\Data\CollectionView.cs (1)
1492properties = TypeDescriptor.GetProperties(item);
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
112foreach (PropertyDescriptor descriptor in TypeDescriptor.GetProperties(_instance))
src\Framework\System\Windows\PropertyPath.cs (2)
609accessor = TypeDescriptor.GetProperties(item)[propertyName]; 630accessor = TypeDescriptor.GetProperties(item)[propertyName];
System (3)
compmod\system\componentmodel\ComponentResourceManager.cs (1)
152PropertyDescriptor prop = TypeDescriptor.GetProperties(value).Find(propName, IgnoreCase);
compmod\system\componentmodel\design\DesignerOptionService.cs (1)
207PropertyDescriptorCollection props = TypeDescriptor.GetProperties(_value);
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (1)
1740return TypeDescriptor.GetProperties(instance)[attr.Name];
System.Activities (4)
System\Activities\Activity.cs (1)
1461foreach (PropertyDescriptor propertyDescriptor in TypeDescriptor.GetProperties(activity))
System\Activities\ActivityDelegate.cs (1)
117foreach (PropertyDescriptor propertyDescriptor in TypeDescriptor.GetProperties(this))
System\Activities\RuntimeArgument.cs (1)
213PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(owningElement);
System\Activities\XamlIntegration\PropertyReferenceExtension.cs (1)
36PropertyDescriptor property = TypeDescriptor.GetProperties(targetObject)[PropertyName];
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
143PropertyDescriptor property = TypeDescriptor.GetProperties(this.ModelItem)[propertyName];
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
479PropertyDescriptor descriptor = TypeDescriptor.GetProperties(this)[propertyName]; 515PropertyDescriptor descriptor = TypeDescriptor.GetProperties(this)[propertyName];
System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyCollectionImpl.cs (1)
92propertyDescriptors = TypeDescriptor.GetProperties(instance);
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1094PropertyDescriptor displayNameProperty = TypeDescriptor.GetProperties(rootItem)["DisplayName"];
System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (2)
338PropertyDescriptor descriptor = TypeDescriptor.GetProperties(item)["IsSelection"]; 348PropertyDescriptor descriptor = TypeDescriptor.GetProperties(item)["IsPrimarySelection"];
System.ComponentModel.DataAnnotations (1)
DataAnnotations\Validator.cs (1)
443PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(instance);
System.Data (12)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
143PropertyDescriptor property = TypeDescriptor.GetProperties(this.ModelItem)[propertyName];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
479PropertyDescriptor descriptor = TypeDescriptor.GetProperties(this)[propertyName]; 515PropertyDescriptor descriptor = TypeDescriptor.GetProperties(this)[propertyName];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyCollectionImpl.cs (1)
92propertyDescriptors = TypeDescriptor.GetProperties(instance);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1094PropertyDescriptor displayNameProperty = TypeDescriptor.GetProperties(rootItem)["DisplayName"];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (2)
338PropertyDescriptor descriptor = TypeDescriptor.GetProperties(item)["IsSelection"]; 348PropertyDescriptor descriptor = TypeDescriptor.GetProperties(item)["IsPrimarySelection"];
fx\src\data\System\Data\xmlsaver.cs (1)
107PropertyDescriptorCollection pds = TypeDescriptor.GetProperties(instance) ;
fx\src\data\System\Data\XMLSchema.cs (4)
52PropertyDescriptor pd = TypeDescriptor.GetProperties(instance)[name]; 260PropertyDescriptor pd = TypeDescriptor.GetProperties(instance)[name]; 289object val = TypeDescriptor.GetProperties(instance)["ExtendedProperties"].GetValue(instance); 347object val = TypeDescriptor.GetProperties(instance)["ExtendedProperties"].GetValue(instance);
System.Web (18)
Routing\RouteValueDictionary.cs (1)
63PropertyDescriptorCollection props = TypeDescriptor.GetProperties(values);
UI\DataBinder.cs (1)
155return TypeDescriptor.GetProperties(container);
UI\TargetFrameworkUtil.cs (2)
352return TypeDescriptor.GetProperties(obj); 364propertyDescriptors = TypeDescriptor.GetProperties(instance);
UI\WebControls\AdRotator.cs (1)
363propertyDescriptors = TypeDescriptor.GetProperties(sampleItem);
UI\WebControls\BoundColumn.cs (1)
201boundFieldDesc = TypeDescriptor.GetProperties(dataItem).Find(boundField, true);
UI\WebControls\BoundField.cs (1)
503_boundFieldDesc = TypeDescriptor.GetProperties(dataItem).Find(boundField, true);
UI\WebControls\ButtonColumn.cs (1)
270textFieldDesc = TypeDescriptor.GetProperties(dataItem).Find(dataField, true);
UI\WebControls\ButtonField.cs (1)
291textFieldDesc = TypeDescriptor.GetProperties(dataItem).Find(dataField, true);
UI\WebControls\DataGrid.cs (1)
920propDescs = TypeDescriptor.GetProperties(sampleItem);
UI\WebControls\DetailsViewRowsGenerator.cs (1)
39propDescs = TypeDescriptor.GetProperties(dataItem);
UI\WebControls\GridViewColumnsGenerator.cs (1)
77propDescs = TypeDescriptor.GetProperties(sampleItem);
UI\WebControls\HyperLinkColumn.cs (1)
282PropertyDescriptorCollection props = TypeDescriptor.GetProperties(dataItem);
UI\WebControls\HyperLinkField.cs (1)
336PropertyDescriptorCollection props = TypeDescriptor.GetProperties(dataItem);
UI\WebControls\ImageField.cs (1)
404cachedDescriptor = TypeDescriptor.GetProperties(dataItem).Find(fieldName, true);
UI\WebControls\Menu.cs (1)
1458PropertyDescriptorCollection props = TypeDescriptor.GetProperties(item);
UI\WebControls\ObjectDataSourceView.cs (1)
689PropertyDescriptorCollection props = TypeDescriptor.GetProperties(dataObject);
UI\WebControls\TreeView.cs (1)
1484PropertyDescriptorCollection props = TypeDescriptor.GetProperties(item);
System.Web.DataVisualization (16)
Common\DataManager\DataPoint.cs (2)
1298PropertyDescriptor descriptor = TypeDescriptor.GetProperties(item).Find(fieldName, true); 1497PropertyDescriptor descriptor = TypeDescriptor.GetProperties(enumerator.Current).Find(field, true);
Common\General\Chart.cs (1)
591foreach (PropertyDescriptor pd in TypeDescriptor.GetProperties(e.Current))
Common\Utilities\XmlSerializer.cs (13)
372 PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToReset)[pi.Name]; 867 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[pi.Name]; 914PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToSerialize)[pi.Name]; 1445 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[elementName]; 1536 PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToSerialize)[pi.Name]; 1704 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[elementName]; 1796 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[elementName]; 2122PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToDeserialize)[childNode.Name]; 2186 PropertyDescriptor pd = TypeDescriptor.GetProperties(obj)[attrName]; 2335 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[elementName]; 2386PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToSerialize)[pi.Name]; 2600 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[elementName]; 3041 PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToDeserialize)[pi.Name];
System.Web.DynamicData (1)
DynamicData\Util\Misc.cs (1)
73var props = TypeDescriptor.GetProperties(instance);
System.Web.Entity.Design (2)
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (2)
210propDesc = TypeDescriptor.GetProperties(entityDataSource)[autoGenProperty]; 217propDesc = TypeDescriptor.GetProperties(entityDataSource)[propertyName];
System.Web.Extensions (2)
UI\WebControls\DataSourceHelper.cs (1)
134PropertyDescriptorCollection props = TypeDescriptor.GetProperties(dataObject);
UI\WebControls\LinqDataSourceView.cs (1)
845PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(oldDataObject);
System.Web.Mobile (9)
Mobile\MobileCapabilities.cs (1)
114TypeDescriptor.GetProperties(this)[evaluatorName];
UI\MobileControls\Design\MobileControlPersister.cs (1)
359PropertyDescriptorCollection propDescs = TypeDescriptor.GetProperties(component);
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
854= TypeDescriptor.GetProperties(component)[navigateUrl ? _navigateUrl : _alternateUrl];
UI\MobileControls\Design\StylesEditorDialog.cs (2)
437PropertyDescriptorCollection propDescs = TypeDescriptor.GetProperties(style); 443foreach (PropertyDescriptor desc in TypeDescriptor.GetProperties(style.Font))
UI\MobileControls\DeviceSpecificChoice.cs (2)
173PropertyDescriptor pd = TypeDescriptor.GetProperties(parentObject).Find( 210PropertyDescriptor pd = TypeDescriptor.GetProperties(parentObject).Find(name, true);
UI\MobileControls\ObjectList.cs (1)
846propertyDescriptors = TypeDescriptor.GetProperties(sampleItem);
UI\MobileControls\ObjectListField.cs (1)
190_dataFieldDescriptor = TypeDescriptor.GetProperties(dataItem).Find(dataField, true);
System.Windows.Forms (30)
misc\ImageListUtils.cs (1)
33PropertyDescriptor prop = TypeDescriptor.GetProperties(parentInstance)[pathInfo[i]];
winforms\Managed\System\WinForms\AxHost.cs (2)
1384PropertyDescriptor prop = TypeDescriptor.GetProperties(this)["SelectionStyle"]; 2670PropertyDescriptor prop = TypeDescriptor.GetProperties(this)["SelectionStyle"];
winforms\Managed\System\WinForms\Binding.cs (1)
532propInfos = TypeDescriptor.GetProperties(control);
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (2)
161return TypeDescriptor.GetProperties(list[0]); 191itemProps = TypeDescriptor.GetProperties(list[0]);
winforms\Managed\System\WinForms\ButtonBase.cs (1)
169PropertyDescriptor pd = TypeDescriptor.GetProperties(this)["UseVisualStyleBackColor"];
winforms\Managed\System\WinForms\Control.cs (2)
14508sizeProperty = TypeDescriptor.GetProperties(this)[PropertyNames.Size]; 14509locationProperty = TypeDescriptor.GetProperties(this)[PropertyNames.Location];
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (6)
1261PropertyDescriptor propDesc = TypeDescriptor.GetProperties(item).Find(this.DisplayMember, true /*caseInsensitive*/); 1270PropertyDescriptor propDesc = TypeDescriptor.GetProperties(item).Find(this.ValueMember, true /*caseInsensitive*/); 1330PropertyDescriptor propDesc = TypeDescriptor.GetProperties(item).Find(this.ValueMember, true /*caseInsensitive*/); 1339PropertyDescriptor propDesc = TypeDescriptor.GetProperties(item).Find(this.DisplayMember, true /*caseInsensitive*/); 1706PropertyDescriptor propDesc = TypeDescriptor.GetProperties(item).Find(field, true /*caseInsensitive*/); 1722PropertyDescriptor propDesc = TypeDescriptor.GetProperties(itemCandidate).Find(field, true /*caseInsensitive*/);
winforms\Managed\System\WinForms\ImageIndexConverter.cs (1)
100PropertyDescriptorCollection props = TypeDescriptor.GetProperties(instance);
winforms\Managed\System\WinForms\ImageKeyConverter.cs (1)
115PropertyDescriptorCollection props = TypeDescriptor.GetProperties(instance);
winforms\Managed\System\WinForms\ListBindingConverter.cs (2)
142PropertyDescriptor prop = TypeDescriptor.GetProperties(b)[ConstructorParameterProperties[lastItem]]; 182val = TypeDescriptor.GetProperties(b)[ConstructorParameterProperties[i]].GetValue(b);
winforms\Managed\System\WinForms\ListBindingHelper.cs (1)
155pdc = TypeDescriptor.GetProperties(target);
winforms\Managed\System\WinForms\ListControl.cs (1)
492descriptor = TypeDescriptor.GetProperties(item).Find(field, true);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1364PropertyDescriptor property = TypeDescriptor.GetProperties(owner)[propertyName];
winforms\Managed\System\WinForms\PropertyManager.cs (1)
48propInfo = TypeDescriptor.GetProperties(dataSource).Find(propName, true);
winforms\Managed\System\WinForms\RadioButton.cs (1)
509PropertyDescriptor propDesc = TypeDescriptor.GetProperties(this)["Checked"];
winforms\Managed\System\WinForms\TableLayoutSettings.cs (2)
456PropertyDescriptor prop = TypeDescriptor.GetProperties(c)["Name"]; 533PropertyDescriptor prop = TypeDescriptor.GetProperties(tableControl)["Name"];
winforms\Managed\System\WinForms\TabPage.cs (1)
135PropertyDescriptor pd = TypeDescriptor.GetProperties(this)["UseVisualStyleBackColor"];
winforms\Managed\System\WinForms\TreeViewImageIndexConverter.cs (1)
96PropertyDescriptorCollection props = TypeDescriptor.GetProperties(instance);
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
804PropertyDescriptor prop = TypeDescriptor.GetProperties(this)["SelectionStyle"]; 1138PropertyDescriptor prop = TypeDescriptor.GetProperties(this)["SelectionStyle"];
System.Windows.Forms.DataVisualization (16)
Common\DataManager\DataPoint.cs (2)
1298PropertyDescriptor descriptor = TypeDescriptor.GetProperties(item).Find(fieldName, true); 1497PropertyDescriptor descriptor = TypeDescriptor.GetProperties(enumerator.Current).Find(field, true);
Common\General\Chart.cs (1)
591foreach (PropertyDescriptor pd in TypeDescriptor.GetProperties(e.Current))
Common\Utilities\XmlSerializer.cs (13)
372 PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToReset)[pi.Name]; 867 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[pi.Name]; 914PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToSerialize)[pi.Name]; 1445 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[elementName]; 1536 PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToSerialize)[pi.Name]; 1704 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[elementName]; 1796 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[elementName]; 2122PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToDeserialize)[childNode.Name]; 2186 PropertyDescriptor pd = TypeDescriptor.GetProperties(obj)[attrName]; 2335 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[elementName]; 2386PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToSerialize)[pi.Name]; 2600 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[elementName]; 3041 PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToDeserialize)[pi.Name];
System.Workflow.Activities (9)
Designers\EventSinkActivityDesigner.cs (1)
72PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["EventName"], Activity, String.Empty);
Designers\InvokeMethodActivityDesigner.cs (1)
71PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["MethodName"], Activity, String.Empty);
Designers\InvokeWebServiceDesigner.cs (2)
126PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["ProxyClass"], Activity, string.IsNullOrEmpty(this.url) ? null : extUIService.GetProxyClassForUrl(new Uri(this.url))); 150PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["MethodName"], Activity, String.Empty);
Designers\PolicyDesigner.cs (1)
84TypeDescriptor.GetProperties(activity)["RuleSetReference"].SetValue(activity, activity.RuleSetReference);
Designers\StateDesigner.cs (1)
1923PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(activity);
Designers\WebServiceReceiveDesigner.cs (1)
53PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(Activity)["MethodName"];
LocalService\CorrelationTokenTypeConvertor.cs (1)
72PropertyDescriptor correlatorProperty = TypeDescriptor.GetProperties(preceedingActivity)["CorrelationToken"] as PropertyDescriptor;
Rules\Design\LogicalExpressionTypeConverter.cs (1)
296PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(component)["ConditionName"];
System.Workflow.ComponentModel (14)
AuthoringOM\Design\ActivityDesigner.cs (1)
1207ActivityBindPropertyDescriptor defaultPropEvent = TypeDescriptor.GetProperties(Activity)[defaultEventAttribute.Name] as ActivityBindPropertyDescriptor;
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (2)
92if (TypeDescriptor.GetProperties(activity)["TypeName"] != null) 93return TypeDescriptor.GetProperties(activity)["TypeName"].GetValue(activity) as string;
AuthoringOM\Design\CommandSet.cs (1)
654PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(activity)["Enabled"];
AuthoringOM\Design\ComponentSerializationService.cs (4)
485propertyDesc = TypeDescriptor.GetProperties(this.obj)[this.property.Name]; 512props = TypeDescriptor.GetProperties(this.obj); 705props = TypeDescriptor.GetProperties(propertySegment.Object); 731propertyDescriptor = TypeDescriptor.GetProperties(obj)[propertyName];
AuthoringOM\Design\CustomActivityDesigner.cs (3)
306PropertyDescriptor supportsEventsPropDesc = TypeDescriptor.GetProperties(host.RootComponent)["SupportsEvents"]; 310PropertyDescriptor supportsExceptionsPropDesc = TypeDescriptor.GetProperties(host.RootComponent)["SupportsExceptions"]; 315PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(host.RootComponent);
AuthoringOM\Design\DesignerHelpers.cs (1)
1734PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(activity);
AuthoringOM\Design\FreeFormDesigner.cs (1)
1044PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(designer);
AuthoringOM\Serializer\PropertySegmentSerializer.cs (1)
156PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(propertyInfo.PropertySegment.Object)[propertyInfo.Name];
System.WorkflowServices (4)
System\Workflow\Activities\ChannelTokenTypeConverter.cs (1)
86PropertyDescriptor endpointProperty = TypeDescriptor.GetProperties(preceedingActivity)["ChannelToken"] as PropertyDescriptor;
System\Workflow\Activities\ContextTokenTypeConverter.cs (1)
86PropertyDescriptor contextTokenProperty = TypeDescriptor.GetProperties(preceedingActivity)["ContextToken"] as PropertyDescriptor;
System\Workflow\Activities\ServiceOperationHelpers.cs (2)
54return TypeDescriptor.GetProperties(activity)[ReceiveActivity.ServiceOperationInfoProperty.Name]; 59return TypeDescriptor.GetProperties(activity)[SendActivity.ServiceOperationInfoProperty.Name];