Share via


ElementReference Class

The ElementReference represents a reference to a ElementViewModel instance.
The referred element will resolve once it becomes available in the ElementLookup.
Once the referred element is resolved, a ElementFound event is triggered.
An instance of ElementReference provides basic facilities to keep track of changes to the referred element.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public MustInherit Class ElementReference _
    Implements IDisposable
public abstract class ElementReference : IDisposable
public ref class ElementReference abstract : IDisposable
public abstract class ElementReference implements IDisposable

Remarks

Instances of ElementReference can be created by calling the CreateReference(String) or CreateReference(String, Type, String) method.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.ElementReference

See Also

ElementReference Members

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace

ElementLookup.CreateReference(String)

ElementLookup.CreateReference(String, Type, String)