Compartir a través de


ElementViewModel Class

The ElementViewModel provides a description of a ConfigurationElement displayed in the Enterprise Library Configuration Design tool.

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

Syntax

'Declaration
Public Class ElementViewModel _
    Inherits ViewModel _
    Implements INotifyPropertyChanged, IEnvironmentalOverridesElement
public class ElementViewModel : ViewModel, 
    INotifyPropertyChanged, IEnvironmentalOverridesElement
public ref class ElementViewModel : public ViewModel, 
    INotifyPropertyChanged, IEnvironmentalOverridesElement
public class ElementViewModel extends ViewModel implements INotifyPropertyChanged, IEnvironmentalOverridesElement

Remarks

The ElementViewModel collects metadata about a ConfigurationElement using reflection and additional Attribute values provided during construction.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.ViewModel
    Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.ElementViewModel
      Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.CollectionElementViewModel
      Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.CustomAttributesPropertyExtender
      Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.ElementCollectionViewModel
      Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.SectionViewModel

See Also

ElementViewModel Members

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