49 types derived from PropertyDescriptor
System (5)
compmod\system\componentmodel\design\DesignerOptionService.cs (2)
444private sealed class WrappedPropertyDescriptor : PropertyDescriptor { 533private class OptionPropertyDescriptor : PropertyDescriptor {
compmod\system\componentmodel\ExtendedPropertyDescriptor.cs (1)
26internal sealed class ExtendedPropertyDescriptor : PropertyDescriptor {
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (1)
60internal sealed class ReflectPropertyDescriptor : PropertyDescriptor {
compmod\system\componentmodel\TypeConverter.cs (1)
445protected abstract class SimplePropertyDescriptor : PropertyDescriptor {
System.Activities (2)
System\Activities\DynamicActivityTypeDescriptor.cs (1)
144class DynamicActivityPropertyDescriptor : PropertyDescriptor
System\Activities\WorkflowDataContext.cs (1)
195class PropertyDescriptorImpl : PropertyDescriptor
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
775private class MetadataStorePropertyDescriptor : PropertyDescriptor
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
595sealed class DesignObjectPropertyDescriptor : PropertyDescriptor
System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertyDescriptor.cs (1)
14class AttachedPropertyDescriptor : PropertyDescriptor
System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyDescriptor.cs (1)
13internal class ModelPropertyDescriptor : PropertyDescriptor
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (1)
1225class ItemsCollectionPropertyDescriptor : PropertyDescriptor
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
117class WrappedPropertyDescriptor : PropertyDescriptor
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
17class NamespaceListPropertyDescriptor : PropertyDescriptor
System.ComponentModel.DataAnnotations (1)
DataAnnotations\MetadataPropertyDescriptorWrapper.cs (1)
8internal class MetadataPropertyDescriptorWrapper : PropertyDescriptor {
System.Data (12)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
775private class MetadataStorePropertyDescriptor : PropertyDescriptor
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
595sealed class DesignObjectPropertyDescriptor : PropertyDescriptor
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertyDescriptor.cs (1)
14class AttachedPropertyDescriptor : PropertyDescriptor
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyDescriptor.cs (1)
13internal class ModelPropertyDescriptor : PropertyDescriptor
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (1)
1225class ItemsCollectionPropertyDescriptor : PropertyDescriptor
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
117class WrappedPropertyDescriptor : PropertyDescriptor
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
17class NamespaceListPropertyDescriptor : PropertyDescriptor
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (1)
61internal class DbConnectionStringBuilderDescriptor : PropertyDescriptor {
fx\src\data\System\Data\Common\dbenumerator.cs (1)
108sealed private class DbColumnDescriptor : PropertyDescriptor {
fx\src\data\System\Data\DataColumnPropertyDescriptor.cs (1)
15internal sealed class DataColumnPropertyDescriptor : PropertyDescriptor {
fx\src\data\System\Data\DataRelationPropertyDescriptor.cs (1)
16internal sealed class DataRelationPropertyDescriptor : PropertyDescriptor {
fx\src\data\System\Data\DataTablePropertyDescriptor.cs (1)
14internal sealed class DataTablePropertyDescriptor : PropertyDescriptor {
System.Data.Entity (1)
System\Data\Objects\FieldDescriptor.cs (1)
21internal sealed class FieldDescriptor : PropertyDescriptor
System.Web (3)
UI\ListSourceHelper.cs (1)
77internal class ListSourcePropertyDescriptor : PropertyDescriptor {
UI\WebControls\XmlDataSourceNodeDescriptor.cs (1)
105private class XmlDataSourcePropertyDescriptor : PropertyDescriptor {
UI\WebControls\XmlHierarchyData.cs (1)
193private class XmlHierarchyDataPropertyDescriptor : PropertyDescriptor {
System.Web.DataVisualization (1)
Common\Converters\CustomAttributesConverters.cs (1)
834 internal class DynamicPropertyDescriptor : PropertyDescriptor
System.Web.DynamicData (1)
DynamicData\Util\DictionaryCustomTypeDescriptor.cs (1)
35internal class DictionaryPropertyDescriptor : PropertyDescriptor {
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceWrapperPropertyDescriptor.cs (1)
35internal sealed class EntityDataSourceWrapperPropertyDescriptor : PropertyDescriptor
System.Windows.Forms (3)
winforms\Managed\System\WinForms\AxHost.cs (1)
6951internal class AxPropertyDescriptor : PropertyDescriptor {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
32internal class Com2PropertyDescriptor : PropertyDescriptor, ICloneable{
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (1)
25internal class MergePropertyDescriptor : PropertyDescriptor {
System.Windows.Forms.DataVisualization (1)
Common\Converters\CustomAttributesConverters.cs (1)
834 internal class DynamicPropertyDescriptor : PropertyDescriptor
System.Workflow.Activities (2)
Common\BasePropertyDescriptor.cs (2)
164internal class DynamicPropertyDescriptor : PropertyDescriptor 302internal class ParameterInfoBasedPropertyDescriptor : PropertyDescriptor
System.Workflow.ComponentModel (5)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
1484private class ParameterDataPropertyDescriptor : PropertyDescriptor
AuthoringOM\Design\PropertyDescriptors.cs (1)
857internal sealed class ReadonlyPropertyDescriptor : PropertyDescriptor
AuthoringOM\Serializer\ModifyActivitiesPropertyDescriptor.cs (1)
21internal class ModifyActivitiesPropertyDescriptor : PropertyDescriptor
Shared\BasePropertyDescriptor.cs (2)
163internal class DynamicPropertyDescriptor : PropertyDescriptor 301internal class ParameterInfoBasedPropertyDescriptor : PropertyDescriptor
System.Workflow.Runtime (1)
System\Activities\Statements\Interop.cs (1)
1521abstract class InteropProperty : PropertyDescriptor
System.Xml.Linq (1)
System\Xml\Linq\XComponentModel.cs (1)
54abstract class XPropertyDescriptor<T, TProperty> : PropertyDescriptor where T : XObject
WindowsBase (2)
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (1)
22internal sealed class DependencyObjectPropertyDescriptor : PropertyDescriptor {
Base\System\ComponentModel\DependencyPropertyDescriptor.cs (1)
22public sealed class DependencyPropertyDescriptor : PropertyDescriptor {
1147 references to PropertyDescriptor
PresentationBuildTasks (1)
Framework\System\Windows\Markup\TypeContext.cs (1)
131public PropertyDescriptor PropertyDescriptor
PresentationFramework (100)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (2)
808PropertyDescriptor pd; 814if ((pd = info as PropertyDescriptor) != null)
src\Framework\MS\Internal\Data\DataBindEngine.cs (3)
425internal object GetValue(object item, PropertyDescriptor pd, bool indexerIsNext) 433PropertyDescriptor pd = descriptor as PropertyDescriptor;
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (1)
801public PropertyDescriptor PropertyDescriptor { get { return null;} }
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (14)
126PropertyDescriptor pd; 237PropertyDescriptor pd; 341PropertyDescriptor pd; 700PropertyDescriptor oldPD; 870PropertyDescriptor newPD; 1017PropertyDescriptor pd; 1018if (level < 0 || (pd = _arySVS[level].info as PropertyDescriptor) == null) 1041!(_arySVS[k].info is PropertyDescriptor)) 1137PropertyDescriptor pd; 1313if (cacheAccessor && info != null && !(info is PropertyDescriptor)) 1592void SetPropertyInfo(object info, out PropertyInfo pi, out PropertyDescriptor pd, out DependencyProperty dp, out DynamicPropertyAccessor dpa) 1604pd = info as PropertyDescriptor; 1615PropertyDescriptor pd; 1758PropertyDescriptor pd;
src\Framework\MS\Internal\Data\ValueChangedEventManager.cs (21)
69public static void AddListener(object source, IWeakEventListener listener, PropertyDescriptor pd) 82public static void RemoveListener(object source, IWeakEventListener listener, PropertyDescriptor pd) 95public static void AddHandler(object source, EventHandler<ValueChangedEventArgs> handler, PropertyDescriptor pd) 108public static void RemoveHandler(object source, EventHandler<ValueChangedEventArgs> handler, PropertyDescriptor pd) 165PropertyDescriptor[] keys = new PropertyDescriptor[ic.Count]; 227_toRemove.Add((PropertyDescriptor)ide.Key); 235foreach (PropertyDescriptor key in _toRemove) 307private void PrivateAddListener(object source, IWeakEventListener listener, PropertyDescriptor pd) 315private void PrivateRemoveListener(object source, IWeakEventListener listener, PropertyDescriptor pd) 323private void PrivateAddHandler(object source, EventHandler<ValueChangedEventArgs> handler, PropertyDescriptor pd) 329private void PrivateRemoveHandler(object source, EventHandler<ValueChangedEventArgs> handler, PropertyDescriptor pd) 334private void AddListener(object source, PropertyDescriptor pd, IWeakEventListener listener, EventHandler<ValueChangedEventArgs> handler) 366private void RemoveListener(object source, PropertyDescriptor pd, IWeakEventListener listener, EventHandler<ValueChangedEventArgs> handler) 398List<PropertyDescriptor> _toRemove = new List<PropertyDescriptor>(); 404public ValueChangedRecord(ValueChangedEventManager manager, object source, PropertyDescriptor pd) 546PropertyDescriptor _pd; 560internal ValueChangedEventArgs(PropertyDescriptor pd) 565internal PropertyDescriptor PropertyDescriptor 570private PropertyDescriptor _pd;
src\Framework\MS\Internal\Data\ValueTable.cs (13)
39internal static bool ShouldCache(object item, PropertyDescriptor pd) 57internal object GetValue(object item, PropertyDescriptor pd, bool indexerIsNext) 158internal void RegisterForChanges(object item, PropertyDescriptor pd, DataBindEngine engine) 213foreach (PropertyDescriptor pd1 in GetPropertiesForItem(item)) 222PropertyDescriptor pd; 237void InvalidateCache(object item, PropertyDescriptor pd) 248IEnumerable<PropertyDescriptor> GetPropertiesForItem(object item) 250List<PropertyDescriptor> result = new List<PropertyDescriptor>(); 308public ValueTableKey(object item, PropertyDescriptor pd) 324public PropertyDescriptor PropertyDescriptor 326get { return (PropertyDescriptor)_descriptor.Target; } 343PropertyDescriptor descriptor = this.PropertyDescriptor;
src\Framework\MS\Internal\Data\XDeferredAxisSource.cs (2)
49internal XDeferredAxisSource(object component, PropertyDescriptor pd) 113PropertyDescriptor _propertyDescriptor; // the PD to obtain its elements or descendants
src\Framework\MS\Internal\SystemDataHelper.cs (2)
50internal static bool IsDataSetCollectionProperty(PropertyDescriptor pd) 57internal static object GetValue(object item, PropertyDescriptor pd, bool useFollowParent)
src\Framework\MS\Internal\SystemXmlLinqHelper.cs (2)
35internal static bool IsXLinqCollectionProperty(PropertyDescriptor pd) 43internal static bool IsXLinqNonIdempotentProperty(PropertyDescriptor pd)
src\Framework\MS\Internal\TraceData.cs (2)
297PropertyDescriptor pd = accessor as PropertyDescriptor;;
src\Framework\System\Windows\Controls\ContentPresenter.cs (1)
1147PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor { get { return null; } }
src\Framework\System\Windows\Controls\DataGridAutoGeneratingColumnEventArgs.cs (1)
112typeof(PropertyDescriptor).IsAssignableFrom(value.GetType()) ||
src\Framework\System\Windows\Controls\DataGridColumn.cs (2)
1217PropertyDescriptor pd = itemProperty.Descriptor as PropertyDescriptor;
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
2229PropertyDescriptor dd = pdc.Find(sorts[i].PropertyName, true);
src\Framework\System\Windows\Data\CollectionView.cs (2)
1507PropertyDescriptor pd; 1510if ((pd = property as PropertyDescriptor) != null)
src\Framework\System\Windows\Documents\DPTypeDescriptorContext.cs (1)
177System.ComponentModel.PropertyDescriptor System.ComponentModel.ITypeDescriptorContext.PropertyDescriptor
src\Framework\System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
94PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor
src\Framework\System\Windows\Markup\Baml2006\TypeConverterMarkupExtension.cs (1)
57PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (10)
112foreach (PropertyDescriptor descriptor in TypeDescriptor.GetProperties(_instance)) 218private static bool ShouldSerialize(PropertyDescriptor pd, object instance, XamlDesignerSerializationManager manager) 593private bool PropertyIsAttached(PropertyDescriptor descriptor) 683PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor 694PropertyDescriptor descriptor = this.PropertyDescriptor; 765internal ElementProperty(ElementMarkupObject obj, PropertyDescriptor descriptor) : base(obj) 781public override PropertyDescriptor PropertyDescriptor 980private PropertyDescriptor _descriptor; 1215public ValueSerializer GetValueSerializerFor(PropertyDescriptor descriptor) 1267public PropertyDescriptor PropertyDescriptor
src\Framework\System\Windows\Markup\Primitives\ExtensionSimplifierMarkupObject.cs (1)
150public override PropertyDescriptor PropertyDescriptor
src\Framework\System\Windows\Markup\Primitives\FrameworkElementFactoryMarkupObject.cs (3)
139public override PropertyDescriptor PropertyDescriptor 175PropertyDescriptor descriptor = DependencyPropertyDescriptor.FromProperty(_propertyValue.Property, _item.ObjectType); 227private PropertyDescriptor _descriptor;
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (3)
888PropertyDescriptor descriptor = property.PropertyDescriptor; 1477public ValueSerializer GetValueSerializerFor(PropertyDescriptor descriptor) 1513public PropertyDescriptor PropertyDescriptor
src\Framework\System\Windows\Markup\typecontext.cs (1)
131public PropertyDescriptor PropertyDescriptor
src\Framework\System\Windows\Media\Animation\Storyboard.cs (2)
779else if( propertyAccessor is PropertyDescriptor ) 781return ((PropertyDescriptor)propertyAccessor).Name;
src\Framework\System\Windows\PropertyPath.cs (6)
176PropertyDescriptor pd; 197out DependencyProperty dp, out PropertyInfo pi, out PropertyDescriptor pd, out DynamicObjectAccessor doa) 210else if ((pd = accessor as PropertyDescriptor) != null) 940accessor is PropertyDescriptor || 949PropertyDescriptor pd; 956else if ((pd = accessor as PropertyDescriptor) != null)
src\Framework\System\Windows\PropertyPathConverter.cs (1)
220PropertyDescriptor pd;
src\Framework\System\Windows\TemplateContent.cs (1)
1577PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor
System (150)
compmod\system\componentmodel\ArrayConverter.cs (2)
51PropertyDescriptor[] props = null; 56props = new PropertyDescriptor[length];
compmod\system\componentmodel\BindingList.cs (9)
479PropertyDescriptor IBindingList.SortProperty { 485protected virtual PropertyDescriptor SortPropertyCore { 503void IBindingList.ApplySort(PropertyDescriptor prop, ListSortDirection direction) { 507protected virtual void ApplySortCore(PropertyDescriptor prop, ListSortDirection direction) { 519int IBindingList.Find(PropertyDescriptor prop, object key) { 523protected virtual int FindCore(PropertyDescriptor prop, object key) { 527void IBindingList.AddIndex(PropertyDescriptor prop) { 531void IBindingList.RemoveIndex(PropertyDescriptor prop) { 603PropertyDescriptor pd = itemTypeProperties.Find(e.PropertyName, true);
compmod\system\componentmodel\ComponentResourceManager.cs (1)
152PropertyDescriptor prop = TypeDescriptor.GetProperties(value).Find(propName, IgnoreCase);
compmod\system\componentmodel\CustomTypeDescriptor.cs (2)
124public virtual PropertyDescriptor GetDefaultProperty() 223public virtual object GetPropertyOwner(PropertyDescriptor pd)
compmod\system\componentmodel\design\DesignerOptionService.cs (10)
68private PropertyDescriptor GetOptionProperty(string pageName, string valueName) { 110PropertyDescriptor optionProp = GetOptionProperty(pageName, valueName); 122PropertyDescriptor optionProp = GetOptionProperty(pageName, valueName); 209foreach(PropertyDescriptor prop in props) { 222PropertyDescriptor[] propArray = (PropertyDescriptor[])propList.ToArray(typeof(PropertyDescriptor)); 447private PropertyDescriptor property; 449internal WrappedPropertyDescriptor(PropertyDescriptor property, object target) : base(property.Name, null) { 520foreach(PropertyDescriptor p in options.Properties) {
compmod\system\componentmodel\design\IEventPropertyService.cs (2)
36EventDescriptor GetEvent(PropertyDescriptor property); 48PropertyDescriptor GetEventProperty(EventDescriptor e);
compmod\system\componentmodel\ExtendedPropertyDescriptor.cs (1)
55public ExtendedPropertyDescriptor(PropertyDescriptor extender, Attribute[] attributes) : base(extender, attributes) {
compmod\system\componentmodel\ExtenderProvidedPropertyAttribute.cs (3)
25private PropertyDescriptor extenderProperty; 32internal static ExtenderProvidedPropertyAttribute Create(PropertyDescriptor extenderProperty, Type receiverType, IExtenderProvider provider) { 49public PropertyDescriptor ExtenderProperty {
compmod\system\componentmodel\IBindingList.cs (5)
55PropertyDescriptor SortProperty { get; } 69void AddIndex(PropertyDescriptor property); 73void ApplySort(PropertyDescriptor property, ListSortDirection direction); 77int Find(PropertyDescriptor property, object key); 81void RemoveIndex(PropertyDescriptor property);
compmod\system\componentmodel\IComNativeDescriptorHandler.cs (1)
41PropertyDescriptor GetDefaultProperty(object component);
compmod\system\componentmodel\ICustomTypeDescriptor.cs (2)
56PropertyDescriptor GetDefaultProperty(); 87object GetPropertyOwner(PropertyDescriptor pd);
compmod\system\componentmodel\ITypeDescriptorContext.cs (1)
37PropertyDescriptor PropertyDescriptor { get; }
compmod\system\componentmodel\ITypedList.cs (2)
19string GetListName(PropertyDescriptor[] listAccessors); 23PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors);
compmod\system\componentmodel\ListChangedEventArgs.cs (4)
27private PropertyDescriptor propDesc; 38public ListChangedEventArgs(ListChangedType listChangedType, int newIndex, PropertyDescriptor propDesc) : this(listChangedType, newIndex) { 46public ListChangedEventArgs(ListChangedType listChangedType, PropertyDescriptor propDesc) { 98public PropertyDescriptor PropertyDescriptor {
compmod\system\componentmodel\ListSortDescription.cs (3)
14PropertyDescriptor property; 19public ListSortDescription(PropertyDescriptor property, ListSortDirection direction) { 27public PropertyDescriptor PropertyDescriptor {
compmod\system\componentmodel\PropertyDescriptor.cs (6)
40/// Initializes a new instance of the <see cref='System.ComponentModel.PropertyDescriptor'/> class with the specified name and 50/// Initializes a new instance of the <see cref='System.ComponentModel.PropertyDescriptor'/> class with 60/// Initializes a new instance of the <see cref='System.ComponentModel.PropertyDescriptor'/> class with 177/// Compares this to another <see cref='System.ComponentModel.PropertyDescriptor'/> 195PropertyDescriptor pd = obj as PropertyDescriptor;
compmod\system\componentmodel\PropertyDescriptorCollection.cs (41)
80private PropertyDescriptor[] properties; 94public PropertyDescriptorCollection(PropertyDescriptor[] properties) { 97this.properties = new PropertyDescriptor[0]; 110public PropertyDescriptorCollection(PropertyDescriptor[] properties, bool readOnly) : this(properties) { 114private PropertyDescriptorCollection(PropertyDescriptor[] properties, int propCount, string[] namedSort, IComparer comparer) { 142public virtual PropertyDescriptor this[int index] { 155public virtual PropertyDescriptor this[string name] { 164public int Add(PropertyDescriptor value) { 189public bool Contains(PropertyDescriptor value) { 205PropertyDescriptor[] newProps = new PropertyDescriptor[Count]; 225properties = new PropertyDescriptor[sizeNeeded]; 232PropertyDescriptor[] newProps = new PropertyDescriptor[newSize]; 241public virtual PropertyDescriptor Find(string name, bool ignoreCase) { 243PropertyDescriptor p = null; 255return (PropertyDescriptor) cached; 286public int IndexOf(PropertyDescriptor value) { 293public void Insert(int index, PropertyDescriptor value) { 309public void Remove(PropertyDescriptor value) { 398PropertyDescriptor currentProp = (PropertyDescriptor)propArrayList[j]; 418properties[foundCount++] = (PropertyDescriptor)propArrayList[i]; 449PropertyDescriptor[] enumProps = new PropertyDescriptor[propCount]; 479PropertyDescriptor newProp = value as PropertyDescriptor; 533if (value != null && !(value is PropertyDescriptor)) { 559Add((PropertyDescriptor)value); 563properties[index] = (PropertyDescriptor)value; 588PropertyDescriptor[] newProps = new PropertyDescriptor[propCount]; 601PropertyDescriptor pd = this[(string)key]; 615return Add((PropertyDescriptor)value); 625return Contains((PropertyDescriptor)value); 630return IndexOf((PropertyDescriptor)value); 635Insert(index, (PropertyDescriptor)value); 654Remove((PropertyDescriptor)value); 677if (value != null && !(value is PropertyDescriptor)) { 682properties[index] = (PropertyDescriptor)value; 702PropertyDescriptor curProp = owner[index];
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (3)
150public ReflectPropertyDescriptor(Type componentClass, PropertyDescriptor oldReflectPropertyDescriptor, Attribute[] attributes) 613internal void ExtenderResetValue(IExtenderProvider provider, object component, PropertyDescriptor notifyDesc) { 662internal void ExtenderSetValue(IExtenderProvider provider, object component, object value, PropertyDescriptor notifyDesc) {
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (25)
319internal PropertyDescriptor GetDefaultProperty(Type type, object instance) 446internal PropertyDescriptor GetExtendedDefaultProperty(object instance) 515PropertyDescriptor[] propertyArray = ReflectGetExtendedProperties(extenders[idx]); 524PropertyDescriptor prop = propertyArray[propIdx]; 549PropertyDescriptor[] fullArray = new PropertyDescriptor[propertyList.Count]; 737internal object GetExtendedPropertyOwner(object instance, PropertyDescriptor pd) 805internal object GetPropertyOwner(Type type, object instance, PropertyDescriptor pd) 1095private static PropertyDescriptor[] ReflectGetExtendedProperties(IExtenderProvider provider) 1098PropertyDescriptor[] properties; 1102properties = cache[_extenderProviderPropertiesKey] as PropertyDescriptor[]; 1177properties = new PropertyDescriptor[extendedProperties.Length]; 1204private static PropertyDescriptor[] ReflectGetProperties(Type type) 1217PropertyDescriptor[] properties = (PropertyDescriptor[])_propertyCache[type]; 1225properties = (PropertyDescriptor[])_propertyCache[type]; 1240properties = new PropertyDescriptor[propertyInfos.Length]; 1278PropertyDescriptor[] newProperties = new PropertyDescriptor[propertyCount]; 1722internal PropertyDescriptor GetDefaultProperty(object instance) 1925PropertyDescriptor[] propertyArray; 1926Dictionary<string, PropertyDescriptor> propertyList = new Dictionary<string, PropertyDescriptor>(10); 1932foreach(PropertyDescriptor p in propertyArray) { 1941propertyArray = new PropertyDescriptor[propertyList.Count];
compmod\system\componentmodel\TypeDescriptor.cs (27)
693public static PropertyDescriptor CreateProperty(Type componentType, string name, Type type, params Attribute[] attributes) 703public static PropertyDescriptor CreateProperty(Type componentType, PropertyDescriptor oldPropertyDescriptor, params Attribute[] attributes) 1596public static PropertyDescriptor GetDefaultProperty(Type componentType) 1610public static PropertyDescriptor GetDefaultProperty(object component) 1619public static PropertyDescriptor GetDefaultProperty(object component, bool noCustomTypeDesc) 1974properties = new PropertyDescriptorCollection((PropertyDescriptor[])filteredProperties.ToArray(typeof(PropertyDescriptor)), true); 2099PropertyDescriptor[] propArray = new PropertyDescriptor[results.Count]; 2459PropertyDescriptor[] propArray = new PropertyDescriptor[list.Count]; 2650PropertyDescriptor[] propArray = new PropertyDescriptor[list.Count]; 2657throw new ArgumentException(SR.GetString(SR.TypeDescriptorExpectedElementType, typeof(PropertyDescriptor).FullName)); 2810PropertyDescriptor[] propArray = new PropertyDescriptor[list.Count]; 3554PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 3602object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) 3783PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 3785PropertyDescriptor prop = _primary.GetDefaultProperty(); 3876object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) 4180PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 4329object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) 4500PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 4508PropertyDescriptor defaultProperty; 4659object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
System.Activities (20)
System\Activities\Activity.cs (3)
1461foreach (PropertyDescriptor propertyDescriptor in TypeDescriptor.GetProperties(activity)) 1669bool GetIsArgumentRequired(PropertyDescriptor propertyDescriptor) 1674List<string> GetOverloadGroupNames(PropertyDescriptor propertyDescriptor)
System\Activities\ActivityDelegate.cs (1)
117foreach (PropertyDescriptor propertyDescriptor in TypeDescriptor.GetProperties(this))
System\Activities\Debugger\DebugInfo.cs (1)
595public PropertyDescriptor PropertyDescriptor
System\Activities\DynamicActivity.cs (4)
171PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 201object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) 359PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 389object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
System\Activities\DynamicActivityTypeDescriptor.cs (5)
67public PropertyDescriptor GetDefaultProperty() 111List<PropertyDescriptor> propertyDescriptors = new List<PropertyDescriptor>(this.Properties.Count + 2); 114PropertyDescriptor dynamicProperty = dynamicProperties[i]; 139public object GetPropertyOwner(PropertyDescriptor pd)
System\Activities\ExpressionUtilities.cs (1)
55propertyDescriptorGetValue = typeof(PropertyDescriptor).GetMethod("GetValue");
System\Activities\RuntimeArgument.cs (4)
22PropertyDescriptor bindingProperty; 67internal RuntimeArgument(string name, Type argumentType, ArgumentDirection direction, bool isRequired, List<string> overloadGroups, PropertyDescriptor bindingProperty, object propertyOwner) 215PropertyDescriptor targetProperty = null; 219PropertyDescriptor property = properties[i];
System\Activities\XamlIntegration\PropertyReferenceExtension.cs (1)
36PropertyDescriptor property = TypeDescriptor.GetProperties(targetObject)[PropertyName];
System.Activities.Presentation (59)
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 (1)
543PropertyDescriptor p = DependencyPropertyDescriptor.FromName(kvMember.Key, kv.Key, typeof(DependencyObject));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (2)
153PropertyDescriptor propertyDescriptor = properties.Find(property.Name, false); 761foreach (PropertyDescriptor subPropertyDescriptor in subPropertyDescriptors)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (9)
508PropertyDescriptor[] array = new PropertyDescriptor[incoming.Count]; 511PropertyDescriptor theirs = incoming[idx]; 512PropertyDescriptor ours = (PropertyDescriptor)GetCachedDescriptor(objectType, theirs); 725PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { return _parent.GetDefaultProperty(); } 727object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) { return _parent.GetPropertyOwner(pd); } 782private PropertyDescriptor _parent; 791internal MetadataStorePropertyDescriptor(Type objectType, PropertyDescriptor parent)
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
211public PropertyDescriptor GetDefaultProperty() 339public object GetPropertyOwner(PropertyDescriptor pd)
System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
23public FakeModelPropertyImpl(FakeModelItemImpl parent, PropertyDescriptor propertyDescriptor)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (5)
1232PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 1263List<PropertyDescriptor> properties = new List<PropertyDescriptor>(); 1266foreach (PropertyDescriptor modelPropertyDescriptor in ModelUtilities.WrapProperties(this)) 1283object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (7)
355PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 386List<PropertyDescriptor> properties = new List<PropertyDescriptor>(); 389foreach (PropertyDescriptor modelPropertyDescriptor in ModelUtilities.WrapProperties(this)) 410object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) 479PropertyDescriptor descriptor = TypeDescriptor.GetProperties(this)[propertyName]; 515PropertyDescriptor descriptor = TypeDescriptor.GetProperties(this)[propertyName];
System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyCollectionImpl.cs (6)
32foreach (PropertyDescriptor propertyDescriptor in GetPropertyDescriptors()) 53PropertyDescriptor propertyDescriptor = GetPropertyDescriptors()[name]; 61ModelProperty CreateProperty(ModelItem parent, PropertyDescriptor propertyDescriptor) 106List<PropertyDescriptor> mergedProperties = new List<PropertyDescriptor>(); 107foreach (PropertyDescriptor propertyDescriptor in propertyDescriptors)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyImpl.cs (3)
19PropertyDescriptor propertyDescriptor; 22public ModelPropertyImpl(ModelItem parent, PropertyDescriptor propertyDescriptor, bool isAttached) 176internal PropertyDescriptor PropertyDescriptor
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (4)
1213return new PropertyDescriptorCollection(base.GetProperties().Cast<PropertyDescriptor>() 1214.Union(new PropertyDescriptor[] { new ItemsCollectionPropertyDescriptor(type) }).ToArray()); 1220return new PropertyDescriptorCollection(base.GetProperties(attributes).Cast<PropertyDescriptor>() 1221.Union(new PropertyDescriptor[] { new ItemsCollectionPropertyDescriptor(type) }).ToArray());
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (3)
142List<PropertyDescriptor> newProps = new List<PropertyDescriptor>(props.Count); 143foreach (PropertyDescriptor p in props)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (4)
58public PropertyDescriptor PropertyDescriptor 62PropertyDescriptor desc = null; 119private PropertyDescriptor _parent; 122internal WrappedPropertyDescriptor(PropertyDescriptor parent, ModelItem item)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (3)
51internal static PropertyDescriptor GetDefaultProperty(ModelItem item) 69List<PropertyDescriptor> descriptors = new List<PropertyDescriptor>();
System.Activities.Presentation\System\Activities\Presentation\NamespaceSettingsHandler.cs (3)
163PropertyDescriptor ImportDescriptor 183return new PropertyDescriptorCollection(base.GetProperties(attributes).Cast<PropertyDescriptor>() 184.Union(new PropertyDescriptor[] { this.ImportDescriptor }).ToArray());
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1094PropertyDescriptor displayNameProperty = TypeDescriptor.GetProperties(rootItem)["DisplayName"];
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (2)
48public PropertyDescriptor PropertyDescriptor 215public ValueSerializer GetValueSerializerFor(PropertyDescriptor descriptor)
System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (2)
338PropertyDescriptor descriptor = TypeDescriptor.GetProperties(item)["IsSelection"]; 348PropertyDescriptor descriptor = TypeDescriptor.GetProperties(item)["IsPrimarySelection"];
System.ComponentModel.DataAnnotations (11)
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (4)
45List<PropertyDescriptor> tempPropertyDescriptors = new List<PropertyDescriptor>(); 46foreach (PropertyDescriptor propDescriptor in originalCollection) { 48PropertyDescriptor descriptor = propDescriptor;
DataAnnotations\CompareAttribute.cs (1)
56PropertyDescriptor property = typeDescriptor.GetProperties().Find(propertyName, true);
DataAnnotations\MetadataPropertyDescriptorWrapper.cs (2)
9private PropertyDescriptor _descriptor; 12public MetadataPropertyDescriptorWrapper(PropertyDescriptor descriptor, Attribute[] newAttributes)
DataAnnotations\ValidationAttributeStore.cs (3)
212foreach (PropertyDescriptor property in properties) { 223/// Method to extract only the explicitly specified attributes from a <see cref="PropertyDescriptor"/> 231public static AttributeCollection GetExplicitAttributes(PropertyDescriptor propertyDescriptor) {
DataAnnotations\Validator.cs (1)
445foreach (PropertyDescriptor property in properties) {
System.Data (109)
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 (1)
543PropertyDescriptor p = DependencyPropertyDescriptor.FromName(kvMember.Key, kv.Key, typeof(DependencyObject));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (2)
153PropertyDescriptor propertyDescriptor = properties.Find(property.Name, false); 761foreach (PropertyDescriptor subPropertyDescriptor in subPropertyDescriptors)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (9)
508PropertyDescriptor[] array = new PropertyDescriptor[incoming.Count]; 511PropertyDescriptor theirs = incoming[idx]; 512PropertyDescriptor ours = (PropertyDescriptor)GetCachedDescriptor(objectType, theirs); 725PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { return _parent.GetDefaultProperty(); } 727object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) { return _parent.GetPropertyOwner(pd); } 782private PropertyDescriptor _parent; 791internal MetadataStorePropertyDescriptor(Type objectType, PropertyDescriptor parent)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
211public PropertyDescriptor GetDefaultProperty() 339public object GetPropertyOwner(PropertyDescriptor pd)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\FakeModelPropertyImpl.cs (1)
23public FakeModelPropertyImpl(FakeModelItemImpl parent, PropertyDescriptor propertyDescriptor)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (5)
1232PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 1263List<PropertyDescriptor> properties = new List<PropertyDescriptor>(); 1266foreach (PropertyDescriptor modelPropertyDescriptor in ModelUtilities.WrapProperties(this)) 1283object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (7)
355PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 386List<PropertyDescriptor> properties = new List<PropertyDescriptor>(); 389foreach (PropertyDescriptor modelPropertyDescriptor in ModelUtilities.WrapProperties(this)) 410object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) 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 (6)
32foreach (PropertyDescriptor propertyDescriptor in GetPropertyDescriptors()) 53PropertyDescriptor propertyDescriptor = GetPropertyDescriptors()[name]; 61ModelProperty CreateProperty(ModelItem parent, PropertyDescriptor propertyDescriptor) 106List<PropertyDescriptor> mergedProperties = new List<PropertyDescriptor>(); 107foreach (PropertyDescriptor propertyDescriptor in propertyDescriptors)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyImpl.cs (3)
19PropertyDescriptor propertyDescriptor; 22public ModelPropertyImpl(ModelItem parent, PropertyDescriptor propertyDescriptor, bool isAttached) 176internal PropertyDescriptor PropertyDescriptor
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (4)
1213return new PropertyDescriptorCollection(base.GetProperties().Cast<PropertyDescriptor>() 1214.Union(new PropertyDescriptor[] { new ItemsCollectionPropertyDescriptor(type) }).ToArray()); 1220return new PropertyDescriptorCollection(base.GetProperties(attributes).Cast<PropertyDescriptor>() 1221.Union(new PropertyDescriptor[] { new ItemsCollectionPropertyDescriptor(type) }).ToArray());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeConverter.cs (3)
142List<PropertyDescriptor> newProps = new List<PropertyDescriptor>(props.Count); 143foreach (PropertyDescriptor p in props)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (4)
58public PropertyDescriptor PropertyDescriptor 62PropertyDescriptor desc = null; 119private PropertyDescriptor _parent; 122internal WrappedPropertyDescriptor(PropertyDescriptor parent, ModelItem item)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (3)
51internal static PropertyDescriptor GetDefaultProperty(ModelItem item) 69List<PropertyDescriptor> descriptors = new List<PropertyDescriptor>();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceSettingsHandler.cs (3)
163PropertyDescriptor ImportDescriptor 183return new PropertyDescriptorCollection(base.GetProperties(attributes).Cast<PropertyDescriptor>() 184.Union(new PropertyDescriptor[] { this.ImportDescriptor }).ToArray());
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\ParserContext.cs (2)
48public PropertyDescriptor PropertyDescriptor 215public ValueSerializer GetValueSerializerFor(PropertyDescriptor descriptor)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\Selection.cs (2)
338PropertyDescriptor descriptor = TypeDescriptor.GetProperties(item)["IsSelection"]; 348PropertyDescriptor descriptor = TypeDescriptor.GetProperties(item)["IsPrimarySelection"];
fx\src\data\System\Data\Common\DataRecordInternal.cs (2)
308PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 335object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (12)
345PropertyDescriptor[] properties = new PropertyDescriptor[descriptors.Count]; 364foreach(PropertyDescriptor reflected in TypeDescriptor.GetProperties(this, true)) { 370PropertyDescriptor descriptor = new DbConnectionStringBuilderDescriptor(reflected.Name, 431PropertyDescriptor descriptor = new DbConnectionStringBuilderDescriptor(keyword, 451PropertyDescriptor[] propertiesArray = new PropertyDescriptor[propertyDescriptors.Count]; 457foreach (PropertyDescriptor property in propertyDescriptors) { 476PropertyDescriptor[] filteredPropertiesArray = new PropertyDescriptor[index]; 497PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 515object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
fx\src\data\System\Data\Common\dbdatarecord.cs (2)
109PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 133object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
fx\src\data\System\Data\Common\dbenumerator.cs (2)
93PropertyDescriptor[] props = new PropertyDescriptor[_reader.FieldCount];
fx\src\data\System\Data\DataRowView.cs (2)
279PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 303object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
fx\src\data\System\Data\DataSet.cs (2)
3090internal DataTable FindTable(DataTable baseTable, PropertyDescriptor[] props, int propStart) { 3094PropertyDescriptor currentProp = props[propStart];
fx\src\data\System\Data\DataTable.cs (2)
4398PropertyDescriptor[] props = new PropertyDescriptor[columnsCount + relationsCount]; {
fx\src\data\System\Data\DataView.cs (10)
1017PropertyDescriptor IBindingList.SortProperty { 1023internal PropertyDescriptor GetSortProperty() { 1077void IBindingList.AddIndex(PropertyDescriptor property) { 1081void IBindingList.ApplySort(PropertyDescriptor property, ListSortDirection direction) { 1085int IBindingList.Find(PropertyDescriptor property, object key) { // NOTE: this function had keepIndex previosely 1114void IBindingList.RemoveIndex(PropertyDescriptor property) { 1137PropertyDescriptor property = sort.PropertyDescriptor; 1157private string CreateSortString(PropertyDescriptor property, ListSortDirection direction) { 1216string System.ComponentModel.ITypedList.GetListName(PropertyDescriptor[] listAccessors) { 1234PropertyDescriptorCollection System.ComponentModel.ITypedList.GetItemProperties(PropertyDescriptor[] listAccessors) {
fx\src\data\System\Data\DataViewManager.cs (8)
253PropertyDescriptor IBindingList.SortProperty { 274void IBindingList.AddIndex(PropertyDescriptor property) { 278void IBindingList.ApplySort(PropertyDescriptor property, ListSortDirection direction) { 282int IBindingList.Find(PropertyDescriptor property, object key) { 286void IBindingList.RemoveIndex(PropertyDescriptor property) { 304string System.ComponentModel.ITypedList.GetListName(PropertyDescriptor[] listAccessors) { 321PropertyDescriptorCollection System.ComponentModel.ITypedList.GetItemProperties(PropertyDescriptor[] listAccessors) { 364PropertyDescriptor NullProp = null;
fx\src\data\System\Data\DataViewManagerListItemTypeDescriptor.cs (4)
77PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 128PropertyDescriptor[] props = null; 132props = new PropertyDescriptor[tableCount]; 149object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
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)
119internal void AddXdoProperty(PropertyDescriptor pd, Object instance, XmlElement root, XmlDocument xd) {
fx\src\data\System\Data\XMLSchema.cs (2)
52PropertyDescriptor pd = TypeDescriptor.GetProperties(instance)[name]; 260PropertyDescriptor pd = TypeDescriptor.GetProperties(instance)[name];
System.Data.DataSetExtensions (1)
System\Data\LinqDataView.cs (1)
264PropertyDescriptor IBindingList.SortProperty
System.Data.Entity (12)
System\Data\Common\DataRecord.cs (4)
492List<PropertyDescriptor> pdList = new List<PropertyDescriptor>(); 541foreach (PropertyDescriptor pd in _propertyDescriptors) 561object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) { return this; }
System\Data\Objects\DataRecordObjectView.cs (3)
140PropertyDescriptorCollection System.ComponentModel.ITypedList.GetItemProperties(PropertyDescriptor[] listAccessors) 152PropertyDescriptor propertyDescriptor = listAccessors[listAccessors.Length - 1]; 173string System.ComponentModel.ITypedList.GetListName(PropertyDescriptor[] listAccessors)
System\Data\Objects\ObjectView.cs (5)
214PropertyDescriptor IBindingList.SortProperty 236void IBindingList.AddIndex(PropertyDescriptor property) 241void IBindingList.ApplySort(PropertyDescriptor property, ListSortDirection direction) 246int IBindingList.Find(PropertyDescriptor property, object key) 251void IBindingList.RemoveIndex(PropertyDescriptor property)
System.Data.Linq (5)
SortableBindingList.cs (5)
21private PropertyDescriptor sortProperty = null; 32protected override PropertyDescriptor SortPropertyCore { 42protected override void ApplySortCore(PropertyDescriptor prop, ListSortDirection direction) { 58private PropertyDescriptor prop; 63internal PropertyComparer(PropertyDescriptor prop, ListSortDirection direction) {
System.Drawing (3)
commonui\System\Drawing\Design\IPropertyValueUIService.cs (1)
51PropertyValueUIItem[] GetPropertyUIValueItems(ITypeDescriptorContext context, PropertyDescriptor propDesc);
commonui\System\Drawing\Design\PropertyValueUIHandler.cs (1)
22public delegate void PropertyValueUIHandler(ITypeDescriptorContext context, PropertyDescriptor propDesc, ArrayList valueUIItemList);
commonui\System\Drawing\Design\PropertyValueUIItemInvokeHandler.cs (1)
25public delegate void PropertyValueUIItemInvokeHandler(ITypeDescriptorContext context, PropertyDescriptor descriptor, PropertyValueUIItem invokedItem);
System.ServiceModel.Internals (1)
System\Runtime\TypeHelper.cs (1)
597public static bool ShouldFilterProperty(PropertyDescriptor property, Attribute[] attributes)
System.Web (130)
Compilation\AppSettingsExpressionBuilder.cs (1)
65PropertyDescriptor propDesc = TypeDescriptor.GetProperties(targetType)[propertyName];
Compilation\CodeDOMUtility.cs (1)
44PropertyDescriptor pd = null;
Compilation\ResourceExpressionBuilder.cs (1)
197PropertyDescriptor pd = TypeDescriptor.GetProperties(objType)[propName];
Compilation\RouteValueExpressionBuilder.cs (1)
54PropertyDescriptor propDesc = TypeDescriptor.GetProperties(controlType)[propertyName];
ModelBinding\AssociatedMetadataProvider.cs (5)
21protected virtual IEnumerable<Attribute> FilterAttributes(Type containerType, PropertyDescriptor propertyDescriptor, IEnumerable<Attribute> attributes) { 34foreach (PropertyDescriptor property in GetTypeDescriptor(containerType).GetProperties()) { 49PropertyDescriptor property = typeDescriptor.GetProperties().Find(propertyName, true); 61protected virtual ModelMetadata GetMetadataForProperty(Func<object> modelAccessor, Type containerType, PropertyDescriptor propertyDescriptor) { 79private static Func<object> GetPropertyValueAccessor(object container, PropertyDescriptor property) {
ModelBinding\AssociatedValidatorProvider.cs (1)
32PropertyDescriptor property = typeDescriptor.GetProperties().Find(metadata.PropertyName, true);
ModelBinding\MutableObjectModelBinder.cs (3)
125private static object GetPropertyDefaultValue(PropertyDescriptor propertyDescriptor) { 139foreach (PropertyDescriptor propertyDescriptor in propertyDescriptors) { 184PropertyDescriptor propertyDescriptor = TypeDescriptorHelper.Get(bindingContext.ModelType).GetProperties().Find(propertyMetadata.PropertyName, true /* ignoreCase */);
Routing\RouteValueDictionary.cs (1)
64foreach (PropertyDescriptor prop in props) {
UI\ControlBuilder.cs (3)
65private PropertyDescriptor _bindingContainerDescriptor; 3096PropertyDescriptor propDesc = propertyDescriptors[propInfo.Name]; 3255internal PropertyDescriptor FirstNonThemableProperty;
UI\ControlPropertyNameConverter.cs (1)
32foreach (PropertyDescriptor desc in pdc) {
UI\DataBinder.cs (1)
172PropertyDescriptor pd = GetPropertiesFromCache(container).Find(propName, true);
UI\DataSourceHelper.cs (2)
40PropertyDescriptorCollection propDescs = typedMemberList.GetItemProperties(new PropertyDescriptor[0]); 42PropertyDescriptor listProperty = null;
UI\FilterableAttribute.cs (1)
90public static bool IsPropertyFilterable(PropertyDescriptor propertyDescriptor) {
UI\ListSourceHelper.cs (4)
41string ITypedList.GetListName(PropertyDescriptor[] listAccessors) { 45PropertyDescriptorCollection ITypedList.GetItemProperties(PropertyDescriptor[] listAccessors) { 51PropertyDescriptor[] props = new PropertyDescriptor[viewNames.Count];
UI\PropertyConverter.cs (1)
87PropertyDescriptor pd = null;
UI\PropertyMapper.cs (1)
177internal static PropertyDescriptor GetMappedPropertyDescriptor(object obj, string mappedName, out object childObject, out string propertyName, bool inDesigner)
UI\SkinBuilder.cs (2)
103PropertyDescriptor desc = PropertyMapper.GetMappedPropertyDescriptor(control, PropertyMapper.MapNameToPropertyName(propertyName), out childObj, out actualPropName, InDesigner); 130PropertyDescriptor desc = PropertyMapper.GetMappedPropertyDescriptor(control, propertyName, out childObj, out actualPropName, InDesigner);
UI\WebControls\AdRotator.cs (2)
347((ITypedList)dataSource).GetItemProperties(new PropertyDescriptor[0]); 369foreach (PropertyDescriptor pd in propertyDescriptors) {
UI\WebControls\BaseValidator.cs (3)
435PropertyDescriptor prop = GetValidationProperty(c); 518PropertyDescriptor prop = GetValidationProperty(c); 541public static PropertyDescriptor GetValidationProperty(object component) {
UI\WebControls\BoundColumn.cs (1)
28private PropertyDescriptor boundFieldDesc;
UI\WebControls\BoundField.cs (1)
29private PropertyDescriptor _boundFieldDesc;
UI\WebControls\ButtonColumn.cs (1)
24private PropertyDescriptor textFieldDesc;
UI\WebControls\ButtonField.cs (1)
23private PropertyDescriptor textFieldDesc;
UI\WebControls\DataGrid.cs (2)
876propDescs = ((ITypedList)dataSource).GetItemProperties(new PropertyDescriptor[0]); 944foreach (PropertyDescriptor pd in propDescs) {
UI\WebControls\DetailsViewRowsGenerator.cs (1)
72foreach (PropertyDescriptor pd in propDescs) {
UI\WebControls\ErrorStyle.cs (6)
43PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 65PropertyDescriptor[] newProperties = new PropertyDescriptor[oldProperties.Count]; 66PropertyDescriptor foreColor = oldProperties["ForeColor"]; 69PropertyDescriptor property = oldProperties[i]; 82object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
UI\WebControls\ErrorTableItemStyle.cs (6)
41PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 63PropertyDescriptor[] newProperties = new PropertyDescriptor[oldProperties.Count]; 64PropertyDescriptor foreColor = oldProperties["ForeColor"]; 67PropertyDescriptor property = oldProperties[i]; 80object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
UI\WebControls\GridViewColumnsGenerator.cs (2)
33propDescs = ((ITypedList)dataSource).GetItemProperties(new PropertyDescriptor[0]); 118foreach (PropertyDescriptor pd in propDescs) {
UI\WebControls\HyperLinkColumn.cs (2)
24private PropertyDescriptor textFieldDesc; 25private PropertyDescriptor urlFieldDesc;
UI\WebControls\HyperLinkField.cs (3)
23private PropertyDescriptor textFieldDesc; 24private PropertyDescriptor[] urlFieldDescs; 349urlFieldDescs = new PropertyDescriptor[dataNavigateUrlFieldsLength];
UI\WebControls\ImageField.cs (3)
28private PropertyDescriptor _imageFieldDesc; 29private PropertyDescriptor _altTextFieldDesc; 385protected virtual object GetValue(Control controlContainer, string fieldName, ref PropertyDescriptor cachedDescriptor) {
UI\WebControls\Menu.cs (10)
1463PropertyDescriptor desc = props.Find(textField, true); 1487PropertyDescriptor desc = props.Find(valueField, true); 1506PropertyDescriptor desc = props.Find(targetField, true); 1525PropertyDescriptor desc = props.Find(imageUrlField, true); 1544PropertyDescriptor desc = props.Find(navigateUrlField, true); 1563PropertyDescriptor desc = props.Find(popOutImageUrlField, true); 1582PropertyDescriptor desc = props.Find(separatorImageUrlField, true); 1601PropertyDescriptor desc = props.Find(toolTipField, true); 1620PropertyDescriptor desc = props.Find(enabledField, true); 1645PropertyDescriptor desc = props.Find(selectableField, true);
UI\WebControls\ObjectDataSourceView.cs (1)
693PropertyDescriptor pd = props.Find(propName, true);
UI\WebControls\PagedDataSource.cs (2)
353public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) { 366public string GetListName(PropertyDescriptor[] listAccessors) {
UI\WebControls\SubMenuStyle.cs (7)
250 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 272 PropertyDescriptor[] newProperties = new PropertyDescriptor[oldProperties.Count]; 274 PropertyDescriptor fontProperty = oldProperties["Font"]; 275 PropertyDescriptor forecolorProperty = oldProperties["ForeColor"]; 284 PropertyDescriptor property = oldProperties[i]; 296 object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
UI\WebControls\TreeView.cs (7)
1489PropertyDescriptor desc = props.Find(textField, true); 1513PropertyDescriptor desc = props.Find(valueField, true); 1532PropertyDescriptor desc = props.Find(imageUrlField, true); 1551PropertyDescriptor desc = props.Find(navigateUrlField, true); 1570PropertyDescriptor desc = props.Find(targetField, true); 1589PropertyDescriptor desc = props.Find(toolTipField, true); 1609PropertyDescriptor desc = props.Find(imageToolTipField, true);
UI\WebControls\XmlDataSourceNodeDescriptor.cs (4)
60PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 81System.Collections.Generic.List<PropertyDescriptor> list = new System.Collections.Generic.List<PropertyDescriptor>(); 92object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
UI\WebControls\XmlHierarchyData.cs (4)
149PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 170System.Collections.Generic.List<PropertyDescriptor> list = new System.Collections.Generic.List<PropertyDescriptor>(); 185object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
UI\WebParts\IWebPartField.cs (1)
13PropertyDescriptor Schema { get; }
UI\WebParts\PropertyGridEditorPart.cs (10)
115PropertyDescriptor pd = properties[i]; 150private bool CanEditProperty(PropertyDescriptor property) { 178foreach (PropertyDescriptor pd in GetEditableProperties(editableObject, true)) { 192private Control CreateEditorControl(PropertyDescriptor pd) { 213private string GetDescription(PropertyDescriptor pd) { 223private string GetDisplayName(PropertyDescriptor pd) { 256foreach (PropertyDescriptor pd in propDescs) { 265private object GetEditorControlValue(Control editorControl, PropertyDescriptor pd) { 326foreach (PropertyDescriptor pd in GetEditableProperties(editableObject, true)) { 336private void SyncChanges(Control control, PropertyDescriptor pd, object instance) {
UI\WebParts\RowToFieldTransformer.cs (2)
48PropertyDescriptor prop = ((IWebPartField)this).Schema; 85PropertyDescriptor IWebPartField.Schema {
UI\WebParts\RowToParametersTransformer.cs (4)
73PropertyDescriptor prop = providerSchema.Find(fieldName, /* ignoreCase */ true); 113PropertyDescriptor providerProp = providerSchema[i]; 114PropertyDescriptor consumerProp = consumerSchema[i]; 190PropertyDescriptor prop = _consumerSchema.Find(fieldName, true);
UI\WebParts\TransformerConfigurationWizardBase.cs (1)
150PropertyDescriptor descriptor = schema[i];
UI\WebParts\WebPartMenuStyle.cs (13)
160PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 182PropertyDescriptor[] newProperties = new PropertyDescriptor[oldProperties.Count]; 184PropertyDescriptor oldPaddingProperty = oldProperties["CellPadding"]; 185PropertyDescriptor newPaddingProperty = 188PropertyDescriptor oldSpacingProperty = oldProperties["CellSpacing"]; 189PropertyDescriptor newSpacingProperty = 192PropertyDescriptor oldFontProperty = oldProperties["Font"]; 193PropertyDescriptor newFontProperty = 199PropertyDescriptor oldForeColorProperty = oldProperties["ForeColor"]; 200PropertyDescriptor newForeColorProperty = 207PropertyDescriptor property = oldProperties[i]; 228object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
System.Web.DataVisualization (20)
Common\Converters\CustomAttributesConverters.cs (2)
839 private PropertyDescriptor _basePropertyDescriptor = null; 854 PropertyDescriptor basePropertyDescriptor,
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 (2)
577foreach (PropertyDescriptor pd in ((ITypedList)dataSource).GetItemProperties(null)) 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]; 1071internal TypeConverter FindConverter(PropertyDescriptor pd) 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 (6)
DynamicData\ModelProviders\ColumnProvider.cs (3)
39internal virtual PropertyDescriptor PropertyDescriptor { 47var propertyDescriptor = PropertyDescriptor; 98var propertyDescriptor = PropertyDescriptor;
DynamicData\ModelProviders\SimpleColumnProvider.cs (1)
11public SimpleColumnProvider(TableProvider tableProvider, PropertyDescriptor propertyDescriptor)
DynamicData\ModelProviders\SimpleTableProvider.cs (1)
54_columns = columnDescriptors.OfType<PropertyDescriptor>().Select(p => new SimpleColumnProvider(this, p)).OfType<ColumnProvider>().ToList();
DynamicData\Util\Misc.cs (1)
74foreach (PropertyDescriptor p in props) {
System.Web.Entity (13)
System\Data\WebControls\EntityDataSourceView.cs (5)
838private object ConvertProperty(object origPropertyValue, PropertyDescriptor propertyDescriptor, WebControlParameterProxy referenceParameter) 854PropertyDescriptor pd, 892PropertyDescriptor pd = propertyDescriptors.Find(propertyName, /*ignoreCase*/ false); 913PropertyDescriptor pd = propertyDescriptors.Find(propertyName, /*ignoreCase*/ false); 997foreach (PropertyDescriptor propertyDescriptor in collection)
System\Data\WebControls\EntityDataSourceViewSchema.cs (2)
76foreach (PropertyDescriptor property in properties) 97private static DataColumn ConstructColumn(PropertyDescriptor property)
System\Data\WebControls\EntityDataSourceWrapper.cs (2)
83PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { return null; } 99object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
System\Data\WebControls\EntityDataSourceWrapperCollection.cs (4)
82List<PropertyDescriptor> visiblePropertyDescriptors = new List<PropertyDescriptor>(columns.Count); 135public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) 148string ITypedList.GetListName(PropertyDescriptor[] listAccessors)
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (1)
206PropertyDescriptor propDesc = null;
System.Web.Extensions (6)
UI\WebControls\DataSourceHelper.cs (1)
137PropertyDescriptor property = props.Find(propName, /*ignoreCase*/true);
UI\WebControls\LinqDataSourceView.cs (1)
846foreach (PropertyDescriptor property in properties) {
UI\WebControls\ListViewPagedDataSource.cs (2)
250public PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) { 264public string GetListName(PropertyDescriptor[] listAccessors) {
UI\WebControls\QueryableDataSourceView.cs (2)
586protected void StoreOriginalValues(IList results, Func<PropertyDescriptor, bool> include) { 591foreach (PropertyDescriptor p in props) {
System.Web.Mobile (63)
Mobile\MobileCapabilities.cs (1)
113PropertyDescriptor propertyDescriptor =
UI\MobileControls\BaseValidator.cs (1)
328PropertyDescriptor prop = WebCntrls.BaseValidator.GetValidationProperty(control);
UI\MobileControls\DataSourceHelper.cs (2)
57typedMemberList.GetItemProperties (new PropertyDescriptor[0]); 60PropertyDescriptor listProperty = null;
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (4)
162PropertyDescriptor prop = (PropertyDescriptor)properties[propertyName]; 183PropertyDescriptor prop = (PropertyDescriptor)properties[propertyName];
UI\MobileControls\Design\Converters\DataFieldConverter.cs (2)
109PropertyDescriptor pd = 194foreach (PropertyDescriptor propDesc in props)
UI\MobileControls\Design\DeviceSpecificDesigner.cs (2)
327PropertyDescriptor prop = (PropertyDescriptor)properties[_propertyOverridesPropName];
UI\MobileControls\Design\FormDesigner.cs (2)
199PropertyDescriptor prop = (PropertyDescriptor)properties[_titlePropertyName];
UI\MobileControls\Design\ListGeneralPage.cs (1)
34using PropertyDescriptor = System.ComponentModel.PropertyDescriptor;
UI\MobileControls\Design\MobileContainerDesigner.cs (4)
355PropertyDescriptor propDesc = (PropertyDescriptor)member; 467PropertyDescriptor property = (PropertyDescriptor) properties["Expressions"];
UI\MobileControls\Design\MobileControlDesigner.cs (4)
466PropertyDescriptor propDesc = (PropertyDescriptor)member; 504PropertyDescriptor property = (PropertyDescriptor) properties[propertyName];
UI\MobileControls\Design\MobileControlPersister.cs (5)
112private static void PersistCollectionProperty(TextWriter sw, object component, PropertyDescriptor propDesc, PersistenceMode persistMode, IDesignerHost host) { 243private static void PersistComplexProperty(TextWriter sw, object component, PropertyDescriptor propDesc, IDesignerHost host) { 450private static void PersistStringProperty(TextWriter sw, object component, PropertyDescriptor propDesc, PersistenceMode mode) { 486private static void PersistAttributes(TextWriter sw, object component, string prefix, PropertyDescriptor propDesc) { 690private static void PersistTemplateProperty(TextWriter sw, object component, PropertyDescriptor propDesc)
UI\MobileControls\Design\MobileTemplatedControlDesigner.cs (4)
449PropertyDescriptor propDesc = (PropertyDescriptor)member; 837PropertyDescriptor property = (PropertyDescriptor) properties[_expressionsPropertyName];
UI\MobileControls\Design\ObjectListFieldsPage.cs (1)
187foreach (PropertyDescriptor propDesc in props)
UI\MobileControls\Design\PropertyOverridesDialog.cs (18)
674foreach(PropertyDescriptor property in TypeDescriptor.GetProperties( 759foreach(PropertyDescriptor property in properties) 770private void CopyProperty(PropertyDescriptor property, 797PropertyDescriptor property, Style style) 853PropertyDescriptor property 873private static bool IsDeviceOverridable(PropertyDescriptor property) 892foreach(PropertyDescriptor property in properties) 906PropertyDescriptor property, 919foreach(PropertyDescriptor embeddedProperty in properties) 963foreach(PropertyDescriptor property in properties) 977PropertyDescriptor property, 993foreach(PropertyDescriptor embeddedProperty in properties) 1059new PropertyDescriptor[] {} 1062foreach(PropertyDescriptor property in originalProperties) 1070PropertyDescriptor[] arpd = new PropertyDescriptor[newProperties.Count]; 1109PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 1150Object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor property)
UI\MobileControls\Design\StylesEditorDialog.cs (3)
443foreach (PropertyDescriptor desc in TypeDescriptor.GetProperties(style.Font)) 1184PropertyDescriptor property; 1221PropertyDescriptor property;
UI\MobileControls\Design\StyleSheetDesigner.cs (4)
346PropertyDescriptor propDesc = (PropertyDescriptor)member; 1098PropertyDescriptor designerTemplateStyleProp; 1111PropertyDescriptor designerPersistedStyles;
UI\MobileControls\DeviceSpecificChoice.cs (2)
173PropertyDescriptor pd = TypeDescriptor.GetProperties(parentObject).Find( 210PropertyDescriptor pd = TypeDescriptor.GetProperties(parentObject).Find(name, true);
UI\MobileControls\ObjectList.cs (2)
828((ITypedList)dataSource).GetItemProperties(new PropertyDescriptor[0]); 853foreach (PropertyDescriptor pd in propertyDescriptors)
UI\MobileControls\ObjectListField.cs (1)
36private PropertyDescriptor _dataFieldDescriptor;
System.Windows.Forms (218)
misc\ImageListUtils.cs (4)
17public static PropertyDescriptor GetImageListProperty(PropertyDescriptor currentComponent, ref object instance) { 21PropertyDescriptor imageListProp = null; 33PropertyDescriptor prop = TypeDescriptor.GetProperties(parentInstance)[pathInfo[i]];
winforms\Managed\System\WinForms\AxHost.cs (14)
1384PropertyDescriptor prop = TypeDescriptor.GetProperties(this)["SelectionStyle"]; 2670PropertyDescriptor prop = TypeDescriptor.GetProperties(this)["SelectionStyle"]; 2775PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 2894PropertyDescriptor prop = null; 2915PropertyDescriptor propDesc = (PropertyDescriptor)properties[propName]; 2945foreach(PropertyDescriptor prop in retProps) { 2965PropertyDescriptor[] temp = new PropertyDescriptor[retProps.Count]; 3003Object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) { 3011foreach (PropertyDescriptor prop in props) { 4374foreach(PropertyDescriptor p in props) { 6952private PropertyDescriptor baseProp; 6974internal AxPropertyDescriptor(PropertyDescriptor baseProp, AxHost owner) : base(baseProp) {
winforms\Managed\System\WinForms\Binding.cs (4)
38private PropertyDescriptor propInfo; 39private PropertyDescriptor propIsNullInfo; 516PropertyDescriptor tempPropInfo = null; 517PropertyDescriptor tempPropIsNullInfo = null;
winforms\Managed\System\WinForms\BindingContext.cs (1)
364PropertyDescriptor prop = formerManager.GetItemProperties().Find(dataField, true);
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (4)
117internal abstract PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors); 134PropertyDescriptor[] properties = new PropertyDescriptor[listAccessors.Count]; 204if (props[i].Name.Equals(((PropertyDescriptor)listAccessors[offset]).Name))
winforms\Managed\System\WinForms\BindingSource.cs (11)
798PropertyDescriptor pd = (itemShape == null) ? null : itemShape.Find(propertyName, true); 874PropertyDescriptor dmProp = dsProps[this.dataMember]; 1059PropertyDescriptor dmProp = dsProps[this.dataMember]; 1151PropertyDescriptor prop = props.Find(current, true); 1741public virtual string GetListName(PropertyDescriptor[] listAccessors) { 1745public virtual PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) { 1935public virtual PropertyDescriptor SortProperty { 1958void IBindingList.AddIndex(PropertyDescriptor property) { 1968public virtual void ApplySort(PropertyDescriptor property, ListSortDirection sort) { 1977public virtual int Find(PropertyDescriptor prop, object key) { 1986void IBindingList.RemoveIndex(PropertyDescriptor prop) {
winforms\Managed\System\WinForms\BindToObject.cs (2)
17private PropertyDescriptor fieldInfo; 202internal PropertyDescriptor FieldInfo {
winforms\Managed\System\WinForms\ButtonBase.cs (1)
169PropertyDescriptor pd = TypeDescriptor.GetProperties(this)["UseVisualStyleBackColor"];
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
1396PropertyDescriptor[] descs = new PropertyDescriptor[props.Count];
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (12)
234PropertyDescriptor[] props = null; 436private static PropertyDescriptor[] InternalGetProperties(Object obj, UnsafeNativeMethods.ITypeInfo typeInfo, int dispidToGet, ref int defaultIndex) { 478PropertyDescriptor[] props = new PropertyDescriptor[cProps]; 1036private PropertyDescriptor[] props; 1042internal CachedProperties(PropertyDescriptor[] props, int defIndex, int majVersion, int minVersion) { 1049public PropertyDescriptor[] Properties { 1061private PropertyDescriptor[] ClonePropertyDescriptors(PropertyDescriptor[] props) { 1062PropertyDescriptor[] retProps = new PropertyDescriptor[props.Length]; 1065retProps[i] = (PropertyDescriptor)((ICloneable)props[i]).Clone();;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (4)
356internal PropertyDescriptor GetDefaultProperty(Object component) { 392PropertyDescriptor[] props = propsInfo.Properties; 523PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 571object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
winforms\Managed\System\WinForms\Control.cs (3)
14500PropertyDescriptor sizeProperty = null; 14501PropertyDescriptor locationProperty = null; 17237private bool IsResourceProp(PropertyDescriptor prop) {
winforms\Managed\System\WinForms\CurrencyManager.cs (7)
502internal void SetSort(PropertyDescriptor property, ListSortDirection sortDirection) { 509/// <para>Gets a <see cref='System.ComponentModel.PropertyDescriptor'/> for a CurrencyManager.</para> 511internal PropertyDescriptor GetSortProperty() { 531internal int Find(PropertyDescriptor property, Object key, bool keepIndex) { 569PropertyDescriptor[] properties = new PropertyDescriptor[listAccessors.Count]; 578internal override PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) {
winforms\Managed\System\WinForms\DataGrid.cs (8)
167private PropertyDescriptor trackColumnHeader = null; 4341PropertyDescriptor prop = this.myGridTable.GridColumnStyles[ci.col].PropertyDescriptor; 5165private void ColumnHeaderClicked(PropertyDescriptor prop) { 5181PropertyDescriptor sortColumn = this.ListManager.GetSortProperty(); 6095/// Creates a <see cref='System.Windows.Forms.DataGridColumnStyle'/> using the specified <see cref='System.ComponentModel.PropertyDescriptor'/>. 6099protected virtual DataGridColumnStyle CreateGridColumn(PropertyDescriptor prop, bool isDefault) { 6107protected virtual DataGridColumnStyle CreateGridColumn(PropertyDescriptor prop) 7152PropertyDescriptor sortProperty = null;
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (2)
51public DataGridBoolColumn(PropertyDescriptor prop) 58public DataGridBoolColumn(PropertyDescriptor prop, bool isDefault)
winforms\Managed\System\WinForms\DataGridColumn.cs (6)
46private PropertyDescriptor propertyDescriptor = null; 82public DataGridColumnStyle(PropertyDescriptor prop) : this() { 88internal DataGridColumnStyle(PropertyDescriptor prop, bool isDefault) : this(prop) { 312public virtual PropertyDescriptor PropertyDescriptor { 386PropertyDescriptor prop = propCollection[i]; 930PropertyDescriptor myPropDesc = this.PropertyDescriptor;
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (2)
231public DataGridColumnStyle this[PropertyDescriptor propertyDesciptor] { 363public bool Contains(PropertyDescriptor propertyDescriptor) {
winforms\Managed\System\WinForms\DataGridTable.cs (5)
1399PropertyDescriptor prop = propCollection[i]; 1421PropertyDescriptor prop = propCollection[i]; 1448private static bool PropertyDescriptorIsARelation(PropertyDescriptor prop) { 1453internal protected virtual DataGridColumnStyle CreateGridColumn(PropertyDescriptor prop) { 1458internal protected virtual DataGridColumnStyle CreateGridColumn(PropertyDescriptor prop, bool isDefault) {
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (5)
66public DataGridTextBoxColumn(PropertyDescriptor prop) 79public DataGridTextBoxColumn(PropertyDescriptor prop, string format) : this(prop, format, false){} 89public DataGridTextBoxColumn(PropertyDescriptor prop, string format, bool isDefault) : base(prop, isDefault) { 106public DataGridTextBoxColumn(PropertyDescriptor prop, bool isDefault) : this(prop, null, isDefault) {} 177public override PropertyDescriptor PropertyDescriptor {
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (13)
290private PropertyDescriptor DisplayMemberProperty 294return (PropertyDescriptor)this.Properties.GetObject(PropComboBoxCellDisplayMemberProp); 691private PropertyDescriptor ValueMemberProperty 695return (PropertyDescriptor)this.Properties.GetObject(PropComboBoxCellValueMemberProp); 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*/); 1607PropertyDescriptor displayMemberProperty = props.Find(displayBindingMember.BindingField, true); 1635PropertyDescriptor valueMemberProperty = props.Find(valueBindingMember.BindingField, true); 1653private object ItemFromComboBoxDataSource(PropertyDescriptor property, object key) 1706PropertyDescriptor propDesc = TypeDescriptor.GetProperties(item).Find(field, true /*caseInsensitive*/); 1722PropertyDescriptor propDesc = TypeDescriptor.GetProperties(itemCandidate).Find(field, true /*caseInsensitive*/);
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (3)
310PropertyDescriptor sortField = null; 408PropertyDescriptor sortProperty; 1059private void GetSortingInformationFromBackend(out PropertyDescriptor sortProperty, out SortOrder sortOrder)
winforms\Managed\System\WinForms\Design\EventsTab.cs (6)
75public override PropertyDescriptor GetDefaultProperty(object obj) { 160PropertyDescriptor nsProp = namespaceProperties[i]; 184PropertyDescriptor[] realNamespaceProperties = new PropertyDescriptor[list.Count]; 186PropertyDescriptor[] finalEvents = new PropertyDescriptor[realEvents.Count + realNamespaceProperties.Length];
winforms\Managed\System\WinForms\Design\PropertyTab.cs (1)
125public virtual PropertyDescriptor GetDefaultProperty(Object component) {
winforms\Managed\System\WinForms\GridItem.cs (1)
81public abstract PropertyDescriptor PropertyDescriptor {
winforms\Managed\System\WinForms\ImageIndexConverter.cs (3)
97PropertyDescriptor imageListProp = ImageListUtils.GetImageListProperty(context.PropertyDescriptor, ref instance); 102foreach (PropertyDescriptor prop in props) { 114PropertyDescriptor parentProp = props[ParentImageListProperty];
winforms\Managed\System\WinForms\ImageKeyConverter.cs (3)
112PropertyDescriptor imageListProp = ImageListUtils.GetImageListProperty(context.PropertyDescriptor, ref instance); 117foreach (PropertyDescriptor prop in props) { 129PropertyDescriptor parentProp = props[ParentImageListProperty];
winforms\Managed\System\WinForms\ListBindingConverter.cs (1)
142PropertyDescriptor prop = TypeDescriptor.GetProperties(b)[ConstructorParameterProperties[lastItem]];
winforms\Managed\System\WinForms\ListBindingHelper.cs (16)
68PropertyDescriptor dmProp = dsProps.Find(dataMember, true); 98public static string GetListName(object list, PropertyDescriptor[] listAccessors) { 123PropertyDescriptor pd = listAccessors[0]; 166public static PropertyDescriptorCollection GetListItemProperties(object list, PropertyDescriptor[] listAccessors) { 198public static PropertyDescriptorCollection GetListItemProperties(object dataSource, string dataMember, PropertyDescriptor[] listAccessors) { 204PropertyDescriptor dmProp = dsProps.Find(dataMember, true); 213PropertyDescriptor[] listAccessors2 = new PropertyDescriptor[len]; 313PropertyDescriptor dmProp = dsProps.Find(dataMember, true); 349private static PropertyDescriptorCollection GetListItemPropertiesByType(Type type, PropertyDescriptor[] listAccessors) { 362private static PropertyDescriptorCollection GetListItemPropertiesByType(Type type, PropertyDescriptor[] listAccessors, int startIndex) { 388private static PropertyDescriptorCollection GetListItemPropertiesByEnumerable(IEnumerable iEnumerable, PropertyDescriptor[] listAccessors, int startIndex) { 439private static PropertyDescriptorCollection GetListItemPropertiesByEnumerable(IEnumerable enumerable, PropertyDescriptor[] listAccessors) { 463private static PropertyDescriptorCollection GetListItemPropertiesByInstance(object target, PropertyDescriptor[] listAccessors, int startIndex) { 480PropertyDescriptor[] accessors = null; 484accessors = new PropertyDescriptor[accessorsCount];
winforms\Managed\System\WinForms\ListControl.cs (3)
173PropertyDescriptor displayMemberProperty = props.Find(this.displayMember.BindingField, true); 426PropertyDescriptor property = props.Find(propertyName, true); 488PropertyDescriptor descriptor;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (12)
772public override PropertyDescriptor PropertyDescriptor { 1364PropertyDescriptor property = TypeDescriptor.GetProperties(owner)[propertyName]; 1556PropertyDescriptor defProp = null; 1580PropertyDescriptor[] propertyDescriptors = new PropertyDescriptor[props.Count]; 1616foreach (PropertyDescriptor pd in props) 2475private PropertyDescriptor[] SortParenProperties(PropertyDescriptor[] props) { 2477PropertyDescriptor[] newProps = null; 2485newProps = new PropertyDescriptor[props.Length]; 3121return String.Compare(((PropertyDescriptor)left).DisplayName, ((PropertyDescriptor)right).DisplayName, true, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
33internal ImmutablePropertyDescriptorGridEntry(PropertyGrid ownerGrid, GridEntry peParent, PropertyDescriptor propInfo, bool hide)
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (5)
27private PropertyDescriptor[] descriptors; 42public MergePropertyDescriptor(PropertyDescriptor[] descriptors) : base(descriptors[0].Name, null) { 91foreach (PropertyDescriptor pd in descriptors) { 114foreach (PropertyDescriptor pd in descriptors) { 139public PropertyDescriptor this[int index] {
winforms\Managed\System\WinForms\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (2)
26public MultiPropertyDescriptorGridEntry(PropertyGrid ownerGrid, GridEntry peParent, object[] objectArray, PropertyDescriptor[] propInfo, bool hide) 210PropertyDescriptor pd = ((PropertyDescriptorGridEntry)ge).propertyInfo;;
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (22)
100entries[i] = new MultiPropertyDescriptorGridEntry(parentEntry.OwnerGrid, parentEntry, rgobjs, (PropertyDescriptor[])props[i], false); 114PropertyDescriptor[] firstPds = new PropertyDescriptor[firstProps.Count]; 116firstPds[i] = ((PropertyDescriptor[])firstProps[i])[0]; 124entries[i] = new MultiPropertyDescriptorGridEntry(parentEntry.OwnerGrid, parentEntry, rgobjs, (PropertyDescriptor[])props[i], false); 155PropertyDescriptor[] matchArray = new PropertyDescriptor[objs.Length]; 162PropertyDescriptor pivotDesc = propCollections[0][i]; 175PropertyDescriptor jProp = propCollections[j][posArray[j]]; 274private static ArrayList UnsortedMerge(PropertyDescriptor[] baseEntries, ArrayList sortedMergedEntries) { 277PropertyDescriptor[] mergeArray = new PropertyDescriptor[((PropertyDescriptor[])sortedMergedEntries[0]).Length + 1]; 281PropertyDescriptor basePd = baseEntries[i]; 284PropertyDescriptor[] mergedEntryList = null; 293PropertyDescriptor[] pdList = (PropertyDescriptor[])sortedMergedEntries[start + offset]; 294PropertyDescriptor pd = pdList[0]; 325PropertyDescriptor a1 = obj1 as PropertyDescriptor; 326PropertyDescriptor a2 = obj2 as PropertyDescriptor;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertiesTab.cs (2)
53public override PropertyDescriptor GetDefaultProperty(object obj) { 54PropertyDescriptor def = base.GetDefaultProperty(obj);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (5)
29internal PropertyDescriptor propertyInfo; 72internal PropertyDescriptorGridEntry(PropertyGrid ownerGrid, GridEntry peParent, PropertyDescriptor propInfo, bool hide) 151PropertyDescriptor componentProperty = TypeDescriptor.GetProperties(ownerType)[this.PropertyName]; 252public override PropertyDescriptor PropertyDescriptor { 457protected void Initialize(PropertyDescriptor propInfo) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
5606PropertyDescriptor pd = entry.PropertyDescriptor;
winforms\Managed\System\WinForms\PropertyManager.cs (2)
20private PropertyDescriptor propInfo; 76internal override PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) {
winforms\Managed\System\WinForms\RadioButton.cs (1)
509PropertyDescriptor propDesc = TypeDescriptor.GetProperties(this)["Checked"];
winforms\Managed\System\WinForms\RelatedCurrencyManager.cs (5)
26PropertyDescriptor fieldInfo; 77internal override PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) { 78PropertyDescriptor[] accessors; 81accessors = new PropertyDescriptor[listAccessors.Length + 1]; 85accessors = new PropertyDescriptor[1];
winforms\Managed\System\WinForms\RelatedPropertyManager.cs (5)
20PropertyDescriptor fieldInfo; 55internal override PropertyDescriptorCollection GetItemProperties(PropertyDescriptor[] listAccessors) { 56PropertyDescriptor[] accessors; 59accessors = new PropertyDescriptor[listAccessors.Length + 1]; 63accessors = new PropertyDescriptor[1];
winforms\Managed\System\WinForms\TableLayoutSettings.cs (2)
456PropertyDescriptor prop = TypeDescriptor.GetProperties(c)["Name"]; 533PropertyDescriptor prop = TypeDescriptor.GetProperties(tableControl)["Name"];
winforms\Managed\System\WinForms\TabPage.cs (1)
135PropertyDescriptor pd = TypeDescriptor.GetProperties(this)["UseVisualStyleBackColor"];
winforms\Managed\System\WinForms\TreeViewImageIndexConverter.cs (3)
93PropertyDescriptor imageListProp = ImageListUtils.GetImageListProperty(context.PropertyDescriptor, ref instance); 98foreach (PropertyDescriptor prop in props) { 109PropertyDescriptor parentProp = props[ParentImageListProperty];
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
804PropertyDescriptor prop = TypeDescriptor.GetProperties(this)["SelectionStyle"]; 1138PropertyDescriptor prop = TypeDescriptor.GetProperties(this)["SelectionStyle"];
System.Windows.Forms.DataVisualization (20)
Common\Converters\CustomAttributesConverters.cs (2)
839 private PropertyDescriptor _basePropertyDescriptor = null; 854 PropertyDescriptor basePropertyDescriptor,
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 (2)
577foreach (PropertyDescriptor pd in ((ITypedList)dataSource).GetItemProperties(null)) 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]; 1071internal TypeConverter FindConverter(PropertyDescriptor pd) 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 (37)
Common\BasePropertyDescriptor.cs (8)
70internal static Type GetBaseType(PropertyDescriptor property, object owner, IServiceProvider serviceProvider) 88internal static void SetPropertyValue(IServiceProvider serviceProvider, PropertyDescriptor propertyDescriptor, object component, object value) 120private PropertyDescriptor property; 124public ComponentChangeDispatcher(IServiceProvider serviceProvider, object component, PropertyDescriptor propertyDescriptor) 167private PropertyDescriptor realPropertyDescriptor; 169public DynamicPropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor descriptor) 184public PropertyDescriptor RealPropertyDescriptor 626public TypePropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor actualPropDesc)
Common\CompModHelpers.cs (3)
1334private PropertyDescriptor propDesc; 1337public TypeDescriptorContext(IServiceProvider serviceProvider, PropertyDescriptor propDesc, object instance) 1358public PropertyDescriptor PropertyDescriptor
Designers\InvokeWebServiceDesigner.cs (1)
199internal WebServiceUrlPropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor pd)
Designers\StateDesigner.cs (8)
1227PropertyDescriptor property = GetPropertyDescriptor(setState, SetStateActivity.TargetStateNamePropertyName); 1865PropertyDescriptor initialStateProperty = GetPropertyDescriptor(rootState, StateMachineWorkflowActivity.InitialStateNamePropertyName); 1871PropertyDescriptor completedStateProperty = GetPropertyDescriptor(rootState, StateMachineWorkflowActivity.CompletedStateNamePropertyName); 1899PropertyDescriptor completedStateProperty = GetPropertyDescriptor(rootState, StateMachineWorkflowActivity.CompletedStateNamePropertyName); 1905PropertyDescriptor initialStateProperty = GetPropertyDescriptor(rootState, StateMachineWorkflowActivity.InitialStateNamePropertyName); 1921private static PropertyDescriptor GetPropertyDescriptor(Activity activity, string propertyName) 1924PropertyDescriptor property = properties.Find(propertyName, false); 2217PropertyDescriptor activeDesignerProperty = GetPropertyDescriptor(stateDesigner.Activity, ActiveDesignerNamePropertyName);
Designers\WebServiceReceiveDesigner.cs (3)
34properties["InterfaceType"] = new WebServiceInterfacePropertyDescriptor(Activity.Site, properties["InterfaceType"] as PropertyDescriptor); 53PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(Activity)["MethodName"]; 96internal WebServiceInterfacePropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor pd)
EventSinkActivity.cs (1)
477PropertyDescriptor prop = new ParameterInfoBasedPropertyDescriptor(typeof(HandleExternalEventActivity), param, true, DesignOnlyAttribute.Yes);
InvokeMethodActivity.cs (1)
276PropertyDescriptor prop = new ParameterInfoBasedPropertyDescriptor(typeof(CallExternalMethodActivity), param, true, DesignOnlyAttribute.Yes);
InvokeWebService.cs (1)
403PropertyDescriptor prop = null;
LocalService\CorrelationTokenTypeConvertor.cs (4)
72PropertyDescriptor correlatorProperty = TypeDescriptor.GetProperties(preceedingActivity)["CorrelationToken"] as PropertyDescriptor; 98return new PropertyDescriptorCollection((PropertyDescriptor[])props.ToArray(typeof(PropertyDescriptor)));
Rules\Design\LogicalExpressionTypeConverter.cs (5)
19public RuleDefinitionDynamicPropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor descriptor) 217public RuleConditionReferenceNamePropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor descriptor) 296PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(component)["ConditionName"]; 306public RuleConditionReferencePropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor descriptor) 409public RuleSetPropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor descriptor)
WebServiceReceive.cs (1)
464PropertyDescriptor prop = new ParameterInfoBasedPropertyDescriptor(typeof(WebServiceInputActivity), paramInfo, true, DesignOnlyAttribute.Yes);
WebServiceResponse.cs (1)
276PropertyDescriptor prop = null;
System.Workflow.ComponentModel (108)
AuthoringOM\Design\ActivityDesigner.cs (22)
718private PropertyDescriptor[] EventHandlerProperties 722List<PropertyDescriptor> propertyDescriptors = new List<PropertyDescriptor>(); 727foreach (PropertyDescriptor propertyDescriptor in PropertyDescriptorFilter.GetPropertiesForEvents(Activity.Site, Activity)) 735private PropertyDescriptor[] BindableProperties 739List<PropertyDescriptor> propertyDescriptors = new List<PropertyDescriptor>(); 746foreach (PropertyDescriptor propDesc in properties) 1286PropertyDescriptor prop = entry.Value as PropertyDescriptor; 2080PropertyDescriptor methodDescriptor = null; 2082PropertyDescriptor[] propertyDescriptors = EventHandlerProperties; 2083foreach (PropertyDescriptor propertyDescriptor in propertyDescriptors) 2132PropertyDescriptor[] propertyDescriptors = BindableProperties; 2133Dictionary<PropertyDescriptor, ActivityBind> promotedProperties = new Dictionary<PropertyDescriptor, ActivityBind>(); 2135foreach (PropertyDescriptor propertyDescriptor in propertyDescriptors) 2155foreach (PropertyDescriptor promotedProperty in promotedProperties.Keys) 2173PropertyDescriptor[] propertyDescriptors = EventHandlerProperties; 2174foreach (PropertyDescriptor propertyDescriptor in propertyDescriptors) 2194PropertyDescriptor[] propertyDescriptors = this.BindableProperties; 2195foreach (PropertyDescriptor propertyDescriptor in propertyDescriptors)
AuthoringOM\Design\CommandSet.cs (1)
654PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(activity)["Enabled"];
AuthoringOM\Design\ComponentSerializationService.cs (19)
251PropertyDescriptor member = this.memberList[loop] as PropertyDescriptor; 323if (this.memberList[loop] is PropertyDescriptor) 325PropertyInfo propertyInfo = XomlComponentSerializationService.GetProperty(obj.GetType(), (this.memberList[loop] as PropertyDescriptor).Name, BindingFlags.Public | BindingFlags.Instance); 329serializer.SerializeObject(xomlSerializationManager, new PropertySegment(this.serviceProvider, obj, this.memberList[loop] as PropertyDescriptor), writer); 444private PropertyDescriptor propertyDescriptor = null; 459internal PropertySegment(IServiceProvider serviceProvider, object obj, PropertyDescriptor propertyDescriptor) 479internal PropertyDescriptor PropertyDescriptor 483PropertyDescriptor propertyDesc = this.propertyDescriptor; 514foreach (PropertyDescriptor propDesc in props) 532foreach (PropertyDescriptor childDesc in propDesc.Converter.GetProperties(dummyContext, this.obj, new Attribute[] { })) 565private PropertyDescriptor propDescriptor = null; 567public DummyTypeDescriptorContext(IServiceProvider serviceProvider, object component, PropertyDescriptor propDescriptor) 578public PropertyDescriptor PropertyDescriptor { get { return this.propDescriptor; } } 597private PropertyDescriptor realPropDesc = null; 606internal PropertySegmentPropertyInfo(PropertySegment propertySegment, PropertyDescriptor realPropDesc) 693PropertyDescriptor propertyDescriptor = null; 707foreach (PropertyDescriptor propDesc in props) 718foreach (PropertyDescriptor childDesc in propDesc.Converter.GetProperties(dummyContext, propDesc.GetValue(propertySegment.Object), new Attribute[] { }))
AuthoringOM\Design\CustomActivityDesigner.cs (6)
306PropertyDescriptor supportsEventsPropDesc = TypeDescriptor.GetProperties(host.RootComponent)["SupportsEvents"]; 310PropertyDescriptor supportsExceptionsPropDesc = TypeDescriptor.GetProperties(host.RootComponent)["SupportsExceptions"]; 336foreach (PropertyDescriptor propertyDescriptor in properties) 346PropertyDescriptor realBaseActivityTypePropertyDescriptor = properties["BaseActivityType"]; 347PropertyDescriptor baseActivityTypePropertyDescriptor = TypeDescriptor.CreateProperty(realBaseActivityTypePropertyDescriptor.ComponentType, realBaseActivityTypePropertyDescriptor, DesignerSerializationVisibilityAttribute.Visible); 884public static CustomProperty CreateCustomProperty(IServiceProvider serviceProvider, string customPropertyName, PropertyDescriptor propertyDescriptor, object propertyOwner)
AuthoringOM\Design\DesignerHelpers.cs (4)
1339foreach (PropertyDescriptor property in properties) 1735foreach (PropertyDescriptor property in properties) 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 (2)
1486private PropertyDescriptor realPropertyDescriptor = null; 1489internal ParameterDataPropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor desc)
AuthoringOM\Design\FreeFormDesigner.cs (2)
1046PropertyDescriptor sizeProperty = (properties != null) ? properties["Size"] : null; 1052PropertyDescriptor locationProperty = (properties != null) ? properties["Location"] : null;
AuthoringOM\Design\PropertyDescriptors.cs (20)
28internal IDPropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor actualPropDesc) 64internal NamePropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor actualPropDesc) 149foreach (PropertyDescriptor prop in props) 157PropertyDescriptor[] returnProps = new PropertyDescriptor[properties.Count]; 168foreach (PropertyDescriptor property in GetPropertiesForEvents(serviceProvider, propertyOwner)) 182PropertyDescriptor propDesc = properties[key] as PropertyDescriptor; 217List<PropertyDescriptor> properties = new List<PropertyDescriptor>(); 227PropertyDescriptor propertyDescriptor = eventBindingService.GetEventProperty(eventDesc); 264internal ActivityBindPropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor realPropertyDescriptor, object propertyOwner) 674internal static bool IsBindableProperty(PropertyDescriptor propertyDescriptor) 718public ActivityBindNamePropertyDescriptor(ITypeDescriptorContext context, PropertyDescriptor realPropertyDescriptor) 761public ActivityBindPathPropertyDescriptor(ITypeDescriptorContext context, PropertyDescriptor realPropertyDescriptor) 825foreach (PropertyDescriptor property in properties) 834return new PropertyDescriptorCollection((PropertyDescriptor[])readonlyProperties.ToArray(typeof(PropertyDescriptor))); 859private PropertyDescriptor realPropertyDescriptor; 861internal ReadonlyPropertyDescriptor(PropertyDescriptor descriptor)
AuthoringOM\Design\ReferenceService.cs (1)
41foreach (PropertyDescriptor property in TypeDescriptor.GetProperties(reference, Attributes))
AuthoringOM\Design\Themes.cs (4)
3223PropertyDescriptor property1 = obj1 as PropertyDescriptor; 3224PropertyDescriptor property2 = obj2 as PropertyDescriptor;
AuthoringOM\Design\TypeConverters.cs (5)
127PropertyDescriptorCollection props = new PropertyDescriptorCollection(new PropertyDescriptor[] { }); 276PropertyDescriptor activityDescriptor = props["Name"]; 280PropertyDescriptor pathDescriptor = props["Path"]; 292return new PropertyDescriptorCollection((PropertyDescriptor[])properties.ToArray(typeof(PropertyDescriptor)));
AuthoringOM\Design\WorkflowInlining.cs (1)
404PropertyDescriptor prop = new ParameterInfoBasedPropertyDescriptor(Type.GetType(InvokeWorkflowRef), parameterProperty.Name, parameterProperty.PropertyType, ReservedParameterNames.Contains(parameterProperty.Name), DesignOnlyAttribute.Yes);
AuthoringOM\Design\XomlDesignerLoader.cs (3)
872private void OnPropertyGridAdornments(ITypeDescriptorContext context, PropertyDescriptor propDesc, ArrayList valueUIItemList) 915private void OnBindProperty(ITypeDescriptorContext context, PropertyDescriptor descriptor, PropertyValueUIItem invokedItem) 928internal void OnFixPropertyError(ITypeDescriptorContext context, PropertyDescriptor descriptor, PropertyValueUIItem invokedItem)
AuthoringOM\Serializer\ActivityCodeDomSerializationManager.cs (3)
168PropertyDescriptor pd = Context[typeof(PropertyDescriptor)] as PropertyDescriptor;
AuthoringOM\Serializer\CompositeActivityTypeDescriptor.cs (3)
37foreach (PropertyDescriptor property in properties) 42return new PropertyDescriptorCollection((PropertyDescriptor[])readonlyProperties.ToArray(typeof(PropertyDescriptor)));
AuthoringOM\Serializer\PropertySegmentSerializer.cs (1)
156PropertyDescriptor propertyDescriptor = TypeDescriptor.GetProperties(propertyInfo.PropertySegment.Object)[propertyInfo.Name];
Shared\BasePropertyDescriptor.cs (8)
69internal static Type GetBaseType(PropertyDescriptor property, object owner, IServiceProvider serviceProvider) 87internal static void SetPropertyValue(IServiceProvider serviceProvider, PropertyDescriptor propertyDescriptor, object component, object value) 119private PropertyDescriptor property; 123public ComponentChangeDispatcher(IServiceProvider serviceProvider, object component, PropertyDescriptor propertyDescriptor) 166private PropertyDescriptor realPropertyDescriptor; 168public DynamicPropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor descriptor) 183public PropertyDescriptor RealPropertyDescriptor 625public TypePropertyDescriptor(IServiceProvider serviceProvider, PropertyDescriptor actualPropDesc)
Shared\CompModHelpers.cs (3)
1332private PropertyDescriptor propDesc; 1335public TypeDescriptorContext(IServiceProvider serviceProvider, PropertyDescriptor propDesc, object instance) 1356public PropertyDescriptor PropertyDescriptor
System.Workflow.Runtime (6)
System\Activities\Statements\Interop.cs (6)
573PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 595List<PropertyDescriptor> properties = new List<PropertyDescriptor>(); 667PropertyDescriptor descriptor = this.exposedBodyProperties[i]; 679static bool ShouldFilterProperty(PropertyDescriptor property, Attribute[] attributes) 713object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
System.WorkflowServices (11)
System\Workflow\Activities\ChannelTokenTypeConverter.cs (4)
75return new PropertyDescriptorCollection((PropertyDescriptor[]) props.ToArray(typeof(PropertyDescriptor))); 86PropertyDescriptor endpointProperty = TypeDescriptor.GetProperties(preceedingActivity)["ChannelToken"] as PropertyDescriptor;
System\Workflow\Activities\ContextTokenTypeConverter.cs (4)
75return new PropertyDescriptorCollection((PropertyDescriptor[]) props.ToArray(typeof(PropertyDescriptor))); 86PropertyDescriptor contextTokenProperty = TypeDescriptor.GetProperties(preceedingActivity)["ContextToken"] as PropertyDescriptor;
System\Workflow\Activities\ReceiveActivity.cs (1)
800PropertyDescriptor prop =
System\Workflow\Activities\SendActivity.cs (1)
479PropertyDescriptor prop =
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
50public static PropertyDescriptor GetServiceOperationInfoPropertyDescriptor(Activity activity)
System.Xml.Linq (1)
System\Xml\Linq\XComponentModel.cs (1)
47foreach (PropertyDescriptor property in base.GetProperties(attributes)) {
WindowsBase (35)
Base\MS\Internal\ComponentModel\APCustomTypeDescriptor.cs (5)
109List<PropertyDescriptor> filteredProps; 114filteredProps = new List<PropertyDescriptor>(localEnum.Count); 131filteredProps = new List<PropertyDescriptor>(registeredProperties.Length); 210public PropertyDescriptor GetDefaultProperty() { return _parent.GetDefaultProperty(); } 214public object GetPropertyOwner(PropertyDescriptor property) { return _parent.GetPropertyOwner(property); }
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (2)
39internal DependencyObjectPropertyDescriptor(PropertyDescriptor property, DependencyProperty dp, Type objectType) 847private PropertyDescriptor _property;
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (11)
66PropertyDescriptor nameProp = GetProperties()[nameAttr.Name]; 173List<PropertyDescriptor> newDescriptors = null; 178PropertyDescriptor prop = properties[idx]; 188newDescriptors = new List<PropertyDescriptor>(cnt); 231public PropertyDescriptor GetDefaultProperty() { return _parent.GetDefaultProperty(); } 235public object GetPropertyOwner(PropertyDescriptor property) { return _parent.GetPropertyOwner(property); } 281List<PropertyDescriptor> newDescriptors = new List<PropertyDescriptor>(baseProps.Count); 285PropertyDescriptor prop = baseProps[idx]; 387private static Dictionary<PropertyDescriptor, DependencyObjectPropertyDescriptor> _propertyMap = 388new Dictionary<PropertyDescriptor, DependencyObjectPropertyDescriptor>(new PropertyDescriptorComparer());
Base\MS\Internal\ComponentModel\PropertyDescriptorComparer.cs (4)
11internal class PropertyDescriptorComparer : IEqualityComparer<PropertyDescriptor> 13public bool Equals(PropertyDescriptor p1, PropertyDescriptor p2) 18public int GetHashCode(PropertyDescriptor p)
Base\MS\Internal\SystemDataExtensionMethods.cs (2)
32internal abstract bool IsDataSetCollectionProperty(PropertyDescriptor pd); 35internal abstract object GetValue(object item, PropertyDescriptor pd, bool useFollowParent);
Base\MS\Internal\SystemXmlLinqExtensionMethods.cs (2)
27internal abstract bool IsXLinqCollectionProperty(PropertyDescriptor pd); 31internal abstract bool IsXLinqNonIdempotentProperty(PropertyDescriptor pd);
Base\System\ComponentModel\DependencyPropertyDescriptor.cs (6)
39private DependencyPropertyDescriptor(PropertyDescriptor property, string name, Type componentType, DependencyProperty dp, bool isAttached) : base(name, null) 64public static DependencyPropertyDescriptor FromProperty(PropertyDescriptor property) 178PropertyDescriptor prop = DependencyObjectProvider.GetAttachedPropertyDescriptor(dependencyProperty, targetType); 240PropertyDescriptor prop = DependencyObjectProvider.GetAttachedPropertyDescriptor(dependencyProperty, targetType); 576private PropertyDescriptor Property 612private PropertyDescriptor _property;
Base\System\Windows\Markup\DateTimeValueSerializerContext.cs (2)
21public ValueSerializer GetValueSerializerFor(PropertyDescriptor descriptor) 51public PropertyDescriptor PropertyDescriptor
Base\System\Windows\Markup\Primitives\MarkupProperty.cs (1)
68public virtual PropertyDescriptor PropertyDescriptor { get { return null; } }