16 implementations of PropertyDescriptor
PresentationBuildTasks (1)
Framework\System\Windows\Markup\TypeContext.cs (1)
131public PropertyDescriptor PropertyDescriptor
PresentationFramework (8)
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (1)
801public PropertyDescriptor PropertyDescriptor { get { return null;} }
src\Framework\System\Windows\Controls\ContentPresenter.cs (1)
1147PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor { get { return 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 (1)
683PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor
src\Framework\System\Windows\Markup\typecontext.cs (1)
131public PropertyDescriptor PropertyDescriptor
src\Framework\System\Windows\TemplateContent.cs (1)
1577PropertyDescriptor ITypeDescriptorContext.PropertyDescriptor
System.Activities (1)
System\Activities\Debugger\DebugInfo.cs (1)
595public PropertyDescriptor PropertyDescriptor
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
58public PropertyDescriptor PropertyDescriptor
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
58public PropertyDescriptor PropertyDescriptor
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
772public override PropertyDescriptor PropertyDescriptor {
System.Workflow.Activities (1)
Common\CompModHelpers.cs (1)
1358public PropertyDescriptor PropertyDescriptor
System.Workflow.ComponentModel (2)
AuthoringOM\Design\ComponentSerializationService.cs (1)
578public PropertyDescriptor PropertyDescriptor { get { return this.propDescriptor; } }
Shared\CompModHelpers.cs (1)
1356public PropertyDescriptor PropertyDescriptor
85 references to PropertyDescriptor
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
66desc = this.context.PropertyDescriptor;
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTypeDescriptorContextWrapper.cs (1)
66desc = this.context.PropertyDescriptor;
System.Web.DataVisualization (2)
Common\Converters\DataManagerConverters.cs (2)
225if (context.PropertyDescriptor != null && context.PropertyDescriptor.Name == "YValueMembers")
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceStatementEditor.cs (1)
40return Initialize(designer, entityDataSource, context.PropertyDescriptor.Name, serviceProvider, value);
System.Windows.Forms (6)
winforms\Managed\System\WinForms\ImageIndexConverter.cs (1)
97PropertyDescriptor imageListProp = ImageListUtils.GetImageListProperty(context.PropertyDescriptor, ref instance);
winforms\Managed\System\WinForms\ImageKeyConverter.cs (1)
112PropertyDescriptor imageListProp = ImageListUtils.GetImageListProperty(context.PropertyDescriptor, ref instance);
winforms\Managed\System\WinForms\Padding.cs (1)
393Padding original = (Padding) context.PropertyDescriptor.GetValue(context.Instance);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertiesTab.cs (2)
91TypeConverter tc = (context.PropertyDescriptor == null ? TypeDescriptor.GetConverter(component) : context.PropertyDescriptor.Converter);
winforms\Managed\System\WinForms\TreeViewImageIndexConverter.cs (1)
93PropertyDescriptor imageListProp = ImageListUtils.GetImageListProperty(context.PropertyDescriptor, ref instance);
System.Windows.Forms.DataVisualization (2)
Common\Converters\DataManagerConverters.cs (2)
225if (context.PropertyDescriptor != null && context.PropertyDescriptor.Name == "YValueMembers")
System.Workflow.Activities (12)
Designers\InvokeWebServiceDesigner.cs (1)
234typeDescriptorContext.PropertyDescriptor.SetValue(typeDescriptorContext.Instance, returnVal as string);
EventSinkActivity.cs (1)
175if (context.PropertyDescriptor.Name == "EventName")
InvokeMethodActivity.cs (1)
144if (context.PropertyDescriptor.Name == "MethodName")
InvokeWebService.cs (2)
316if (context.PropertyDescriptor.Name == "ProxyClass") 331else if (context.PropertyDescriptor.Name == "MethodName")
Rules\Design\LogicalExpressionEditor.cs (4)
60CodeExpression experssion = typeDescriptorContext.PropertyDescriptor.GetValue(typeDescriptorContext.Instance) as CodeExpression; 110string conditionName = typeDescriptorContext.PropertyDescriptor.GetValue(typeDescriptorContext.Instance) as string; 155RuleSetReference ruleSetReference = typeDescriptorContext.PropertyDescriptor.GetValue(typeDescriptorContext.Instance) as RuleSetReference; 162returnVal = typeDescriptorContext.PropertyDescriptor.Converter.ConvertFrom(typeDescriptorContext, CultureInfo.CurrentUICulture, dlg.SelectedName);
WebServiceFault.cs (1)
109if (context.PropertyDescriptor.Name == "InputActivityName")
WebServiceReceive.cs (1)
180if (context.PropertyDescriptor.Name == "MethodName")
WebServiceResponse.cs (1)
103if (context.PropertyDescriptor.Name == "InputActivityName")
System.Workflow.ComponentModel (57)
AuthoringOM\Bind.cs (3)
906if (string.Equals(context.PropertyDescriptor.Name, "Path", StringComparison.Ordinal) && !String.IsNullOrEmpty(Name) && context.PropertyDescriptor is ActivityBindPathPropertyDescriptor) 908ITypeDescriptorContext outerPropertyContext = ((ActivityBindPathPropertyDescriptor)context.PropertyDescriptor).OuterPropertyContext;
AuthoringOM\Design\ActivityDesigner.cs (3)
2219canBindProperty = (propertyContext != null && ActivityBindPropertyDescriptor.IsBindableProperty(propertyContext.PropertyDescriptor) && !propertyContext.PropertyDescriptor.IsReadOnly); 2220propertyName = (propertyContext != null) ? propertyContext.PropertyDescriptor.Name : null;
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (7)
144this.Text = string.Format(CultureInfo.CurrentCulture, ActivityBindDialogTitleFormat, context.PropertyDescriptor.Name); 147if (this.context.PropertyDescriptor is DynamicPropertyDescriptor) 148this.boundType = PropertyDescriptorUtils.GetBaseType(this.context.PropertyDescriptor, PropertyDescriptorUtils.GetComponent(context), serviceProvider); 189ActivityBind previousBinding = context.PropertyDescriptor.GetValue(context.Instance) as ActivityBind; 204this.memberNameTextBox.Text = DesignerHelpers.GenerateUniqueIdentifier(this.serviceProvider, activity.Name + "_" + context.PropertyDescriptor.Name, customPropertyNames.ToArray()); 262string propertyName = context.PropertyDescriptor.Name; 275PropertyValidationContext propertyValidationContext = new PropertyValidationContext(this.context.Instance, DependencyProperty.FromName(this.context.PropertyDescriptor.Name, this.context.Instance.GetType()));
AuthoringOM\Design\PropertyDescriptors.cs (5)
427Type memberType = PropertyDescriptorUtils.GetBaseType(context.PropertyDescriptor, context.Instance, context); 431DependencyProperty dependencyProperty = DependencyProperty.FromName(context.PropertyDescriptor.Name, context.PropertyDescriptor.ComponentType); 528Type boundType = PropertyDescriptorUtils.GetBaseType(context.PropertyDescriptor, context.Instance, context); 667throw new InvalidOperationException(SR.GetString(SR.Error_PropertyTypeNotDefined, context.PropertyDescriptor.Name, typeof(ActivityBind).Name, typeof(IDynamicPropertyTypeProvider).Name));
AuthoringOM\Design\Themes.cs (5)
1414if (string.Equals(context.PropertyDescriptor.Name, "BorderStyle", StringComparison.Ordinal)) 3191if (string.Equals(context.PropertyDescriptor.Name, "GridStyle", StringComparison.Ordinal)) 3206if (destinationType == typeof(string) && context.PropertyDescriptor != null) 3260return Enum.Parse(context.PropertyDescriptor.PropertyType, (string)value); 3318return (context != null && context.PropertyDescriptor != null);
AuthoringOM\Design\TypeConverters.cs (14)
172if (destinationType == typeof(string) && context != null && context.PropertyDescriptor != null) 174ActivityBind activityBind = context.PropertyDescriptor.GetValue(context.Instance) as ActivityBind; 202if (convertedValue == null && (context == null || context.PropertyDescriptor == null)) 249if (context != null && context.PropertyDescriptor != null) 251ActivityBind activityBind = context.PropertyDescriptor.GetValue(context.Instance) as ActivityBind; 284else if (context != null && context.PropertyDescriptor != null) 298if (context == null || context.PropertyDescriptor == null) 315if (context != null && context.PropertyDescriptor != null) 317object existingPropertyValue = (context.Instance != null) ? context.PropertyDescriptor.GetValue(context.Instance) : null; 334if (context != null && context.PropertyDescriptor != null) 336object existingPropertyValue = (context.Instance != null) ? context.PropertyDescriptor.GetValue(context.Instance) : null; 360if (currentContext != null && currentContext.PropertyDescriptor != null) 362realTypeConverter = TypeDescriptor.GetConverter(currentContext.PropertyDescriptor.PropertyType); 364ActivityBindPropertyDescriptor activityBindPropertyDescriptor = currentContext.PropertyDescriptor as ActivityBindPropertyDescriptor;
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)
CorrelationToken.cs (1)
93if (string.Equals(context.PropertyDescriptor.Name, "OwnerActivityName", StringComparison.Ordinal))
System.WorkflowServices (2)
System\Workflow\Activities\ChannelToken.cs (1)
110if (string.Equals(context.PropertyDescriptor.Name, "OwnerActivityName", StringComparison.Ordinal))
System\Workflow\Activities\ContextToken.cs (1)
113if (string.Equals(context.PropertyDescriptor.Name, "OwnerActivityName", StringComparison.Ordinal))