Share via


PropertyExtension<TTargetElementType> Class

 

Abstract base class for Property Extensions.

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

Inheritance Hierarchy

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

Syntax

public abstract class PropertyExtension<TTargetElementType> : PropertyDescriptor, 
    IPropertyExtension
where TTargetElementType : class, ILayerElement
generic<typename TTargetElementType>
where TTargetElementType : ref class, ILayerElement
public ref class PropertyExtension abstract : PropertyDescriptor, 
    IPropertyExtension
[<AbstractClass>]
type PropertyExtension<'TTargetElementType when 'TTargetElementType : not struct and ILayerElement> = 
    class
        inherit PropertyDescriptor
        interface IPropertyExtension
    end
Public MustInherit Class PropertyExtension(Of TTargetElementType As { Class, ILayerElement })
    Inherits PropertyDescriptor
    Implements IPropertyExtension

Type Parameters

Constructors

Name Description
System_CAPS_protmethod PropertyExtension<TTargetElementType>(String)

Constructor for Property Extension

Properties

Name Description
System_CAPS_protproperty AttributeArray

(Inherited from MemberDescriptor.)

System_CAPS_pubproperty Attributes

(Inherited from MemberDescriptor.)

System_CAPS_pubproperty Category

Gets the localized name of the category to display in the Property window (default = 'Validate Architecture').(Overrides MemberDescriptor.Category.)

System_CAPS_pubproperty ComponentType

The type of the component this property is bound to.(Overrides PropertyDescriptor.ComponentType.)

System_CAPS_pubproperty Converter

(Inherited from PropertyDescriptor.)

System_CAPS_pubproperty Description

(Inherited from MemberDescriptor.)

System_CAPS_pubproperty DesignTimeOnly

(Inherited from MemberDescriptor.)

System_CAPS_pubproperty DisplayName

Gets the localized name that can be displayed in the Property window (default = this.Name).(Overrides MemberDescriptor.DisplayName.)

System_CAPS_pubproperty IsBrowsable

(Inherited from MemberDescriptor.)

System_CAPS_pubproperty IsLocalizable

(Inherited from PropertyDescriptor.)

System_CAPS_pubproperty IsReadOnly

Gets a value indicating whether this property is read-only (default is false).(Overrides PropertyDescriptor.IsReadOnly.)

System_CAPS_pubproperty Name

(Inherited from MemberDescriptor.)

System_CAPS_protproperty NameHashCode

(Inherited from MemberDescriptor.)

System_CAPS_pubproperty PropertyType

Gets the type of the property (default is typeof(string)).(Overrides PropertyDescriptor.PropertyType.)

System_CAPS_pubproperty SerializationVisibility

(Inherited from PropertyDescriptor.)

System_CAPS_pubproperty SupportsChangeEvents

(Inherited from PropertyDescriptor.)

Methods

Name Description
System_CAPS_pubmethod AddValueChanged(Object, EventHandler)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethod CanResetValue(Object)

Returns whether resetting an object changes its value.(Overrides PropertyDescriptor.CanResetValue(Object).)

System_CAPS_protmethod CreateAttributeCollection()

(Inherited from MemberDescriptor.)

System_CAPS_protmethod CreateInstance(Type)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethod Equals(Object)

(Inherited from PropertyDescriptor.)

System_CAPS_protmethod FillAttributes(IList)

(Inherited from PropertyDescriptor.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetChildProperties()

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethod GetChildProperties(Attribute[])

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethod GetChildProperties(Object)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethod GetChildProperties(Object, Attribute[])

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethod GetEditor(Type)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethod GetHashCode()

(Inherited from PropertyDescriptor.)

System_CAPS_protmethod GetInvocationTarget(Type, Object)

(Inherited from PropertyDescriptor.)

System_CAPS_protmethod GetTargetElement(Object)

Gets the strongly typed element given a component.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod GetTypeFromName(String)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethod GetValue(Object)

gets the current value of the property on a component.(Overrides PropertyDescriptor.GetValue(Object).)

System_CAPS_protmethod GetValueChangedHandler(Object)

(Inherited from PropertyDescriptor.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OnValueChanged(Object, EventArgs)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethod RemoveValueChanged(Object, EventHandler)

(Inherited from PropertyDescriptor.)

System_CAPS_pubmethod ResetValue(Object)

Resets the value for this property of the component to the default value.(Overrides PropertyDescriptor.ResetValue(Object).)

System_CAPS_pubmethod SetValue(Object, Object)

Sets the value of the component to a different value.(Overrides PropertyDescriptor.SetValue(Object, Object).)

System_CAPS_pubmethod ShouldSerializeValue(Object)

Determines whether the value of this property needs to be persisted.(Overrides PropertyDescriptor.ShouldSerializeValue(Object).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IPropertyExtension.GetPropertyDescriptor()

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace

Return to top