AttachedProperty Class

.NET Framework (current version)
 

Used in order to associate or attach additional information to the instance of an object.

Namespace:   System.Activities.Presentation.Model
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

System.Object
  System.Activities.Presentation.Model.AttachedProperty
    System.Activities.Presentation.Model.AttachedProperty(Of T)

Public MustInherit Class AttachedProperty

NameDescription
System_CAPS_protmethodAttachedProperty()

Initializes a new instance of the AttachedProperty class.

NameDescription
System_CAPS_pubpropertyIsBrowsable

Gets or sets a Boolean value that indicates whether the AttachedProperty is browsable.

System_CAPS_pubpropertyIsReadOnly

Gets a value that determines whether the attached property is read-only.

System_CAPS_pubpropertyName

Gets or sets the name of the property.

System_CAPS_pubpropertyOwnerType

Gets or sets the owner type.

System_CAPS_pubpropertyType

Gets the type.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetValue(ModelItem)

Retrieves the value of the specified model item.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodNotifyPropertyChanged(ModelItem)

Creates a notification that indicates that the specified model item has changed.

System_CAPS_pubmethodResetValue(ModelItem)

Resets the specified model item to the default value.

System_CAPS_pubmethodSetValue(ModelItem, Object)

Sets the specified model item to the specified value.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

This is used by the Windows Workflow Designer in order to keep track of interesting pieces of data during an editing session for data that is otherwise transient, that will (mostly) be discarded at the end of an editing session. AttachedProperty is useful as items in the View can bind to the values and react to changes. For instance, this is the way that the selected item template is displayed (it keys off of an attached property for selection).

.NET Framework
Available since 4.0

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

Return to top
Show: