ModelItem.Source Property

Definition

Gets the property that provided this value.

public:
 abstract property System::Activities::Presentation::Model::ModelProperty ^ Source { System::Activities::Presentation::Model::ModelProperty ^ get(); };
public abstract System.Activities.Presentation.Model.ModelProperty Source { get; }
member this.Source : System.Activities.Presentation.Model.ModelProperty
Public MustOverride ReadOnly Property Source As ModelProperty

Property Value

A ModelProperty that indicates the source of this value.

Remarks

If the item represents the root of the object graph, this will return null. If an item is a member of a collection or dictionary, the property returned from Source will be a pseudo-property provided by the collection or dictionary. For other values, the Source property returns the property where the value was actually set. Therefore, if a value is being inherited, Source allows you to find out who originally provided the value.

Applies to