ModelItem.Source Property
When overridden in a derived class, gets the property that provided this value.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property Source As ModelProperty
'Usage
Dim instance As ModelItem
Dim value As ModelProperty
value = instance.Source
public abstract ModelProperty Source { get; }
public:
virtual property ModelProperty^ Source {
ModelProperty^ get () abstract;
}
public abstract function get Source () : ModelProperty
Property Value
Type: Microsoft.Windows.Design.Model.ModelProperty
A ModelProperty that represents the source of this ModelItem.
Remarks
If the item represents the root of the object graph, this property returns nulla null reference (Nothing in Visual Basic). If an item is a member of a collection or a dictionary, the property returned from the Source property is 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 enables you to determine who originally provided the value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace