891 references to TypeDescriptor
PresentationBuildTasks (2)
Framework\System\Windows\Markup\BamlRecords.cs (1)
2634TypeConverter boolConverter = TypeDescriptor.GetConverter(typeof(Boolean));
Framework\System\Windows\Markup\ParserContext.cs (1)
451TypeConverter typeConverter = TypeDescriptor.GetConverter(typeof(System.Xml.XmlSpace));
PresentationCore (18)
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (1)
180_doubleTypeConverter = TypeDescriptor.GetConverter(typeof(double));
Core\CSharp\System\Windows\Duration.cs (1)
518return TypeDescriptor.GetConverter(_timeSpan).ConvertToString(_timeSpan);
Core\CSharp\System\Windows\Input\Command\KeyGestureValueSerializer.cs (2)
71TypeConverter converter = TypeDescriptor.GetConverter(typeof(KeyGesture)); 86TypeConverter converter = TypeDescriptor.GetConverter(typeof(KeyGesture));
Core\CSharp\System\Windows\Input\Command\MouseActionValueSerializer.cs (2)
61TypeConverter converter = TypeDescriptor.GetConverter(typeof(MouseAction)); 76TypeConverter converter = TypeDescriptor.GetConverter(typeof(MouseAction));
Core\CSharp\System\Windows\Input\Command\MouseGestureConverter.cs (4)
85TypeConverter mouseActionConverter = TypeDescriptor.GetConverter(typeof(System.Windows.Input.MouseAction)); 96TypeConverter modifierKeysConverter = TypeDescriptor.GetConverter(typeof(System.Windows.Input.ModifierKeys)); 165TypeConverter modifierKeysConverter = TypeDescriptor.GetConverter(typeof(System.Windows.Input.ModifierKeys)); 174TypeConverter mouseActionConverter = TypeDescriptor.GetConverter(typeof(System.Windows.Input.MouseAction));
Core\CSharp\System\Windows\Input\Command\MouseGestureValueSerializer.cs (2)
74TypeConverter converter = TypeDescriptor.GetConverter(typeof(MouseGesture)); 89TypeConverter converter = TypeDescriptor.GetConverter(typeof(MouseGesture));
Core\CSharp\System\Windows\Media\Animation\KeyTimeConverter.cs (4)
96double doubleValue = (double)TypeDescriptor.GetConverter( 117TimeSpan timeSpanValue = (TimeSpan)TypeDescriptor.GetConverter( 197string returnValue = (string)TypeDescriptor.GetConverter( 208return TypeDescriptor.GetConverter(
Core\CSharp\System\Windows\Media\Animation\RepeatBehaviorConverter.cs (2)
89double doubleValue = (double)TypeDescriptor.GetConverter(typeof(double)).ConvertFrom(td, cultureInfo, stringDoubleValue); 98TimeSpan timeSpanValue = (TimeSpan)TypeDescriptor.GetConverter(typeof(TimeSpan)).ConvertFrom(td, cultureInfo, stringValue);
PresentationFramework (30)
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (1)
193typeConverter = TypeDescriptor.GetConverter(type);
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (2)
1405TypeConverter tc = TypeDescriptor.GetConverter(paramType); 1491PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(item);
src\Framework\MS\Internal\Data\ValueTable.cs (2)
225pd = TypeDescriptor.GetProperties(item)[name]; 229pd = TypeDescriptor.GetProperties(item.GetType())[name];
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
1015TypeConverter tc = TypeDescriptor.GetConverter(ReflectionHelper.GetReflectionType(content)); 1118TypeConverter tc = TypeDescriptor.GetConverter(ReflectionHelper.GetReflectionType(content)); 1187(tc = TypeDescriptor.GetConverter(ReflectionHelper.GetReflectionType(item))) != null &&
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
2216pdc = TypeDescriptor.GetProperties(itemType);
src\Framework\System\Windows\Data\CollectionView.cs (2)
1479properties = TypeDescriptor.GetProperties(itemType); 1492properties = TypeDescriptor.GetProperties(item);
src\Framework\System\Windows\Documents\DPTypeDescriptorContext.cs (1)
77System.ComponentModel.TypeConverter typeConverter = System.ComponentModel.TypeDescriptor.GetConverter(property.PropertyType);
src\Framework\System\Windows\Documents\TextRange.cs (1)
794System.ComponentModel.TypeConverter typeConverter = System.ComponentModel.TypeDescriptor.GetConverter(formattingProperty.PropertyType);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
1156System.ComponentModel.TypeConverter typeConverter = System.ComponentModel.TypeDescriptor.GetConverter(property.PropertyType);
src\Framework\System\Windows\Markup\BamlReader.cs (1)
1094TypeConverter converter = TypeDescriptor.GetConverter(value.GetType());
src\Framework\System\Windows\Markup\BamlRecords.cs (1)
2634TypeConverter boolConverter = TypeDescriptor.GetConverter(typeof(Boolean));
src\Framework\System\Windows\Markup\ParserContext.cs (2)
112TypeConverter typeConverter = TypeDescriptor.GetConverter(typeof(XmlSpace)); 451TypeConverter typeConverter = TypeDescriptor.GetConverter(typeof(System.Xml.XmlSpace));
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (5)
112foreach (PropertyDescriptor descriptor in TypeDescriptor.GetProperties(_instance)) 177get { return TypeDescriptor.GetAttributes(ObjectType); } 382TypeConverter converter = TypeDescriptor.GetConverter(instance); 829TypeConverter converter = TypeDescriptor.GetConverter(value); 930TypeConverter converter = TypeDescriptor.GetConverter(value);
src\Framework\System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (1)
49return TypeDescriptor.GetAttributes(ObjectType);
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1102AttributeCollection attributes = TypeDescriptor.GetAttributes(type);
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (1)
1924AttributeCollection attributes = TypeDescriptor.GetAttributes(typeAndSerializer.ObjectType);
src\Framework\System\Windows\PropertyPath.cs (3)
609accessor = TypeDescriptor.GetProperties(item)[propertyName]; 630accessor = TypeDescriptor.GetProperties(item)[propertyName]; 786TypeConverter tc = TypeDescriptor.GetConverter(type);
src\Framework\System\Windows\PropertyPathConverter.cs (1)
288TypeConverter converter = TypeDescriptor.GetConverter(type);
System (80)
compmod\system\codedom\compiler\CodeDOMProvider.cs (1)
152return TypeDescriptor.GetConverter(type);
compmod\system\componentmodel\AmbientValueAttribute.cs (1)
41this.value = TypeDescriptor.GetConverter(type).ConvertFromInvariantString(value);
compmod\system\componentmodel\AttributeCollection.cs (1)
330Type reflect = TypeDescriptor.GetReflectionType(attributeType);
compmod\system\componentmodel\BindingList.cs (1)
599itemTypeProperties = TypeDescriptor.GetProperties(typeof(T));
compmod\system\componentmodel\ComponentConverter.cs (1)
42return TypeDescriptor.GetProperties(value, attributes);
compmod\system\componentmodel\ComponentResourceManager.cs (1)
152PropertyDescriptor prop = TypeDescriptor.GetProperties(value).Find(propName, IgnoreCase);
compmod\system\componentmodel\Container.cs (1)
251InheritanceAttribute inheritanceAttribute = (InheritanceAttribute)TypeDescriptor.GetAttributes(s.Component)[typeof(InheritanceAttribute)];
compmod\system\componentmodel\DefaultValueAttribute.cs (1)
46this.value = TypeDescriptor.GetConverter(type).ConvertFromInvariantString(value);
compmod\system\componentmodel\DelegatingTypeDescriptionProvider.cs (1)
39return TypeDescriptor.GetProviderRecursive(_type);
compmod\system\componentmodel\design\DesignerOptionService.cs (1)
207PropertyDescriptorCollection props = TypeDescriptor.GetProperties(_value);
compmod\system\componentmodel\design\IDesignerFilter.cs (6)
23/// attributes the component being designed will expose through the <see cref='System.ComponentModel.TypeDescriptor'/> object.</para> 29/// the component being designed will expose through the <see cref='System.ComponentModel.TypeDescriptor'/> 36/// the component being designed will expose through the <see cref='System.ComponentModel.TypeDescriptor'/> 43/// attributes the component being designed will expose through the <see cref='System.ComponentModel.TypeDescriptor'/> 50/// the component being designed will expose through the <see cref='System.ComponentModel.TypeDescriptor'/> 57/// the component being designed will expose through the <see cref='System.ComponentModel.TypeDescriptor'/>
compmod\system\componentmodel\design\InheritanceAttribute.cs (1)
126return TypeDescriptor.GetConverter(typeof(InheritanceLevel)).ConvertToString(InheritanceLevel);
compmod\system\componentmodel\design\serialization\MemberRelationshipService.cs (2)
99string sourceName = TypeDescriptor.GetComponentName(source.Owner); 100string relName = TypeDescriptor.GetComponentName(relationship.Owner);
compmod\system\componentmodel\EnumConverter.cs (1)
251Type reflectType = TypeDescriptor.GetReflectionType(type);
compmod\system\componentmodel\EventDescriptorCollection.cs (1)
408TypeDescriptor.SortDescriptorArray(this);
compmod\system\componentmodel\ExpandableObjectConverter.cs (1)
38return TypeDescriptor.GetProperties(value, attributes);
compmod\system\componentmodel\MemberDescriptor.cs (4)
279if (metadataVersion != TypeDescriptor.MetadataVersion) { 412metadataVersion = TypeDescriptor.MetadataVersion; 472return TypeDescriptor.GetAssociation(type, instance); 509return TypeDescriptor.GetAssociation(componentClass, component);
compmod\system\componentmodel\NullableConverter.cs (1)
39this.simpleTypeConverter = TypeDescriptor.GetConverter(this.simpleType);
compmod\system\componentmodel\PropertyDescriptor.cs (6)
101converter = TypeDescriptor.GetConverter(PropertyType); 219return TypeDescriptor.CreateInstance(null, type, typeArgs, new object[] {PropertyType}); 222return TypeDescriptor.CreateInstance(null, type, null, null); 269return TypeDescriptor.GetProperties(PropertyType, filter); 272return TypeDescriptor.GetProperties(instance, filter); 323editor = TypeDescriptor.GetEditor(PropertyType, editorBaseType);
compmod\system\componentmodel\PropertyDescriptorCollection.cs (1)
433TypeDescriptor.SortDescriptorArray(this);
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (3)
265realChangedEvent = TypeDescriptor.GetEvents(ComponentType)[string.Format(CultureInfo.InvariantCulture, "{0}Changed", Name)]; 291realIPropChangedEvent = TypeDescriptor.GetEvents(typeof(INotifyPropertyChanged))["PropertyChanged"]; 793foreach (Attribute typeAttr in TypeDescriptor.GetAttributes(PropertyType)) {
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (36)
100TypeDescriptor.Trace("Reflect : Creating ReflectTypeDescriptionProvider"); 485IDictionary cache = TypeDescriptor.GetCache(instance); 548TypeDescriptor.Trace("Extenders : Allocating property collection for {0} properties", propertyList.Count); 560TypeDescriptor.Trace("Extenders : caching extender results"); 578IDictionary cache = TypeDescriptor.GetCache(instance); 677TypeDescriptor.Trace("Extenders : object has new extenders : {0}", instance.GetType().Name); 678TypeDescriptor.Trace("Extenders : Identified {0} extender providers", extenderCount); 722TypeDescriptor.Trace("Extenders : caching extender provider results"); 771return TypeDescriptor.GetComponentName(component); 807return TypeDescriptor.GetAssociation(type, instance); 940TypeDescriptor.Trace("Attributes : Building attributes for {0}", type.Name); 1025TypeDescriptor.Trace("Events : Building events for {0}", type.Name); 1097IDictionary cache = TypeDescriptor.GetCache(provider); 1137AttributeCollection attributes = TypeDescriptor.GetAttributes(providerType); 1230TypeDescriptor.Trace("Properties : Building properties for {0}", type.Name); 1450TypeDescriptor.Trace("Reflect : Creating ReflectedTypeData for {0}", type.Name); 1476TypeDescriptor.Trace("Attributes : Building collection for {0}", _type.Name); 1528TypeDescriptor.Trace("Attributes : Walking {0} interfaces", interfaces.Length); 1538AttributeCollection ifaceAttrs = TypeDescriptor.GetAttributes(iface); 1631typeAttr = (TypeConverterAttribute)TypeDescriptor.GetAttributes(_type)[typeof(TypeConverterAttribute)]; 1632TypeConverterAttribute instanceAttr = (TypeConverterAttribute)TypeDescriptor.GetAttributes(instance)[typeof(TypeConverterAttribute)]; 1652TypeDescriptor.Trace("Converters : Building converter for {0}", _type.Name); 1656typeAttr = (TypeConverterAttribute)TypeDescriptor.GetAttributes(_type)[typeof(TypeConverterAttribute)]; 1696attributes = TypeDescriptor.GetAttributes(instance); 1700attributes = TypeDescriptor.GetAttributes(_type); 1708return TypeDescriptor.GetEvents(instance)[attr.Name]; 1712return TypeDescriptor.GetEvents(_type)[attr.Name]; 1728attributes = TypeDescriptor.GetAttributes(instance); 1732attributes = TypeDescriptor.GetAttributes(_type); 1740return TypeDescriptor.GetProperties(instance)[attr.Name]; 1744return TypeDescriptor.GetProperties(_type)[attr.Name]; 1766typeAttr = GetEditorAttribute(TypeDescriptor.GetAttributes(_type), editorBaseType); 1767EditorAttribute instanceAttr = GetEditorAttribute(TypeDescriptor.GetAttributes(instance), editorBaseType); 1795typeAttr = GetEditorAttribute(TypeDescriptor.GetAttributes(_type), editorBaseType); 1886TypeDescriptor.Trace("Events : Building collection for {0}", _type.Name); 1923TypeDescriptor.Trace("Properties : Building collection for {0}", _type.Name);
compmod\system\componentmodel\RefreshEventArgs.cs (1)
17/// Provides data for the <see cref='System.ComponentModel.TypeDescriptor.Refresh'/> event.
compmod\system\componentmodel\RefreshEventHandler.cs (1)
11/// <para>Represents the method that will handle the <see cref='System.ComponentModel.TypeDescriptor.Refresh'/> event
compmod\system\componentmodel\TypeDescriptor.cs (2)
219TypeDescriptor.AddProvider(provider, type); 247TypeDescriptor.AddProvider(provider, instance);
sys\system\configuration\ApplicationSettingsBase.cs (1)
652TypeConverter tc = TypeDescriptor.GetConverter(type);
sys\system\configuration\SettingsPropertyValue.cs (2)
206TypeConverter converter = TypeDescriptor.GetConverter(type); 247TypeConverter converter = TypeDescriptor.GetConverter(type);
System.Activities (18)
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\DynamicActivityTypeDescriptor.cs (11)
39return TypeDescriptor.GetAttributes(this.owner, true); 49return TypeDescriptor.GetClassName(this.owner, true); 54return TypeDescriptor.GetComponentName(this.owner, true); 59return TypeDescriptor.GetConverter(this.owner, true); 64return TypeDescriptor.GetDefaultEvent(this.owner, true); 69return TypeDescriptor.GetDefaultProperty(this.owner, true); 74return TypeDescriptor.GetEditor(this.owner, editorBaseType, true); 79return TypeDescriptor.GetEvents(this.owner, attributes, true); 84return TypeDescriptor.GetEvents(this.owner, true); 103dynamicProperties = TypeDescriptor.GetProperties(this.owner, attributes, true); 107dynamicProperties = TypeDescriptor.GetProperties(this.owner, true);
System\Activities\Expressions\Literal.cs (2)
85converter = TypeDescriptor.GetConverter(typeArgument); 158converter = TypeDescriptor.GetConverter(typeArgument);
System\Activities\RuntimeArgument.cs (1)
213PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(owningElement);
System\Activities\XamlIntegration\ActivityWithResultConverter.cs (1)
114this.baseConverter = TypeDescriptor.GetConverter(this.valueType);
System\Activities\XamlIntegration\PropertyReferenceExtension.cs (1)
36PropertyDescriptor property = TypeDescriptor.GetProperties(targetObject)[PropertyName];
System.Activities.Core.Presentation (9)
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (2)
97this.FlowchartWidth = (double)TypeDescriptor.GetProperties(this.ModelItem)[FlowchartSizeFeature.WidthPropertyName].GetValue(this.ModelItem); 101this.FlowchartHeight = (double)TypeDescriptor.GetProperties(this.ModelItem)[FlowchartSizeFeature.HeightPropertyName].GetValue(this.ModelItem);
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
342this.FlowchartWidth = (double)TypeDescriptor.GetProperties(this.ModelItem)[FlowchartSizeFeature.WidthPropertyName].GetValue(this.ModelItem); 343this.FlowchartHeight = (double)TypeDescriptor.GetProperties(this.ModelItem)[FlowchartSizeFeature.HeightPropertyName].GetValue(this.ModelItem);
System\Activities\Core\Presentation\FlowchartResizeGrip.cs (2)
104TypeDescriptor.GetProperties(flowchartModelItem)[FlowchartSizeFeature.WidthPropertyName].SetValue(flowchartModelItem, flowchartDesigner.FlowchartWidth); 105TypeDescriptor.GetProperties(flowchartModelItem)[FlowchartSizeFeature.HeightPropertyName].SetValue(flowchartModelItem, flowchartDesigner.FlowchartHeight);
System\Activities\Core\Presentation\RegisterMetadataDelayedWorker.cs (3)
81TypeDescriptionProvider currentTypeDescriptor = TypeDescriptor.GetProvider(typeof(object)); 84TypeDescriptor.AddProvider(new TypeDescriptionProviderInterceptor(currentTypeDescriptor, delayedRegisterMetadataWork), typeof(object)); 170TypeDescriptor.RemoveProvider(this, typeof(object));
System.Activities.Presentation (67)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (1)
143PropertyDescriptor property = TypeDescriptor.GetProperties(this.ModelItem)[propertyName];
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\MutableAttributeTable.cs (2)
544EventDescriptor e = TypeDescriptor.GetEvents(kv.Key)[kvMember.Key]; 547p = TypeDescriptor.GetProperties(kv.Key)[kvMember.Key];
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (4)
126editor = ExtensibilityMetadataHelper.GetValueEditor(TypeDescriptor.GetAttributes(genericType), MessageLogger.Instance); 152PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(genericType); 862return GetAttribute<T>(type == null ? null : TypeDescriptor.GetAttributes(type)); 872return GetAttributes<T>(type == null ? null : TypeDescriptor.GetAttributes(type));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
470attributes = TypeDescriptor.GetAttributes(editor);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (9)
33TypeDescriptor.Refreshed += TypeDescriptor_Refreshed; 69TypeDescriptor.AddProvider(_objectProvider, typeof(object)); 92TypeDescriptor.AddProvider(_objectProvider, t); 102TypeDescriptor.Refresh(t); 124: base(TypeDescriptor.GetProvider(typeof(object))) 289Type reflectType = TypeDescriptor.GetReflectionType(objectType); 337if (info != null) reflectMemberType = TypeDescriptor.GetReflectionType(info.EventHandlerType); 350if (info != null) reflectMemberType = TypeDescriptor.GetReflectionType(info.PropertyType); 416reflectType = TypeDescriptor.GetReflectionType(reflectType);
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
113literalValueConverter = TypeDescriptor.GetConverter(type);
System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertyDescriptor.cs (1)
31foreach (Attribute attr in TypeDescriptor.GetAttributes(this.PropertyType))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (3)
68return TypeDescriptor.GetAttributes(this.itemType); 79ContentPropertyAttribute contentAttribute = TypeDescriptor.GetAttributes(this.instance)[typeof(ContentPropertyAttribute)] as ContentPropertyAttribute; 232RuntimeNamePropertyAttribute runtimeNamePropertyAttribute = TypeDescriptor.GetAttributes(this.instance)[typeof(RuntimeNamePropertyAttribute)] as RuntimeNamePropertyAttribute;
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (5)
252return TypeDescriptor.GetAttributes(this.itemType); 263ContentPropertyAttribute contentAttribute = TypeDescriptor.GetAttributes(this.instance.Value)[typeof(ContentPropertyAttribute)] as ContentPropertyAttribute; 387RuntimeNamePropertyAttribute runtimeNamePropertyAttribute = TypeDescriptor.GetAttributes(this.instance.Value)[typeof(RuntimeNamePropertyAttribute)] as RuntimeNamePropertyAttribute; 1213return TypeDescriptor.GetClassName(this); 1218return TypeDescriptor.GetComponentName(this);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (7)
70return TypeDescriptor.GetAttributes(itemType); 83ContentPropertyAttribute contentAttribute = TypeDescriptor.GetAttributes(this.instance)[typeof(ContentPropertyAttribute)] as ContentPropertyAttribute; 227RuntimeNamePropertyAttribute runtimeNamePropertyAttribute = TypeDescriptor.GetAttributes(this.instance)[typeof(RuntimeNamePropertyAttribute)] as RuntimeNamePropertyAttribute; 336return TypeDescriptor.GetClassName(this); 341return TypeDescriptor.GetComponentName(this); 479PropertyDescriptor descriptor = TypeDescriptor.GetProperties(this)[propertyName]; 515PropertyDescriptor descriptor = TypeDescriptor.GetProperties(this)[propertyName];
System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyCollectionImpl.cs (3)
83propertyDescriptors = TypeDescriptor.GetProvider(instanceType).GetTypeDescriptor(instanceType).GetProperties(); 87propertyDescriptors = TypeDescriptor.GetProvider(instance).GetTypeDescriptor(instance).GetProperties(); 92propertyDescriptors = TypeDescriptor.GetProperties(instance);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (2)
134TypeDescriptor.AddProvider(new DictionaryTypeDescriptionProvider(instanceType), instance); 1188: base(TypeDescriptor.GetProvider(type))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (1)
53DefaultPropertyAttribute propAttr = TypeDescriptor.GetAttributes(item.ItemType)[typeof(DefaultPropertyAttribute)] as DefaultPropertyAttribute;
System.Activities.Presentation\System\Activities\Presentation\Model\XamlUtilities.cs (3)
23TypeConverter converter = TypeDescriptor.GetConverter(itemType); 41AttributeCollection attrs = TypeDescriptor.GetAttributes(itemType); 67TypeDescriptor.Refreshed += delegate(RefreshEventArgs args)
System.Activities.Presentation\System\Activities\Presentation\NamespaceSettingsHandler.cs (2)
43TypeDescriptor.AddProvider(new RootModelTypeDescriptionProvider(root), root); 141: base(TypeDescriptor.GetProvider(instance))
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (11)
803PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VBIdentifierName)).OfType<Attribute>().ToArray(), 815PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Type)).OfType<Attribute>().ToArray(), 827PropertyAttributes = TypeDescriptor.GetAttributes(typeof(PropertyKind)).OfType<Attribute>().Union( new Attribute[] { new EditorAttribute(typeof(DirectionPropertyEditor), typeof(PropertyValueEditor)) }).ToArray(), 839PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Activity)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(DesignObjectWrapperDynamicPropertyEditor), typeof(PropertyValueEditor)), new EditorReuseAttribute(false) }).ToArray(), 866PropertyAttributes = TypeDescriptor.GetAttributes(typeof(bool)).OfType<Attribute>().Union( 1067TypeConverter converter = TypeDescriptor.GetConverter(this.GetArgumentType()); 1254var customEditorType = TypeDescriptor 1271TypeConverter converter = TypeDescriptor.GetConverter(type); 1331TypeConverter converter = TypeDescriptor.GetConverter(this.GetArgumentType()); 1351TypeConverter oldConverter = TypeDescriptor.GetConverter(this.GetArgumentType()); 1385TypeConverter converter = TypeDescriptor.GetConverter(newType);
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.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (6)
1012PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VBIdentifierName)).OfType<Attribute>().ToArray(), 1024PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Type)).OfType<Attribute>().ToArray(), 1036PropertyAttributes = TypeDescriptor.GetAttributes(typeof(ModelItem)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(ScopeValueEditor), typeof(PropertyValueEditor)) }).ToArray(), 1048PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Activity)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(DesignObjectWrapperDynamicPropertyEditor), typeof(DialogPropertyValueEditor)), new EditorReuseAttribute(false) }).ToArray(), 1081PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VariableModifiers)).OfType<Attribute>().ToArray(), 1344var customEditorType = TypeDescriptor
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
156TypeDescriptor.GetAttributes(genericType)[typeof(DesignerAttribute)] as DesignerAttribute;
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Helpers.cs (1)
50ViewManagerAttribute viewManagerAttribute = TypeDescriptor.GetAttributes(modelItem.ItemType)[typeof(ViewManagerAttribute)] as ViewManagerAttribute;
System.ComponentModel.DataAnnotations (7)
DataAnnotations\AssociatedMetadataTypeTypeDescriptionProvider.cs (1)
8: base(TypeDescriptor.GetProvider(type)) {
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
74Attribute[] newAttributes = TypeDescriptor.GetAttributes(AssociatedMetadataType).OfType<Attribute>().ToArray();
DataAnnotations\RangeAttribute.cs (1)
178TypeConverter converter = TypeDescriptor.GetConverter(type);
DataAnnotations\ValidationAttributeStore.cs (3)
121TypeDescriptor.GetAttributes(type).Cast<Attribute>(); 211PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(this._type); 233IEnumerable<Attribute> typeAttributes = TypeDescriptor.GetAttributes(propertyDescriptor.PropertyType).Cast<Attribute>();
DataAnnotations\Validator.cs (1)
443PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(instance);
System.Configuration (2)
System\Configuration\ConfigurationProperty.cs (1)
430_converter = TypeDescriptor.GetConverter(_type);
System\Configuration\InfiniteTimeSpanConverter.cs (1)
22static readonly TypeConverter s_TimeSpanConverter = TypeDescriptor.GetConverter(typeof(TimeSpan));
System.Data (87)
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\Base\Core\Internal\Metadata\MutableAttributeTable.cs (2)
544EventDescriptor e = TypeDescriptor.GetEvents(kv.Key)[kvMember.Key]; 547p = TypeDescriptor.GetProperties(kv.Key)[kvMember.Key];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (4)
126editor = ExtensibilityMetadataHelper.GetValueEditor(TypeDescriptor.GetAttributes(genericType), MessageLogger.Instance); 152PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(genericType); 862return GetAttribute<T>(type == null ? null : TypeDescriptor.GetAttributes(type)); 872return GetAttributes<T>(type == null ? null : TypeDescriptor.GetAttributes(type));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
470attributes = TypeDescriptor.GetAttributes(editor);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (9)
33TypeDescriptor.Refreshed += TypeDescriptor_Refreshed; 69TypeDescriptor.AddProvider(_objectProvider, typeof(object)); 92TypeDescriptor.AddProvider(_objectProvider, t); 102TypeDescriptor.Refresh(t); 124: base(TypeDescriptor.GetProvider(typeof(object))) 289Type reflectType = TypeDescriptor.GetReflectionType(objectType); 337if (info != null) reflectMemberType = TypeDescriptor.GetReflectionType(info.EventHandlerType); 350if (info != null) reflectMemberType = TypeDescriptor.GetReflectionType(info.PropertyType); 416reflectType = TypeDescriptor.GetReflectionType(reflectType);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
113literalValueConverter = TypeDescriptor.GetConverter(type);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertyDescriptor.cs (1)
31foreach (Attribute attr in TypeDescriptor.GetAttributes(this.PropertyType))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (3)
68return TypeDescriptor.GetAttributes(this.itemType); 79ContentPropertyAttribute contentAttribute = TypeDescriptor.GetAttributes(this.instance)[typeof(ContentPropertyAttribute)] as ContentPropertyAttribute; 232RuntimeNamePropertyAttribute runtimeNamePropertyAttribute = TypeDescriptor.GetAttributes(this.instance)[typeof(RuntimeNamePropertyAttribute)] as RuntimeNamePropertyAttribute;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (5)
252return TypeDescriptor.GetAttributes(this.itemType); 263ContentPropertyAttribute contentAttribute = TypeDescriptor.GetAttributes(this.instance.Value)[typeof(ContentPropertyAttribute)] as ContentPropertyAttribute; 387RuntimeNamePropertyAttribute runtimeNamePropertyAttribute = TypeDescriptor.GetAttributes(this.instance.Value)[typeof(RuntimeNamePropertyAttribute)] as RuntimeNamePropertyAttribute; 1213return TypeDescriptor.GetClassName(this); 1218return TypeDescriptor.GetComponentName(this);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (7)
70return TypeDescriptor.GetAttributes(itemType); 83ContentPropertyAttribute contentAttribute = TypeDescriptor.GetAttributes(this.instance)[typeof(ContentPropertyAttribute)] as ContentPropertyAttribute; 227RuntimeNamePropertyAttribute runtimeNamePropertyAttribute = TypeDescriptor.GetAttributes(this.instance)[typeof(RuntimeNamePropertyAttribute)] as RuntimeNamePropertyAttribute; 336return TypeDescriptor.GetClassName(this); 341return TypeDescriptor.GetComponentName(this); 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 (3)
83propertyDescriptors = TypeDescriptor.GetProvider(instanceType).GetTypeDescriptor(instanceType).GetProperties(); 87propertyDescriptors = TypeDescriptor.GetProvider(instance).GetTypeDescriptor(instance).GetProperties(); 92propertyDescriptors = TypeDescriptor.GetProperties(instance);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (2)
134TypeDescriptor.AddProvider(new DictionaryTypeDescriptionProvider(instanceType), instance); 1188: base(TypeDescriptor.GetProvider(type))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (1)
53DefaultPropertyAttribute propAttr = TypeDescriptor.GetAttributes(item.ItemType)[typeof(DefaultPropertyAttribute)] as DefaultPropertyAttribute;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\XamlUtilities.cs (3)
23TypeConverter converter = TypeDescriptor.GetConverter(itemType); 41AttributeCollection attrs = TypeDescriptor.GetAttributes(itemType); 67TypeDescriptor.Refreshed += delegate(RefreshEventArgs args)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceSettingsHandler.cs (2)
43TypeDescriptor.AddProvider(new RootModelTypeDescriptionProvider(root), root); 141: base(TypeDescriptor.GetProvider(instance))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (11)
803PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VBIdentifierName)).OfType<Attribute>().ToArray(), 815PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Type)).OfType<Attribute>().ToArray(), 827PropertyAttributes = TypeDescriptor.GetAttributes(typeof(PropertyKind)).OfType<Attribute>().Union( new Attribute[] { new EditorAttribute(typeof(DirectionPropertyEditor), typeof(PropertyValueEditor)) }).ToArray(), 839PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Activity)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(DesignObjectWrapperDynamicPropertyEditor), typeof(PropertyValueEditor)), new EditorReuseAttribute(false) }).ToArray(), 866PropertyAttributes = TypeDescriptor.GetAttributes(typeof(bool)).OfType<Attribute>().Union( 1067TypeConverter converter = TypeDescriptor.GetConverter(this.GetArgumentType()); 1254var customEditorType = TypeDescriptor 1271TypeConverter converter = TypeDescriptor.GetConverter(type); 1331TypeConverter converter = TypeDescriptor.GetConverter(this.GetArgumentType()); 1351TypeConverter oldConverter = TypeDescriptor.GetConverter(this.GetArgumentType()); 1385TypeConverter converter = TypeDescriptor.GetConverter(newType);
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"];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (6)
1012PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VBIdentifierName)).OfType<Attribute>().ToArray(), 1024PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Type)).OfType<Attribute>().ToArray(), 1036PropertyAttributes = TypeDescriptor.GetAttributes(typeof(ModelItem)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(ScopeValueEditor), typeof(PropertyValueEditor)) }).ToArray(), 1048PropertyAttributes = TypeDescriptor.GetAttributes(typeof(Activity)).OfType<Attribute>().Union(new Attribute[] { new EditorAttribute(typeof(DesignObjectWrapperDynamicPropertyEditor), typeof(DialogPropertyValueEditor)), new EditorReuseAttribute(false) }).ToArray(), 1081PropertyAttributes = TypeDescriptor.GetAttributes(typeof(VariableModifiers)).OfType<Attribute>().ToArray(), 1344var customEditorType = TypeDescriptor
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
156TypeDescriptor.GetAttributes(genericType)[typeof(DesignerAttribute)] as DesignerAttribute;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Helpers.cs (1)
50ViewManagerAttribute viewManagerAttribute = TypeDescriptor.GetAttributes(modelItem.ItemType)[typeof(ViewManagerAttribute)] as ViewManagerAttribute;
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (10)
364foreach(PropertyDescriptor reflected in TypeDescriptor.GetProperties(this, true)) { 483return TypeDescriptor.GetClassName(this, true); 486return TypeDescriptor.GetComponentName(this, true); 489return TypeDescriptor.GetAttributes(this, true); 492return TypeDescriptor.GetEditor(this, editorBaseType, true); 495return TypeDescriptor.GetConverter(this, true); 498return TypeDescriptor.GetDefaultProperty(this, true); 507return TypeDescriptor.GetDefaultEvent(this, true); 510return TypeDescriptor.GetEvents(this, true); 513return TypeDescriptor.GetEvents(this, attributes, true);
fx\src\data\System\Data\Odbc\OdbcCommand.cs (1)
295TypeDescriptor.Refresh(this); // VS7 208845
fx\src\data\System\Data\OleDb\OleDbCommand.cs (1)
272TypeDescriptor.Refresh(this); // VS7 208845
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
740TypeDescriptor.Refresh(this); // VS7 208845
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (1)
1007foreach(PropertyDescriptor reflected in TypeDescriptor.GetProperties(this, true)) {
fx\src\data\System\Data\xmlsaver.cs (1)
107PropertyDescriptorCollection pds = TypeDescriptor.GetProperties(instance) ;
fx\src\data\System\Data\XMLSchema.cs (5)
31return TypeDescriptor.GetConverter(type); 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.Data.Entity (3)
System\Data\Common\DataRecord.cs (1)
457AttributeCollection ICustomTypeDescriptor.GetAttributes() { return TypeDescriptor.GetAttributes(this, true); }
System\Data\EntityClient\EntityCommand.cs (1)
395TypeDescriptor.Refresh(this);
System\Data\Objects\DataRecordObjectView.cs (1)
166propertyDescriptors = TypeDescriptor.GetProperties(GetListItemType(propertyDescriptor.PropertyType));
System.Drawing (30)
commonui\System\Drawing\Advanced\ColorTranslator.cs (1)
275c = (Color)TypeDescriptor.GetConverter(typeof(Color)).ConvertFromString(htmlColor);
commonui\System\Drawing\Advanced\SizeFConverter.cs (3)
81TypeConverter floatConverter = TypeDescriptor.GetConverter(typeof(float)); 121TypeConverter floatConverter = TypeDescriptor.GetConverter(typeof(float)); 170PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(SizeF), attributes);
commonui\System\Drawing\ColorConverter.cs (2)
150TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 265TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int));
commonui\System\Drawing\Design\ToolboxItem.cs (4)
375comps.Add(TypeDescriptor.CreateInstance(null, createType, null, null)); 746DescriptionAttribute descattr = (DescriptionAttribute)TypeDescriptor.GetAttributes(type)[typeof(DescriptionAttribute)]; 751ToolboxBitmapAttribute attr = (ToolboxBitmapAttribute)TypeDescriptor.GetAttributes(type)[typeof(ToolboxBitmapAttribute)]; 767foreach (Attribute a in TypeDescriptor.GetAttributes(type)) {
commonui\System\Drawing\Design\UITypeEditor.cs (1)
51TypeDescriptor.AddEditorTable(typeof(UITypeEditor), intrinsicEditors);
commonui\System\Drawing\FontConverter.cs (3)
137size = (float)TypeDescriptor.GetConverter(typeof(float)).ConvertFromString(context, culture, unitTokens[0]); 238args[nArg++] = TypeDescriptor.GetConverter(font.Size).ConvertToString(context, culture, font.Size) + GetGraphicsUnitText(font.Unit); 436PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Font), attributes);
commonui\System\Drawing\ImageConverter.cs (1)
260return TypeDescriptor.GetProperties(typeof(Image), attributes);
commonui\System\Drawing\PointConverter.cs (3)
81TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 122TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 188PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Point), attributes);
commonui\System\Drawing\Printing\MarginsConverter.cs (2)
80TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 120TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int));
commonui\System\Drawing\Printing\PaperSize.cs (1)
308+ " Kind=" + unchecked(TypeDescriptor.GetConverter(typeof(PaperKind)).ConvertToString((int) Kind))
commonui\System\Drawing\Printing\PaperSource.cs (1)
97+ " Kind=" + TypeDescriptor.GetConverter(typeof(PaperSourceKind)).ConvertToString(Kind)
commonui\System\Drawing\Printing\PrinterResolution.cs (1)
111return "[PrinterResolution " + TypeDescriptor.GetConverter(typeof(PrinterResolutionKind)).ConvertToString((int) Kind)
commonui\System\Drawing\Printing\PrinterSettings.cs (1)
1389+ " Duplex=" + TypeDescriptor.GetConverter(typeof(Duplex)).ConvertToString(unchecked((int) Duplex))
commonui\System\Drawing\RectangleConverter.cs (3)
81TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 123TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 194PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Rectangle), attributes);
commonui\System\Drawing\SizeConverter.cs (3)
81TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 122TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 186PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Size), attributes);
System.Web (133)
Compilation\AppSettingsExpressionBuilder.cs (1)
65PropertyDescriptor propDesc = TypeDescriptor.GetProperties(targetType)[propertyName];
Compilation\BaseTemplateCodeDomTreeGenerator.cs (3)
207TypeDescriptor.GetAttributes(builder.ControlType)[typeof(PartialCachingAttribute)]; 271TypeDescriptor.GetAttributes(ctrlType)[typeof(ConstructorNeedsTagAttribute)]; 622TypeDescriptor.GetAttributes(ctrlBuilder.ControlType)[typeof(PartialCachingAttribute)];
Compilation\CodeDOMUtility.cs (2)
46pd = TypeDescriptor.GetProperties(propertyInfo.ReflectedType)[propertyInfo.Name]; 87converter = TypeDescriptor.GetConverter(valueType);
Compilation\ResourceExpressionBuilder.cs (1)
197PropertyDescriptor pd = TypeDescriptor.GetProperties(objType)[propName];
Compilation\RouteValueExpressionBuilder.cs (1)
54PropertyDescriptor propDesc = TypeDescriptor.GetProperties(controlType)[propertyName];
HttpApplication.cs (1)
1895EventDescriptorCollection events = TypeDescriptor.GetEvents(targetType);
ModelBinding\ControlValueProvider.cs (1)
39ControlValuePropertyAttribute controlValueProp = (ControlValuePropertyAttribute)TypeDescriptor.GetAttributes(foundControl)[typeof(ControlValuePropertyAttribute)];
ModelBinding\ModelMetadata.cs (1)
101return !(TypeDescriptor.GetConverter(ModelType).CanConvertFrom(typeof(string)));
ModelBinding\TypeConverterModelBinderProvider.cs (1)
15if (!TypeDescriptor.GetConverter(bindingContext.ModelType).CanConvertFrom(typeof(string))) {
ModelBinding\ValueProviderResult.cs (2)
56TypeConverter converter = TypeDescriptor.GetConverter(destinationType); 59converter = TypeDescriptor.GetConverter(value.GetType());
Routing\RouteValueDictionary.cs (1)
63PropertyDescriptorCollection props = TypeDescriptor.GetProperties(values);
UI\ControlBuilder.cs (1)
784TypeDescriptor.AddProvider(tdpService.GetProvider(obj), obj);
UI\ControlPropertyNameConverter.cs (1)
30PropertyDescriptorCollection pdc = TypeDescriptor.GetProperties(control.GetType());
UI\ControlValuePropertyAttribute.cs (1)
47_defaultValue = TypeDescriptor.GetConverter(type).ConvertFromInvariantString(defaultValue);
UI\DataBinder.cs (2)
149properties = TypeDescriptor.GetProperties(containerType); 155return TypeDescriptor.GetProperties(container);
UI\FilterableAttribute.cs (1)
108System.ComponentModel.AttributeCollection attrs = TypeDescriptor.GetAttributes(type);
UI\ObjectStateFormatter.cs (2)
648TypeConverter converter = TypeDescriptor.GetConverter(valueType); 1167TypeConverter converter = TypeDescriptor.GetConverter(valueType);
UI\PropertyConverter.cs (1)
89pd = TypeDescriptor.GetProperties(propertyInfo.ReflectedType)[propertyInfo.Name];
UI\TargetFrameworkUtil.cs (9)
322return TypeDescriptor.GetProperties(type); 352return TypeDescriptor.GetProperties(obj); 364propertyDescriptors = TypeDescriptor.GetProperties(instance); 367propertyDescriptors = TypeDescriptor.GetProperties(objectType); 407return TypeDescriptor.GetEvents(type); 419eventDescriptors = TypeDescriptor.GetEvents(instance); 422eventDescriptors = TypeDescriptor.GetEvents(objectType); 444return TypeDescriptor.GetAttributes(type); 543provider = TypeDescriptor.GetProvider(type);
UI\TemplateControl.cs (1)
680TypeDescriptor.GetAttributes(t)[typeof(PartialCachingAttribute)];
UI\TemplateParser.cs (1)
1567TypeDescriptor.GetAttributes(childType)[typeof(PartialCachingAttribute)];
UI\ViewStateModeByIdAttribute.cs (1)
24System.ComponentModel.AttributeCollection attrs = TypeDescriptor.GetAttributes(type);
UI\WebControls\AdRotator.cs (1)
363propertyDescriptors = TypeDescriptor.GetProperties(sampleItem);
UI\WebControls\BaseValidator.cs (2)
542ValidationPropertyAttribute valProp = (ValidationPropertyAttribute)TypeDescriptor.GetAttributes(component)[typeof(ValidationPropertyAttribute)]; 544return TypeDescriptor.GetProperties(component, null)[valProp.Name];
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\ControlParameter.cs (1)
162ControlValuePropertyAttribute controlValueProp = (ControlValuePropertyAttribute)TypeDescriptor.GetAttributes(foundControl)[typeof(ControlValuePropertyAttribute)];
UI\WebControls\DataBoundControlHelper.cs (1)
102BindableTypeAttribute bindableTypeAttribute = (BindableTypeAttribute)TypeDescriptor.GetAttributes(type)[typeof(BindableTypeAttribute)];
UI\WebControls\DataGrid.cs (2)
920propDescs = TypeDescriptor.GetProperties(sampleItem); 938propDescs = TypeDescriptor.GetProperties(sampleItemType);
UI\WebControls\DetailsViewRowsGenerator.cs (2)
39propDescs = TypeDescriptor.GetProperties(dataItem); 61propDescs = TypeDescriptor.GetProperties(dataItemType);
UI\WebControls\ErrorStyle.cs (11)
24return TypeDescriptor.GetAttributes(this, true); 28return TypeDescriptor.GetClassName(this, true); 32return TypeDescriptor.GetComponentName(this, true); 36return TypeDescriptor.GetConverter(this, true); 40return TypeDescriptor.GetDefaultEvent(this, true); 44return TypeDescriptor.GetDefaultProperty(this, true); 48return TypeDescriptor.GetEditor(this, editorBaseType, true); 52return TypeDescriptor.GetEvents(this, true); 56return TypeDescriptor.GetEvents(this, attributes, true); 64PropertyDescriptorCollection oldProperties = TypeDescriptor.GetProperties(GetType(), attributes); 71newProperties[i] = TypeDescriptor.CreateProperty(
UI\WebControls\ErrorTableItemStyle.cs (11)
22return TypeDescriptor.GetAttributes(this, true); 26return TypeDescriptor.GetClassName(this, true); 30return TypeDescriptor.GetComponentName(this, true); 34return TypeDescriptor.GetConverter(this, true); 38return TypeDescriptor.GetDefaultEvent(this, true); 42return TypeDescriptor.GetDefaultProperty(this, true); 46return TypeDescriptor.GetEditor(this, editorBaseType, true); 50return TypeDescriptor.GetEvents(this, true); 54return TypeDescriptor.GetEvents(this, attributes, true); 62PropertyDescriptorCollection oldProperties = TypeDescriptor.GetProperties(GetType(), attributes); 69newProperties[i] = TypeDescriptor.CreateProperty(
UI\WebControls\GridViewColumnsGenerator.cs (2)
77propDescs = TypeDescriptor.GetProperties(sampleItem); 99propDescs = TypeDescriptor.GetProperties(sampleItemType);
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 (2)
689PropertyDescriptorCollection props = TypeDescriptor.GetProperties(dataObject); 754TypeConverter converter = TypeDescriptor.GetConverter(type);
UI\WebControls\Panel.cs (1)
266TypeConverter hac = TypeDescriptor.GetConverter(typeof(HorizontalAlign));
UI\WebControls\SubMenuStyle.cs (11)
231 return TypeDescriptor.GetAttributes(this, true); 235 return TypeDescriptor.GetClassName(this, true); 239 return TypeDescriptor.GetComponentName(this, true); 243 return TypeDescriptor.GetConverter(this, true); 247 return TypeDescriptor.GetDefaultEvent(this, true); 251 return TypeDescriptor.GetDefaultProperty(this, true); 255 return TypeDescriptor.GetEditor(this, editorBaseType, true); 259 return TypeDescriptor.GetEvents(this, true); 263 return TypeDescriptor.GetEvents(this, attributes, true); 271 PropertyDescriptorCollection oldProperties = TypeDescriptor.GetProperties(GetType(), attributes); 286 newProperties[i] = TypeDescriptor.CreateProperty(GetType(), property, newAttributes);
UI\WebControls\TableItemStyle.cs (2)
158TypeConverter hac = TypeDescriptor.GetConverter(typeof(HorizontalAlign)); 164TypeConverter hac = TypeDescriptor.GetConverter(typeof(VerticalAlign));
UI\WebControls\TreeView.cs (1)
1484PropertyDescriptorCollection props = TypeDescriptor.GetProperties(item);
UI\WebControls\ValidatedControlConverter.cs (1)
23ValidationPropertyAttribute valProp = (ValidationPropertyAttribute)TypeDescriptor.GetAttributes(control)[typeof(ValidationPropertyAttribute)];
UI\WebParts\AppearanceEditorPart.cs (6)
82TypeConverter chromeTypeConverter = TypeDescriptor.GetConverter(typeof(PartChromeType)); 91TypeConverter directionConverter = TypeDescriptor.GetConverter(typeof(ContentDirection)); 182TypeConverter chromeTypeConverter = TypeDescriptor.GetConverter(typeof(PartChromeType)); 196TypeConverter directionConverter = TypeDescriptor.GetConverter(typeof(ContentDirection)); 280TypeConverter chromeTypeConverter = TypeDescriptor.GetConverter(typeof(PartChromeType)); 284TypeConverter directionConverter = TypeDescriptor.GetConverter(typeof(ContentDirection));
UI\WebParts\BehaviorEditorPart.cs (6)
152TypeConverter exportModeConverter = TypeDescriptor.GetConverter(typeof(WebPartExportMode)); 160TypeConverter helpModeConverter = TypeDescriptor.GetConverter(typeof(WebPartHelpMode)); 270TypeConverter exportModeConverter = TypeDescriptor.GetConverter(typeof(WebPartExportMode)); 282TypeConverter helpModeConverter = TypeDescriptor.GetConverter(typeof(WebPartHelpMode)); 429TypeConverter exportModeConverter = TypeDescriptor.GetConverter(typeof(WebPartExportMode)); 432TypeConverter helpModeConverter = TypeDescriptor.GetConverter(typeof(WebPartHelpMode));
UI\WebParts\LayoutEditorPart.cs (3)
102TypeConverter chromeStateConverter = TypeDescriptor.GetConverter(typeof(PartChromeState)); 149TypeConverter chromeStateConverter = TypeDescriptor.GetConverter(typeof(PartChromeState)); 237TypeConverter chromeStateConverter = TypeDescriptor.GetConverter(typeof(PartChromeState));
UI\WebParts\PropertyGridEditorPart.cs (1)
250PropertyDescriptorCollection propDescs = TypeDescriptor.GetProperties(editableObject, FilterAttributes);
UI\WebParts\ToolZone.cs (1)
322TypeConverter hac = TypeDescriptor.GetConverter(typeof(HorizontalAlign));
UI\WebParts\WebPartChrome.cs (2)
336TypeConverter hac = TypeDescriptor.GetConverter(typeof(HorizontalAlign)); 341TypeConverter vac = TypeDescriptor.GetConverter(typeof(VerticalAlign));
UI\WebParts\WebPartManager.cs (3)
3081TypeConverter converter = TypeDescriptor.GetConverter(pi.PropertyType); 3101TypeConverter typeConverter = TypeDescriptor.GetConverter(type); 4250TypeConverter tempConverter = TypeDescriptor.GetConverter(propertyValueType);
UI\WebParts\WebPartMenuStyle.cs (14)
141return TypeDescriptor.GetAttributes(this, true); 145return TypeDescriptor.GetClassName(this, true); 149return TypeDescriptor.GetComponentName(this, true); 153return TypeDescriptor.GetConverter(this, true); 157return TypeDescriptor.GetDefaultEvent(this, true); 161return TypeDescriptor.GetDefaultProperty(this, true); 165return TypeDescriptor.GetEditor(this, editorBaseType, true); 169return TypeDescriptor.GetEvents(this, true); 173return TypeDescriptor.GetEvents(this, attributes, true); 181PropertyDescriptorCollection oldProperties = TypeDescriptor.GetProperties(GetType(), attributes); 186TypeDescriptor.CreateProperty(GetType(), oldPaddingProperty, new DefaultValueAttribute(1)); 190TypeDescriptor.CreateProperty(GetType(), oldSpacingProperty, new DefaultValueAttribute(0)); 194TypeDescriptor.CreateProperty(GetType(), oldFontProperty, 201TypeDescriptor.CreateProperty(GetType(), oldForeColorProperty,
UI\WebParts\WebPartZoneBase.cs (1)
1465TypeConverter hac = TypeDescriptor.GetConverter(typeof(HorizontalAlign));
WebSysDefaultValueAttribute.cs (1)
39value = TypeDescriptor.GetConverter(_type).ConvertFromInvariantString((string) value);
System.Web.DataVisualization (17)
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 (14)
372 PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToReset)[pi.Name]; 867 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[pi.Name]; 914PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToSerialize)[pi.Name]; 1093return TypeDescriptor.GetConverter(pd.PropertyType); 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 (7)
DynamicData\MetaModel.cs (2)
295TypeDescriptor.AddProviderTransparent(provider, entityType); 370TypeDescriptor.AddProviderTransparent(provider, entityType);
DynamicData\ModelProviders\SimpleTableProvider.cs (1)
23InitializeColumns(TypeDescriptor.GetProperties(entityType));
DynamicData\ModelProviders\TableProvider.cs (1)
51return TypeDescriptor.GetProvider(EntityType).GetTypeDescriptor(EntityType);
DynamicData\Util\Misc.cs (3)
73var props = TypeDescriptor.GetProperties(instance); 102TypeConverter converter = TypeDescriptor.GetConverter(type); 107TypeConverter otherConverter = TypeDescriptor.GetConverter(value.GetType());
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
518TypeConverter converter = TypeDescriptor.GetConverter(type);
System\Data\WebControls\EntityDataSourceViewSchema.cs (1)
65PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(type);
System.Web.Entity.Design (10)
System\Data\WebControls\Design\EntityDataSourceDesigner.cs (8)
378properties["ConnectionString"] = TypeDescriptor.CreateProperty(designerType, "ConnectionString", typeof(string)); 379properties["DefaultContainerName"] = TypeDescriptor.CreateProperty(designerType, "DefaultContainerName", typeof(string)); 380properties["EntitySetName"] = TypeDescriptor.CreateProperty(designerType, "EntitySetName", typeof(string)); 381properties["EntityTypeFilter"] = TypeDescriptor.CreateProperty(designerType, "EntityTypeFilter", typeof(string)); 382properties["CommandText"] = TypeDescriptor.CreateProperty(designerType, "CommandText", typeof(string)); 383properties["OrderBy"] = TypeDescriptor.CreateProperty(designerType, "OrderBy", typeof(string)); 384properties["Select"] = TypeDescriptor.CreateProperty(designerType, "Select", typeof(string)); 385properties["Where"] = TypeDescriptor.CreateProperty(designerType, "Where", typeof(string));
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (2)
210propDesc = TypeDescriptor.GetProperties(entityDataSource)[autoGenProperty]; 217propDesc = TypeDescriptor.GetProperties(entityDataSource)[propertyName];
System.Web.Extensions (7)
Script\Serialization\ObjectConverter.cs (2)
343TypeConverter converter = TypeDescriptor.GetConverter(type); 377TypeConverter propertyConverter = TypeDescriptor.GetConverter(o);
UI\ResourceDefaultValueAttribute.cs (1)
41value = TypeDescriptor.GetConverter(_type).ConvertFromInvariantString((string)value);
UI\WebControls\DataSourceHelper.cs (2)
110TypeConverter converter = TypeDescriptor.GetConverter(type); 134PropertyDescriptorCollection props = TypeDescriptor.GetProperties(dataObject);
UI\WebControls\LinqDataSourceView.cs (1)
845PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(oldDataObject);
UI\WebControls\QueryableDataSourceView.cs (1)
587PropertyDescriptorCollection props = TypeDescriptor.GetProperties(EntityType);
System.Web.Mobile (60)
Mobile\MobileCapabilities.cs (1)
114TypeDescriptor.GetProperties(this)[evaluatorName];
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (2)
165prop = TypeDescriptor.CreateProperty ( 194prop = TypeDescriptor.CreateProperty (
UI\MobileControls\Design\Converters\ValidatedMobileControlConverter.cs (1)
152TypeDescriptor.GetAttributes(control)[typeof(ValidationPropertyAttribute)];
UI\MobileControls\Design\DeviceSpecificDesigner.cs (2)
314TypeDescriptor.Refresh(Component); 330TypeDescriptor.CreateProperty(
UI\MobileControls\Design\FormDesigner.cs (1)
202TypeDescriptor.CreateProperty(GetType(), prop, _emptyAttrs);
UI\MobileControls\Design\ListGeneralPage.cs (2)
353TypeDescriptor.Refresh(list); 394TypeDescriptor.Refresh(selectionList);
UI\MobileControls\Design\ListItemsPage.cs (2)
289TypeDescriptor.Refresh(list); 294TypeDescriptor.Refresh(selectionList);
UI\MobileControls\Design\MobileContainerDesigner.cs (1)
469properties["Expressions"] = TypeDescriptor.CreateProperty(this.GetType(), property, BrowsableAttribute.No);
UI\MobileControls\Design\MobileControlDesigner.cs (3)
498TypeDescriptor.CreateProperty(this.GetType(), _appliedDeviceFiltersPropName, typeof(String)); 501TypeDescriptor.CreateProperty(this.GetType(), _propertyOverridesPropName, typeof(String)); 507properties[propertyName] = TypeDescriptor.CreateProperty(this.GetType(), property, BrowsableAttribute.No);
UI\MobileControls\Design\MobileControlPersister.cs (7)
153(PersistNameAttribute)TypeDescriptor.GetAttributes(collItem.GetType())[typeof(PersistNameAttribute)]; 184(PersistChildrenAttribute)TypeDescriptor.GetAttributes(collItem.GetType())[typeof(PersistChildrenAttribute)]; 359PropertyDescriptorCollection propDescs = TypeDescriptor.GetProperties(component); 493properties = TypeDescriptor.GetProperties(propDesc.PropertyType, 499properties = TypeDescriptor.GetProperties(component, 559subProps = TypeDescriptor.GetProperties(propType); 899(PersistChildrenAttribute)TypeDescriptor.GetAttributes(control.GetType())[typeof(PersistChildrenAttribute)];
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (4)
813TypeDescriptor.CreateProperty(this.GetType(), 823TypeDescriptor.CreateProperty(this.GetType(), 831TypeDescriptor.CreateProperty(this.GetType(), 839properties[_expressionsPropertyName] = TypeDescriptor.CreateProperty(this.GetType(), property, BrowsableAttribute.No);
UI\MobileControls\Design\ObjectListCommandsPage.cs (1)
253TypeDescriptor.Refresh(_objectList);
UI\MobileControls\Design\ObjectListFieldsPage.cs (1)
320TypeDescriptor.Refresh(_objectList);
UI\MobileControls\Design\ObjectListGeneralPage.cs (1)
231TypeDescriptor.Refresh(objectList);
UI\MobileControls\Design\PropertyOverridesDialog.cs (18)
674foreach(PropertyDescriptor property in TypeDescriptor.GetProperties( 758TypeDescriptor.GetProperties(dest.GetType()); 854= TypeDescriptor.GetProperties(component)[navigateUrl ? _navigateUrl : _alternateUrl]; 889TypeDescriptor.GetProperties( 916TypeDescriptor.GetProperties( 959TypeDescriptor.GetProperties( 990TypeDescriptor.GetProperties( 1086return TypeDescriptor.GetAttributes(this.GetType()); 1091return TypeDescriptor.GetClassName(this.GetType()); 1096return TypeDescriptor.GetComponentName(this.GetType()); 1101return TypeDescriptor.GetConverter(this.GetType()); 1106return TypeDescriptor.GetDefaultEvent(this.GetType()); 1111return TypeDescriptor.GetDefaultProperty(this.GetType()); 1116return TypeDescriptor.GetEditor(this.GetType(), editorBaseType); 1121return TypeDescriptor.GetEvents(this.GetType()); 1126return TypeDescriptor.GetEvents(this.GetType(), attributes); 1132TypeDescriptor.GetProperties( 1142TypeDescriptor.GetProperties(
UI\MobileControls\Design\StylesEditorDialog.cs (4)
437PropertyDescriptorCollection propDescs = TypeDescriptor.GetProperties(style); 443foreach (PropertyDescriptor desc in TypeDescriptor.GetProperties(style.Font)) 1185property = TypeDescriptor.GetProperties(typeof(Style))["StyleReference"]; 1222property = TypeDescriptor.GetProperties(typeof(Style))["StyleReference"];
UI\MobileControls\Design\StyleSheetDesigner.cs (3)
1064TypeDescriptor.Refresh(Component); 1101TypeDescriptor.CreateProperty(this.GetType(), _templatesStylePropName, typeof(String), 1114TypeDescriptor.CreateProperty(this.GetType(), _persistedStylesPropName, typeof(ICollection),
UI\MobileControls\DesignerDeviceConfig.cs (1)
38TypeDescriptor.GetAttributes(originalControlType)
UI\MobileControls\DeviceSpecificChoice.cs (3)
173PropertyDescriptor pd = TypeDescriptor.GetProperties(parentObject).Find( 210PropertyDescriptor pd = TypeDescriptor.GetProperties(parentObject).Find(name, true); 267EventDescriptor ed = TypeDescriptor.GetEvents(parentObject).Find(eventName, 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 (146)
misc\ImageListUtils.cs (1)
33PropertyDescriptor prop = TypeDescriptor.GetProperties(parentInstance)[pathInfo[i]];
winforms\Managed\System\Resources\ResXDataNode.cs (4)
381TypeConverter tc = TypeDescriptor.GetConverter(valueType); 484TypeConverter tc = TypeDescriptor.GetConverter(type); 518TypeConverter tc = TypeDescriptor.GetConverter(type); 683TypeConverter tc = TypeDescriptor.GetConverter(typeof(ResXFileRef));
winforms\Managed\System\WinForms\AxHost.cs (10)
1384PropertyDescriptor prop = TypeDescriptor.GetProperties(this)["SelectionStyle"]; 2670PropertyDescriptor prop = TypeDescriptor.GetProperties(this)["SelectionStyle"]; 2722TypeDescriptor.Refresh(this.GetType()); 2724return TypeDescriptor.GetAttributes(this, true); 2766return TypeDescriptor.GetDefaultEvent(this, true); 2776return TypeDescriptor.GetDefaultProperty(this, true); 2805return TypeDescriptor.GetEvents(this, true); 2815return TypeDescriptor.GetEvents(this, attributes, true); 2820TypeDescriptor.Refresh(this.GetType()); 2883PropertyDescriptorCollection baseProps = TypeDescriptor.GetProperties(this, null, true);
winforms\Managed\System\WinForms\Binding.cs (6)
527InheritanceAttribute attr = (InheritanceAttribute)TypeDescriptor.GetAttributes(control)[typeof(InheritanceAttribute)]; 529propInfos = TypeDescriptor.GetProperties(controlClass); 532propInfos = TypeDescriptor.GetProperties(control); 565EventDescriptorCollection eventInfos = TypeDescriptor.GetEvents(control); 746TypeConverter typeConverter = TypeDescriptor.GetConverter(value != null ? value.GetType() : typeof(Object)); 816TypeConverter typeConverter = TypeDescriptor.GetConverter(value != null ? value.GetType() : typeof(Object));
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (5)
156return TypeDescriptor.GetProperties(itemProps[i].PropertyType, new Attribute[] {new BrowsableAttribute(true)}); 161return TypeDescriptor.GetProperties(list[0]); 163return TypeDescriptor.GetProperties(listType); 176itemProps = TypeDescriptor.GetProperties(props[i].PropertyType, new Attribute[] {new BrowsableAttribute(true)}); 191itemProps = TypeDescriptor.GetProperties(list[0]);
winforms\Managed\System\WinForms\ButtonBase.cs (1)
169PropertyDescriptor pd = TypeDescriptor.GetProperties(this)["UseVisualStyleBackColor"];
winforms\Managed\System\WinForms\ColumnHeaderConverter.cs (1)
57Type t = TypeDescriptor.GetReflectionType(value);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (1)
33this.innerConverter = TypeDescriptor.GetConverter(baseType);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ExtendedUITypeEditor.cs (1)
37this.innerEditor = (UITypeEditor)TypeDescriptor.GetEditor(baseType, typeof(UITypeEditor));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IDispatchConverter.cs (1)
90return TypeDescriptor.GetProperties(value, attributes);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
1391PropertyDescriptorCollection props = TypeDescriptor.GetProperties(value, attributes);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (4)
130return TypeDescriptor.GetConverter(typeof(IComponent)); 134return TypeDescriptor.GetEditor(component.GetType(), baseEditorType); 452TypeConverter subConverter = TypeDescriptor.GetConverter(t); 456Object subEditor = TypeDescriptor.GetEditor(t, editorType);
winforms\Managed\System\WinForms\Control.cs (4)
14508sizeProperty = TypeDescriptor.GetProperties(this)[PropertyNames.Size]; 14509locationProperty = TypeDescriptor.GetProperties(this)[PropertyNames.Location]; 17308PropertyDescriptorCollection props = TypeDescriptor.GetProperties(control, 18027PropertyDescriptorCollection props = TypeDescriptor.GetProperties(control,
winforms\Managed\System\WinForms\Cursor.cs (1)
710s = TypeDescriptor.GetConverter(typeof(Cursor)).ConvertToString(this);
winforms\Managed\System\WinForms\DataGrid.cs (3)
3996Debug.WriteLineIf(CompModSwitches.DataGridKeys.TraceVerbose, "DataGridKeys: OnKeyPress " + TypeDescriptor.GetConverter(typeof(Keys)).ConvertToString(kpe.KeyChar)); 7473Debug.WriteLineIf(CompModSwitches.DataGridKeys.TraceVerbose, "DataGridKeys: ProcessDialogKey " + TypeDescriptor.GetConverter(typeof(Keys)).ConvertToString(keyData)); 7658Debug.WriteLineIf(CompModSwitches.DataGridKeys.TraceVerbose, "DataGridKeys: ProcessGridKey "+ TypeDescriptor.GetConverter(typeof(Keys)).ConvertToString(ke.KeyCode));
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
182this.typeConverter = TypeDescriptor.GetConverter(this.PropertyDescriptor.PropertyType);
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
382formattedValueTypeConverter = TypeDescriptor.GetConverter(this.FormattedValueType); 958valueTypeConverter = TypeDescriptor.GetConverter(this.ValueType);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (7)
430return TypeDescriptor.GetConverter(this.DisplayType); 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\DataGridViewDataConnection.cs (2)
998TypeConverter imageTypeConverter = TypeDescriptor.GetConverter(typeof(Image)); 1028TypeConverter imageTypeConverter = TypeDescriptor.GetConverter(typeof(Image));
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
6879TypeConverter converter = TypeDescriptor.GetConverter(type);
winforms\Managed\System\WinForms\Design\EventsTab.cs (5)
87EventDescriptor defEvent = TypeDescriptor.GetDefaultEvent(obj); 145EventDescriptorCollection events = TypeDescriptor.GetEvents(component, attributes); 156PropertyDescriptorCollection namespaceProperties = TypeDescriptor.GetProperties(component, attributesPlusNamespace); 169EventDescriptorCollection namespaceEvents = TypeDescriptor.GetEvents(namespaceValue, attributes); 177nsProp = TypeDescriptor.CreateProperty(nsProp.ComponentType, nsProp, MergablePropertyAttribute.No);
winforms\Managed\System\WinForms\Design\PropertyTab.cs (1)
126return TypeDescriptor.GetDefaultProperty(component);
winforms\Managed\System\WinForms\FlatButtonAppearance.cs (1)
196return TypeDescriptor.GetProperties(value, attributes);
winforms\Managed\System\WinForms\Formatter.cs (4)
135TypeConverter sourceTypeTypeConverter = TypeDescriptor.GetConverter(sourceType); 140TypeConverter targetTypeTypeConverter = TypeDescriptor.GetConverter(targetType); 276TypeConverter targetTypeTypeConverter = TypeDescriptor.GetConverter(targetType); 281TypeConverter sourceTypeTypeConverter = TypeDescriptor.GetConverter(sourceType);
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\LinkArea.cs (3)
152TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 191TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 239PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(LinkArea), attributes);
winforms\Managed\System\WinForms\LinkConverter.cs (2)
77TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 117TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int));
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 (8)
155pdc = TypeDescriptor.GetProperties(target); 496pdc = TypeDescriptor.GetProperties(target, BrowsableAttributeList); 570return TypeDescriptor.GetProperties(GetListItemType(type), BrowsableAttributeList); 578pdc = TypeDescriptor.GetProperties(targetType.GetElementType(), BrowsableAttributeList); 590pdc = TypeDescriptor.GetProperties(type, BrowsableAttributeList); 628pdc = TypeDescriptor.GetProperties(enumerable, BrowsableAttributeList); 634pdc = TypeDescriptor.GetProperties(instance, BrowsableAttributeList); 637pdc = TypeDescriptor.GetProperties(enumerable, BrowsableAttributeList);
winforms\Managed\System\WinForms\ListControl.cs (2)
492descriptor = TypeDescriptor.GetProperties(item).Find(field, true); 588stringTypeConverter = TypeDescriptor.GetConverter(typeof(String));
winforms\Managed\System\WinForms\MenuItem.cs (1)
951info.dwTypeData = data.caption + "\t" + TypeDescriptor.GetConverter(typeof(Keys)).ConvertToString((Keys)(int)data.shortcut);
winforms\Managed\System\WinForms\OpacityConverter.cs (1)
58percent = (double)TypeDescriptor.GetConverter(typeof(double)).ConvertFrom(context, culture, text);
winforms\Managed\System\WinForms\Padding.cs (3)
322TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 355TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 413PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(Padding), attributes);
winforms\Managed\System\WinForms\PropertyGrid.cs (11)
2380enable = (TypeDescriptor.GetEditor(obj, typeof(ComponentEditor)) != null); 2533PropertyTabAttribute tabAttr = (PropertyTabAttribute) TypeDescriptor.GetAttributes(objs[0])[typeof(PropertyTabAttribute)]; 2562tabAttr = (PropertyTabAttribute) TypeDescriptor.GetAttributes(objs[i])[typeof(PropertyTabAttribute)]; 2778OnComComponentNameChanged(new ComponentRenameEventArgs(obj, null, TypeDescriptor.GetClassName(obj))); 2812PropertyTabAttribute attribute = (PropertyTabAttribute) TypeDescriptor.GetAttributes(e.Component.GetType())[typeof(PropertyTabAttribute)]; 2848PropertyTabAttribute attribute = (PropertyTabAttribute) TypeDescriptor.GetAttributes(e.Component.GetType())[typeof(PropertyTabAttribute)]; 2920TypeDescriptor.Refreshed += new RefreshEventHandler(this.OnTypeDescriptorRefreshed); 2933TypeDescriptor.Refreshed -= new RefreshEventHandler(this.OnTypeDescriptorRefreshed); 3367UITypeEditor editor = (UITypeEditor)TypeDescriptor.GetEditor(propertyType, typeof(UITypeEditor)); 3554ComponentEditor editor = (ComponentEditor)TypeDescriptor.GetEditor(obj, typeof(ComponentEditor)); 3959PropertyTabAttribute attribute = (PropertyTabAttribute) TypeDescriptor.GetAttributes(comp.GetType())[typeof(PropertyTabAttribute)];
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (9)
216return TypeDescriptor.GetAttributes(PropertyType); 490forceReadOnly |= TypeDescriptor.GetAttributes(value).Contains(InheritanceAttribute.InheritedReadOnly); 502bool isImmutableReadOnly = TypeDescriptor.GetAttributes(this.PropertyType)[typeof(ImmutableObjectAttribute)].Equals(ImmutableObjectAttribute.Yes); 989converter = TypeDescriptor.GetConverter(this.PropertyType); 992converter = TypeDescriptor.GetConverter(value); 1007editor = (UITypeEditor)TypeDescriptor.GetEditor(this.PropertyType, typeof(System.Drawing.Design.UITypeEditor)); 1364PropertyDescriptor property = TypeDescriptor.GetProperties(owner)[propertyName]; 1544ReadOnlyAttribute readOnlyAttr = (ReadOnlyAttribute)TypeDescriptor.GetAttributes(obj)[typeof(ReadOnlyAttribute)]; 1565defProp = TypeDescriptor.GetDefaultProperty(obj);
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (1)
198TypeConverter converter = TypeDescriptor.GetConverter(value);
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (2)
39ReadOnlyAttribute readOnlyAttr = (ReadOnlyAttribute)TypeDescriptor.GetAttributes(obj)[typeof(ReadOnlyAttribute)]; 40if ((readOnlyAttr != null && !readOnlyAttr.IsDefaultAttribute()) || TypeDescriptor.GetAttributes(obj).Contains(InheritanceAttribute.InheritedReadOnly)) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertiesTab.cs (3)
88return TypeDescriptor.GetProperties(component, attributes); 91TypeConverter tc = (context.PropertyDescriptor == null ? TypeDescriptor.GetConverter(component) : context.PropertyDescriptor.Converter); 93return TypeDescriptor.GetProperties(component, attributes);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (4)
140typeName = TypeDescriptor.GetClassName(owner); 151PropertyDescriptor componentProperty = TypeDescriptor.GetProperties(ownerType)[this.PropertyName]; 161typeName = TypeDescriptor.GetClassName(owner); 735eventDesc = TypeDescriptor.GetEvents(eventObj)[propertyInfo.Name];
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
5616editor = (InstanceCreationEditor)TypeDescriptor.GetEditor(ute, typeof(InstanceCreationEditor));
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (5)
50this.objValueClassName = TypeDescriptor.GetClassName(this.objValue); 157ReadOnlyAttribute readOnlyAttr = (ReadOnlyAttribute)TypeDescriptor.GetAttributes(this.objValue)[typeof(ReadOnlyAttribute)]; 158if ((readOnlyAttr != null && !readOnlyAttr.IsDefaultAttribute()) || TypeDescriptor.GetAttributes(this.objValue).Contains(InheritanceAttribute.InheritedReadOnly)) { 190HelpKeywordAttribute helpAttribute = (HelpKeywordAttribute)TypeDescriptor.GetAttributes(objValue)[typeof(HelpKeywordAttribute)]; 230objValueClassName = TypeDescriptor.GetClassName(objValue);
winforms\Managed\System\WinForms\PropertyManager.cs (2)
48propInfo = TypeDescriptor.GetProperties(dataSource).Find(propName, true); 87return TypeDescriptor.GetClassName(dataSource) + "." + propName;
winforms\Managed\System\WinForms\RadioButton.cs (1)
509PropertyDescriptor propDesc = TypeDescriptor.GetProperties(this)["Checked"];
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
1763PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(DockPaddingEdges), attributes);
winforms\Managed\System\WinForms\SelectionRangeConverter.cs (3)
75TypeConverter dateTimeConverter = TypeDescriptor.GetConverter(typeof(DateTime)); 120args[i] = TypeDescriptor.GetConverter(propValue).ConvertToString(context, culture, propValue); 177PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(SelectionRange), attributes);
winforms\Managed\System\WinForms\TableLayoutPanelCellPosition.cs (2)
114TypeConverter intConverter = TypeDescriptor.GetConverter(typeof(int)); 165PropertyDescriptorCollection props = TypeDescriptor.GetProperties(typeof(TableLayoutPanelCellPosition), attributes);
winforms\Managed\System\WinForms\TableLayoutSettings.cs (4)
53TypeConverter converter = TypeDescriptor.GetConverter(this); 434TypeConverter converter = TypeDescriptor.GetConverter(this); 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\ToolStripMenuItem.cs (1)
1218return TypeDescriptor.GetConverter(typeof(Keys)).ConvertToString(shortcutKeys);
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 (17)
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 (14)
372 PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToReset)[pi.Name]; 867 PropertyDescriptor pd = TypeDescriptor.GetProperties(parent)[pi.Name]; 914PropertyDescriptor pd = TypeDescriptor.GetProperties(objectToSerialize)[pi.Name]; 1093return TypeDescriptor.GetConverter(pd.PropertyType); 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 (26)
Common\BasePropertyDescriptor.cs (5)
384return TypeDescriptor.GetEditor(PropertyType, editorBaseType); 466attributes.AddRange(TypeDescriptor.GetAttributes(PropertyType)); 735if (TypeDescriptor.Equals(sourceType, typeof(string))) 747if (TypeDescriptor.Equals(destinationType, typeof(Type))) 771if (value is Type && TypeDescriptor.Equals(destinationType, typeof(string)))
Designers\EventSinkActivityDesigner.cs (2)
72PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["EventName"], Activity, String.Empty); 86TypeDescriptor.Refresh(e.Activity);
Designers\InvokeMethodActivityDesigner.cs (2)
71PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["MethodName"], Activity, String.Empty); 84TypeDescriptor.Refresh(e.Activity);
Designers\InvokeWebServiceDesigner.cs (4)
76properties["URL"] = new WebServiceUrlPropertyDescriptor(Activity.Site, TypeDescriptor.CreateProperty(this.GetType(), "URL", typeof(string), DesignOnlyAttribute.Yes, MergablePropertyAttribute.No)); 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); 173TypeDescriptor.Refresh(e.Activity);
Designers\PolicyDesigner.cs (1)
84TypeDescriptor.GetProperties(activity)["RuleSetReference"].SetValue(activity, activity.RuleSetReference);
Designers\StateDesigner.cs (2)
127TypeDescriptor.Refresh(Activity); 1923PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(activity);
Designers\WebServiceFaultDesigner.cs (1)
33TypeDescriptor.Refresh(e.Activity);
Designers\WebServiceReceiveDesigner.cs (3)
53PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(Activity)["MethodName"]; 66TypeDescriptor.Refresh(e.Activity); 71TypeDescriptor.Refresh(succeedingActivity);
Designers\WebServiceResponseDesigner.cs (1)
46TypeDescriptor.Refresh(e.Activity);
LocalService\CorrelationTokenTypeConvertor.cs (1)
72PropertyDescriptor correlatorProperty = TypeDescriptor.GetProperties(preceedingActivity)["CorrelationToken"] as PropertyDescriptor;
Rules\Design\LogicalExpressionTypeConverter.cs (4)
52newProps.Add(new RuleConditionReferenceNamePropertyDescriptor(context, TypeDescriptor.CreateProperty(typeof(RuleConditionReference), "ConditionName", typeof(string), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content), DesignOnlyAttribute.Yes))); 53newProps.Add(new RuleConditionReferencePropertyDescriptor(context, TypeDescriptor.CreateProperty(typeof(RuleConditionReference), "Expression", typeof(CodeExpression), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content), DesignOnlyAttribute.Yes))); 176newProps.Add(new RuleSetPropertyDescriptor(site, TypeDescriptor.CreateProperty(typeof(RuleSet), "RuleSet Definition", typeof(RuleSet), new DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content), DesignOnlyAttribute.Yes))); 296PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(component)["ConditionName"];
System.Workflow.ComponentModel (71)
AuthoringOM\Behaviors\ExceptionHandlerDesigner.cs (2)
22properties["InitializeField"] = TypeDescriptor.CreateProperty(GetType(), "InitializeField", typeof(bool), new Attribute[] { DesignerSerializationVisibilityAttribute.Hidden, BrowsableAttribute.No }); 66TypeDescriptor.Refresh(e.Activity);
AuthoringOM\Design\ActivityDesigner.cs (5)
743PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(Activity, new Attribute[] { new BrowsableAttribute(true) }); 1203DefaultEventAttribute defaultEventAttribute = TypeDescriptor.GetAttributes(Activity)[typeof(DefaultEventAttribute)] as DefaultEventAttribute; 1207ActivityBindPropertyDescriptor defaultPropEvent = TypeDescriptor.GetProperties(Activity)[defaultEventAttribute.Name] as ActivityBindPropertyDescriptor; 1993AttributeCollection attribs = TypeDescriptor.GetAttributes(activityType); 2239TypeDescriptor.Refresh(e.Component);
AuthoringOM\Design\ActivityDesignerAccessibleObject.cs (2)
92if (TypeDescriptor.GetProperties(activity)["TypeName"] != null) 93return TypeDescriptor.GetProperties(activity)["TypeName"].GetValue(activity) as string;
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (4)
378TypeConverter converter = TypeDescriptor.GetConverter(value); 393TypeConverter converter = TypeDescriptor.GetConverter(typeof(Size)); 428TypeConverter converter = TypeDescriptor.GetConverter(value); 443TypeConverter converter = TypeDescriptor.GetConverter(typeof(Point));
AuthoringOM\Design\ActivityPreviewDesigner.cs (1)
93TypeDescriptor.Refresh(Activity);
AuthoringOM\Design\CommandSet.cs (1)
654PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(activity)["Enabled"];
AuthoringOM\Design\ComponentSerializationService.cs (6)
485propertyDesc = TypeDescriptor.GetProperties(this.obj)[this.property.Name]; 505TypeConverter converter = TypeDescriptor.GetConverter(this.obj); 512props = TypeDescriptor.GetProperties(this.obj); 698TypeConverter converter = TypeDescriptor.GetConverter(propertySegment.Object); 705props = TypeDescriptor.GetProperties(propertySegment.Object); 731propertyDescriptor = TypeDescriptor.GetProperties(obj)[propertyName];
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
976TypeDescriptor.Refresh(walkerEventArgs.CurrentActivity);
AuthoringOM\Design\CustomActivityDesigner.cs (6)
77TypeDescriptor.AddAttributes(rootActivity, new Attribute[] { new DesignerAttribute(designerAttrib.DesignerTypeName, typeof(IRootDesigner)) }); 138AttributeCollection attribs = TypeDescriptor.GetAttributes(component); 306PropertyDescriptor supportsEventsPropDesc = TypeDescriptor.GetProperties(host.RootComponent)["SupportsEvents"]; 310PropertyDescriptor supportsExceptionsPropDesc = TypeDescriptor.GetProperties(host.RootComponent)["SupportsExceptions"]; 315PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(host.RootComponent); 347PropertyDescriptor baseActivityTypePropertyDescriptor = TypeDescriptor.CreateProperty(realBaseActivityTypePropertyDescriptor.ComponentType, realBaseActivityTypePropertyDescriptor, DesignerSerializationVisibilityAttribute.Visible);
AuthoringOM\Design\DesignerHelpers.cs (9)
1335TypeDescriptor.AddProvider(new ReadonlyTypeDescriptonProvider(TypeDescriptor.GetProvider(component)), component); 1338PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(component, new Attribute[] { BrowsableAttribute.Yes }); 1346TypeConverter converter = TypeDescriptor.GetConverter(component1); 1350TypeDescriptor.AddProvider(new ReadonlyTypeDescriptonProvider(TypeDescriptor.GetProvider(component1)), component1); 1734PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(activity); 1740PropertyDescriptor namePropertyDescriptor = TypeDescriptor.GetConverter(value).GetProperties(new TypeDescriptorContext(activity.Site, null, value), value)["ConditionName"]; 1741PropertyDescriptor expressionPropertyDescriptor = TypeDescriptor.GetConverter(value).GetProperties(new TypeDescriptorContext(activity.Site, null, value), value)["Expression"];
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
1416newProps.Add(new ParameterDataPropertyDescriptor(context, TypeDescriptor.CreateProperty(typeof(GenericParameters), parameterData.ParameterType.Name, typeof(ParameterData))));
AuthoringOM\Design\FreeFormDesigner.cs (2)
1044PropertyDescriptorCollection properties = TypeDescriptor.GetProperties(designer); 1244TypeDescriptor.Refresh(Activity);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
664ToolboxBitmapAttribute toolboxBitmapAttribute = (ToolboxBitmapAttribute)TypeDescriptor.GetAttributes(draggedActivities[0].GetType())[typeof(ToolboxBitmapAttribute)];
AuthoringOM\Design\PropertyDescriptors.cs (2)
223foreach (EventDescriptor eventDesc in TypeDescriptor.GetEvents(eventOwner)) 404TypeDescriptor.Refresh(component);
AuthoringOM\Design\ReferenceService.cs (3)
41foreach (PropertyDescriptor property in TypeDescriptor.GetProperties(reference, Attributes)) 86TypeDescriptor.Refreshed += new RefreshEventHandler(OnComponentRefreshed); 234TypeDescriptor.Refreshed -= new RefreshEventHandler(OnComponentRefreshed);
AuthoringOM\Design\Themes.cs (1)
701AttributeCollection attributeCollection = TypeDescriptor.GetAttributes(designerType);
AuthoringOM\Design\TypeConverters.cs (4)
129TypeConverter typeConverter = TypeDescriptor.GetConverter(value.GetType()); 138props = PropertyDescriptorFilter.FilterProperties(component.Site, value, TypeDescriptor.GetProperties(value, new Attribute[] { BrowsableAttribute.Yes })); 274PropertyDescriptorCollection props = TypeDescriptor.GetProperties(value, new Attribute[] { BrowsableAttribute.Yes }); 362realTypeConverter = TypeDescriptor.GetConverter(currentContext.PropertyDescriptor.PropertyType);
AuthoringOM\Design\WinOEToolBoxItem.cs (1)
87comps.Add(TypeDescriptor.CreateInstance(null, typeOfComponent, null, null));
AuthoringOM\Design\WorkflowInlining.cs (1)
480TypeDescriptor.Refresh(Activity);
AuthoringOM\Design\XomlDesignerLoader.cs (4)
45TypeDescriptor.AddAttributes(invokeWorkflowType, new DesignerAttribute(typeof(InvokeWorkflowDesigner), typeof(IDesigner))); 158TypeDescriptor.AddProvider(typeDescriptionProviderService.GetProvider(component), component); 727TypeDescriptor.Refresh(args.CurrentActivity); 739TypeDescriptor.Refresh(args.CurrentActivity);
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (1)
210TypeConverter converter = TypeDescriptor.GetConverter(objectType);
AuthoringOM\Serializer\CompositeActivityTypeDescriptorProvider.cs (1)
25: base(TypeDescriptor.GetProvider(typeof(CompositeActivity)))
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
145foreach (EventDescriptor eventDesc in TypeDescriptor.GetEvents(dependencyObject))
AuthoringOM\Serializer\PropertySegmentSerializer.cs (2)
156PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(propertyInfo.PropertySegment.Object)[propertyInfo.Name]; 167converter = TypeDescriptor.GetConverter(propertyType);
AuthoringOM\Serializer\SerializableTypeCodeDomSerializer.cs (2)
106CodeVariableDeclarationStatement varDecl = new CodeVariableDeclarationStatement(TypeDescriptor.GetClassName(value), varName); 107varDecl.InitExpression = new CodeObjectCreateExpression(TypeDescriptor.GetClassName(value), new CodeExpression[0]);
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (2)
660TypeConverter typeConverter = TypeDescriptor.GetConverter(obj.GetType()); 1751TypeConverter typeConverter = TypeDescriptor.GetConverter(type);
Shared\BasePropertyDescriptor.cs (5)
383return TypeDescriptor.GetEditor(PropertyType, editorBaseType); 465attributes.AddRange(TypeDescriptor.GetAttributes(PropertyType)); 734if (TypeDescriptor.Equals(sourceType, typeof(string))) 746if (TypeDescriptor.Equals(destinationType, typeof(Type))) 770if (value is Type && TypeDescriptor.Equals(destinationType, typeof(string)))
System.Workflow.Runtime (11)
System\Activities\Statements\Interop.cs (11)
550return TypeDescriptor.GetAttributes(this, true); 555return TypeDescriptor.GetClassName(this, true); 560return TypeDescriptor.GetComponentName(this, true); 565return TypeDescriptor.GetConverter(this, true); 570return TypeDescriptor.GetDefaultEvent(this, true); 575return TypeDescriptor.GetDefaultProperty(this, true); 580return TypeDescriptor.GetEditor(this, editorBaseType, true); 585return TypeDescriptor.GetEvents(this, attributes, true); 590return TypeDescriptor.GetEvents(this, true); 600interopProperties = TypeDescriptor.GetProperties(this, attributes, true); 604interopProperties = TypeDescriptor.GetProperties(this, true);
System.WorkflowServices (7)
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\ReceiveActivityDesigner.cs (1)
161TypeDescriptor.Refresh(e.Activity);
System\Workflow\Activities\SendActivityDesigner.cs (1)
112TypeDescriptor.Refresh(e.Activity);
System\Workflow\Activities\ServiceOperationHelpers.cs (2)
54return TypeDescriptor.GetProperties(activity)[ReceiveActivity.ServiceOperationInfoProperty.Name]; 59return TypeDescriptor.GetProperties(activity)[SendActivity.ServiceOperationInfoProperty.Name];
System\Workflow\Activities\WorkflowServiceAttributesTypeConverter.cs (1)
16PropertyDescriptorCollection subProperties = TypeDescriptor.GetProperties(value, new Attribute[] { new BrowsableAttribute(true) });
System.Xml.Linq (1)
System\Xml\Linq\XComponentModel.cs (1)
15public XTypeDescriptionProvider() : base(TypeDescriptor.GetProvider(typeof(T))) {
WindowsBase (23)
Base\MS\Internal\ComponentModel\APCustomTypeDescriptor.cs (1)
244return (DependencyObject)TypeDescriptor.GetAssociation(typeof(DependencyObject), value);
Base\MS\Internal\ComponentModel\AttachInfo.cs (1)
145TypeDescriptionProvider typeProvider = TypeDescriptor.GetProvider(_dp.OwnerType);
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (11)
401Type reflectionType = TypeDescriptor.GetReflectionType(dp.OwnerType); 457return (DependencyObject)TypeDescriptor.GetAssociation(typeof(DependencyObject), value); 473Type propertyReflectionType = TypeDescriptor.GetReflectionType(_dp.PropertyType); 568Type reflectionType = TypeDescriptor.GetReflectionType(dp.OwnerType); 579TypeDescriptor.GetReflectionType(dp.PropertyType) 614reflectionType = TypeDescriptor.GetReflectionType(_dp.OwnerType); 626reflectionType = TypeDescriptor.GetReflectionType(_property.ComponentType); 768attachedPropertyBrowsableType = TypeDescriptor.GetReflectionType(typeof(AttachedPropertyBrowsableAttribute)); 782attributeType = TypeDescriptor.GetReflectionType(typeof(Attribute)); 796boolType = TypeDescriptor.GetReflectionType(typeof(bool)); 810dpType = new Type[] { TypeDescriptor.GetReflectionType(typeof(DependencyObject)) };
Base\MS\Internal\ComponentModel\DependencyObjectProvider.cs (2)
39public DependencyObjectProvider() : base(TypeDescriptor.GetProvider(typeof(DependencyObject))) 46TypeDescriptor.Refreshed += delegate(RefreshEventArgs args)
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (1)
128filterValue = (DependencyObject)TypeDescriptor.GetAssociation(_objectType, _instance);
Base\System\ComponentModel\DependencyPropertyDescriptor.cs (2)
583_property = TypeDescriptor.GetProperties(_componentType)[Name]; 594_property = TypeDescriptor.CreateProperty(_componentType, Name, _dp.PropertyType);
Base\System\Windows\AttachedPropertyBrowsableWhenAttributePresentAttribute.cs (1)
96Attribute a = TypeDescriptor.GetAttributes(d)[_attributeType];
Base\System\Windows\Input\KeyValueSerializer.cs (2)
71TypeConverter converter = TypeDescriptor.GetConverter(typeof(Key)); 86TypeConverter converter = TypeDescriptor.GetConverter(typeof(Key));
Base\System\Windows\Input\ModifierKeysValueSerializer.cs (2)
68TypeConverter converter = TypeDescriptor.GetConverter(typeof(ModifierKeys)); 83TypeConverter converter = TypeDescriptor.GetConverter(typeof(ModifierKeys));