Partager via


ElementViewModel.ContainingSection Property

Gets the SectionViewModel that contains this 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 ContainingSection As SectionViewModel
public SectionViewModel ContainingSection { get; }
public:
property SectionViewModel^ ContainingSection {
    SectionViewModel^ get ();
}
public function get ContainingSection () : SectionViewModel

See Also

ElementViewModel Class

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