Share via


ElementReference.Element Property

Gets the referred ElementViewModel instance.

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

Syntax

'Declaration
Public ReadOnly Property Element As ElementViewModel
public ElementViewModel Element { get; }
public:
property ElementViewModel^ Element {
    ElementViewModel^ get ();
}
public function get Element () : ElementViewModel

Field Value

If the referred ElementViewModel instance is available, returns the referred element.
Otherwise returns nulla null reference (Nothing in Visual Basic).

See Also

ElementReference Class

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