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