16 implementations of PropertyDescriptor
PresentationBuildTasks (1)
PresentationFramework (8)
System.Activities (1)
System.Activities.Presentation (1)
System.Data (1)
System.Windows.Forms (1)
System.Workflow.Activities (1)
System.Workflow.ComponentModel (2)
85 references to PropertyDescriptor
System.Activities.Presentation (1)
System.Data (1)
System.Web.DataVisualization (2)
System.Web.Entity.Design (1)
System.Windows.Forms (6)
System.Windows.Forms.DataVisualization (2)
System.Workflow.Activities (12)
System.Workflow.ComponentModel (57)
AuthoringOM\Design\UITypeEditors.cs (20)
46if (typeDescriptorContext.PropertyDescriptor != null && typeDescriptorContext.PropertyDescriptor.Attributes != null)
47typeFilterProvAttr = typeDescriptorContext.PropertyDescriptor.Attributes[typeof(TypeFilterProviderAttribute)] as TypeFilterProviderAttribute;
80typeFilterProvider = typeDescriptorContext.PropertyDescriptor as ITypeFilterProvider;
84if (value != null && typeDescriptorContext.PropertyDescriptor.PropertyType != typeof(string) && typeDescriptorContext.PropertyDescriptor.Converter != null && typeDescriptorContext.PropertyDescriptor.Converter.CanConvertTo(typeof(string)))
85oldTypeName = typeDescriptorContext.PropertyDescriptor.Converter.ConvertTo(typeDescriptorContext, CultureInfo.CurrentCulture, value, typeof(string)) as string;
91if (typeDescriptorContext.PropertyDescriptor.PropertyType == typeof(Type))
93else if (typeDescriptorContext.PropertyDescriptor.PropertyType == typeof(string))
95else if (typeDescriptorContext.PropertyDescriptor.Converter != null && typeDescriptorContext.PropertyDescriptor.Converter.CanConvertFrom(typeDescriptorContext, typeof(string)))
96returnVal = typeDescriptorContext.PropertyDescriptor.Converter.ConvertFrom(typeDescriptorContext, CultureInfo.CurrentCulture, dlg.SelectedType.FullName);
128if (context != null && context.PropertyDescriptor is DynamicPropertyDescriptor)
145properties.Add(CustomProperty.CreateCustomProperty(this.serviceProvider, bindDialog.NewMemberName, context.PropertyDescriptor, context.Instance));
160string message = SR.GetString(SR.Error_CanNotBindProperty, context.PropertyDescriptor.Name);
182if (context != null && context.PropertyDescriptor != null && context.Instance != null)
185value = context.PropertyDescriptor.GetValue(context.Instance);
191context.PropertyDescriptor.SetValue(context.Instance, value);
195string message = SR.GetString(SR.Error_CanNotBindProperty, context.PropertyDescriptor.Name);
System.Workflow.Runtime (1)
System.WorkflowServices (2)