PropertyExtension<TTargetElementType> Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Abstract base class for Property Extensions.

System.Object
  System.ComponentModel.MemberDescriptor
    System.ComponentModel.PropertyDescriptor
      Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.PropertyExtension<TTargetElementType>

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)

public abstract class PropertyExtension<TTargetElementType> : PropertyDescriptor, 
	IPropertyExtension 
where TTargetElementType : class, ILayerElement

Type Parameters

TTargetElementType

The PropertyExtension<TTargetElementType> type exposes the following members.

  NameDescription
Protected methodPropertyExtension<TTargetElementType>Constructor for Property Extension
Top

  NameDescription
Protected propertyAttributeArrayGets or sets an array of attributes. (Inherited from MemberDescriptor.)
Public propertyAttributesGets the collection of attributes for this member. (Inherited from MemberDescriptor.)
Public propertyCategoryGets the localized name of the category to display in the Property window (default = 'Validate Architecture'). (Overrides MemberDescriptor.Category.)
Public propertyComponentTypeThe type of the component this property is bound to. (Overrides PropertyDescriptor.ComponentType.)
Public propertyConverterGets the type converter for this property. (Inherited from PropertyDescriptor.)
Public propertyDescriptionGets the description of the member, as specified in the DescriptionAttribute. (Inherited from MemberDescriptor.)
Public propertyDesignTimeOnlyGets whether this member should be set only at design time, as specified in the DesignOnlyAttribute. (Inherited from MemberDescriptor.)
Public propertyDisplayNameGets the localized name that can be displayed in the Property window (default = this.Name). (Overrides MemberDescriptor.DisplayName.)
Public propertyIsBrowsableGets a value indicating whether the member is browsable, as specified in the BrowsableAttribute. (Inherited from MemberDescriptor.)
Public propertyIsLocalizableGets a value indicating whether this property should be localized, as specified in the LocalizableAttribute. (Inherited from PropertyDescriptor.)
Public propertyIsReadOnlyGets a value indicating whether this property is read-only (default is false). (Overrides PropertyDescriptor.IsReadOnly.)
Public propertyNameGets the name of the member. (Inherited from MemberDescriptor.)
Protected propertyNameHashCodeGets the hash code for the name of the member, as specified in GetHashCode. (Inherited from MemberDescriptor.)
Public propertyPropertyTypeGets the type of the property (default is typeof(string)). (Overrides PropertyDescriptor.PropertyType.)
Public propertySerializationVisibilityGets a value indicating whether this property should be serialized, as specified in the DesignerSerializationVisibilityAttribute. (Inherited from PropertyDescriptor.)
Public propertySupportsChangeEventsGets a value indicating whether value change notifications for this property may originate from outside the property descriptor. (Inherited from PropertyDescriptor.)
Top

  NameDescription
Public methodAddValueChangedEnables other objects to be notified when this property changes. (Inherited from PropertyDescriptor.)
Public methodCanResetValueReturns whether resetting an object changes its value. (Overrides PropertyDescriptor.CanResetValue(Object).)
Protected methodCreateAttributeCollectionCreates a collection of attributes using the array of attributes passed to the constructor. (Inherited from MemberDescriptor.)
Protected methodCreateInstanceCreates an instance of the specified type. (Inherited from PropertyDescriptor.)
Public methodEqualsCompares this to another object to see if they are equivalent. (Inherited from PropertyDescriptor.)
Protected methodFillAttributesAdds the attributes of the PropertyDescriptor to the specified list of attributes in the parent class. (Inherited from PropertyDescriptor.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetChildProperties()Returns the default PropertyDescriptorCollection. (Inherited from PropertyDescriptor.)
Public methodGetChildProperties(Attribute[])Returns a PropertyDescriptorCollection using a specified array of attributes as a filter. (Inherited from PropertyDescriptor.)
Public methodGetChildProperties(Object)Returns a PropertyDescriptorCollection for a given object. (Inherited from PropertyDescriptor.)
Public methodGetChildProperties(Object, Attribute[])Returns a PropertyDescriptorCollection for a given object using a specified array of attributes as a filter. (Inherited from PropertyDescriptor.)
Public methodGetEditorGets an editor of the specified type. (Inherited from PropertyDescriptor.)
Public methodGetHashCodeReturns the hash code for this object. (Inherited from PropertyDescriptor.)
Protected methodGetInvocationTargetThis method returns the object that should be used during invocation of members. (Inherited from PropertyDescriptor.)
Protected methodGetTargetElementGets the strongly typed element given a component.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodGetTypeFromNameReturns a type using its name. (Inherited from PropertyDescriptor.)
Public methodGetValuegets the current value of the property on a component. (Overrides PropertyDescriptor.GetValue(Object).)
Protected methodGetValueChangedHandlerRetrieves the current set of ValueChanged event handlers for a specific component (Inherited from PropertyDescriptor.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnValueChangedRaises the ValueChanged event that you implemented. (Inherited from PropertyDescriptor.)
Public methodRemoveValueChangedEnables other objects to be notified when this property changes. (Inherited from PropertyDescriptor.)
Public methodResetValueResets the value for this property of the component to the default value. (Overrides PropertyDescriptor.ResetValue(Object).)
Public methodSetValueSets the value of the component to a different value. (Overrides PropertyDescriptor.SetValue(Object, Object).)
Public methodShouldSerializeValueDetermines whether the value of this property needs to be persisted. (Overrides PropertyDescriptor.ShouldSerializeValue(Object).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft