Jaa


ElementCollectionViewModel Members

Include Protected Members
Include Inherited Members

The ElementCollectionViewModel type exposes the following members.

Constructors

  Name Description
Ff668285.pubmethod(en-us,PandP.50).gif ElementCollectionViewModel
Initializes a new instance of ElementCollectionViewModel

Methods

  Name Description
Ff668285.protmethod(en-us,PandP.50).gif AddChildToView
Adds an element to the ChildElements collection.
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif AddNewCollectionElement
Adds a new item of type elementType to the collection.
Ff668285.pubmethod(en-us,PandP.50).gif AncestorElements
Gets all ancestors ElementViewModel for this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif ChildElement
Retrieves a child element whose property name matches the specified property name.
(Inherited from ElementViewModel.)
Ff668285.protmethod(en-us,PandP.50).gif CreateBindable
Creates the element the view binds to. By default it is the element itself.
(Inherited from ElementViewModel.)
Ff668285.protmethod(en-us,PandP.50).gif CreateCustomCommands
Creates any custom commands for this element based on it's Attributes.
(Inherited from ElementViewModel.)
Ff668285.protmethod(en-us,PandP.50).gif CreateDeleteCommand
Creates a delete CommandModel for this element based on it's Attributes.
(Inherited from ElementViewModel.)
Ff668285.protmethod(en-us,PandP.50).gif CreateOtherCommands
Creates commands other than Add, Delete, or custom command specified via attribute, for this element.
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif Delete Overloaded.
Ff668285.pubmethod(en-us,PandP.50).gif DescendentConfigurationsOfType<T>
Returns all descending ElementViewModel instances relative to this ElementViewModel whose ConfigurationType is assignable to T.
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif DescendentElements Overloaded.
Ff668285.pubmethod(en-us,PandP.50).gif Dispose Overloaded.
Ff668285.pubmethod(en-us,PandP.50).gif ElementCollectionViewModelServiceDependencies
Provides dependencies for ElementCollectionViewModel not provided via the constructor.
Ff668285.pubmethod(en-us,PandP.50).gif ElementViewModelServiceDependencies
Injection Method used to supply additional dependencies to the ElementViewModel.
(Inherited from ElementViewModel.)
Ff668285.protmethod(en-us,PandP.50).gif EnsureHasChildElements
Ensures that that the children of this element have been discovered and populated for ChildElements.
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif Equals (Inherited from Object.)
Ff668285.protmethod(en-us,PandP.50).gif Finalize (Inherited from Object.)
Ff668285.pubmethod(en-us,PandP.50).gif FindUniqueNewName
Calculates a unique name based on the items in the collection.
Ff668285.protmethod(en-us,PandP.50).gif GetAllChildElements
Gets all the ElementViewModel instances that are directly contained in this ElementViewModel instance.
(Overrides ElementViewModel.GetAllChildElements().)
Ff668285.protmethod(en-us,PandP.50).gif GetAllCommands
Creates or collections all the commands related to this ElementViewModel.
(Overrides ElementViewModel.GetAllCommands().)
Ff668285.protmethod(en-us,PandP.50).gif GetAllProperties
Gets all the Property(String) instances that are part of this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif GetHashCode (Inherited from Object.)
Ff668285.protmethod(en-us,PandP.50).gif GetLocalPathPart
Gets a string that can be appended to the parent's Path to compose a Path used to uniquely identify this ElementViewModel.
(Overrides ElementViewModel.GetLocalPathPart().)
Ff668285.protmethod(en-us,PandP.50).gif GetPromotedCommands
Gets any commands promoted by their child elements.
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif GetType (Inherited from Object.)
Ff668285.protmethod(en-us,PandP.50).gif GetValidators
Retrieves the Validator items for this element.
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif Initialize
Initialization for this element during the Load(IDesignConfigurationSource) or AddSection(String, ConfigurationSection).
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif IsFirst
Determines if a CollectionElementViewModel is the first element in the collection.
Ff668285.pubmethod(en-us,PandP.50).gif IsLast
Determines if a CollectionElementViewModel is the last element in the collection.
Ff668285.protmethod(en-us,PandP.50).gif MemberwiseClone (Inherited from Object.)
Ff668285.pubmethod(en-us,PandP.50).gif MoveDown
Moves a CollectionElementViewModel in this collection one position later in the ChildElements sequence.
Ff668285.pubmethod(en-us,PandP.50).gif MoveUp
Moves a CollectionElementViewModel in this collection one position earlier in the ChildElements sequence.
Ff668285.protmethod(en-us,PandP.50).gif OnDeleted
Invokes the Deleted event.
(Inherited from ElementViewModel.)
Ff668285.protmethod(en-us,PandP.50).gif OnDescendentElementsChanged
Raises the DescendentElementsChanged event.
(Inherited from ElementViewModel.)
Ff668285.protmethod(en-us,PandP.50).gif OnElementReferencesChanged
Invokes the ElementReferencesChanged event.
(Inherited from ElementViewModel.)
Ff668285.protmethod(en-us,PandP.50).gif OnPropertyChanged
Raises the PropertyChanged event.
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif Property
Gets the Property(String) with the specified propertyName.
If the property cannot be found, returns nulla null reference (Nothing in Visual Basic).
(Inherited from ElementViewModel.)
Ff668285.protmethod(en-us,PandP.50).gif RemoveChildFromView
Removes an element from the ChildElements collection.
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif Select
Makes this element the selected one on the IApplicationModel.
(Inherited from ElementViewModel.)
Ff668285.pubmethod(en-us,PandP.50).gif ToString (Inherited from Object.)
Ff668285.pubmethod(en-us,PandP.50).gif Validate
Validates this ElementViewModel and its Properties.
(Overrides ElementViewModel.Validate().)

Properties

  Name Description
Ff668285.pubproperty(en-us,PandP.50).gif AddCommands
Returns the sub-set of add CommandModel commands from Commands
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif Attributes
Gets the attributes that where supplied to this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif Bindable
Gets the element the view should bind to. By default it is the element itself.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif ChildElements
Gets all ElementViewModel instances contained as direct child elements.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif CollectionElementType
The configuration element Types contained by this collection.
Ff668285.pubproperty(en-us,PandP.50).gif Commands
The CommandModel command associated with this configuration element.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif ConfigurationElement
Gets the configuration element instance this ElementViewModel was created for.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif ConfigurationType
Gets the type of the configuration element this ElementViewModel was created for.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif ContainingSection
Gets the SectionViewModel that contains this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif CustomCommands
Returns the subset of custom CommandModel commands from Commands
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif DeclaringProperty
Gets the property on the containing configuration element, this ElementViewModel was created for.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif DeleteCommand
The delete CommandModel.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif ElementId
Gets a unique identifier for this element.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif InheritedFromParentConfiguration
Gets or sets a value indicating that this configuratio was inherited from a parent configuration (such as machine.config).
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif IsElementPathReliableXPath
Gets a value indicating that this Element's Path is reliable
(Overrides ElementViewModel.IsElementPathReliableXPath.)
Ff668285.pubproperty(en-us,PandP.50).gif IsNull
Gets a value indicating that the underlying ConfigurationElement is nulla null reference (Nothing in Visual Basic)
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif IsPolymorphicCollection
Gets or sets a value indicating if this collection contains polymorphic items.
Ff668285.pubproperty(en-us,PandP.50).gif IsSelected
Gets or sets the value indicating this element is selected.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif Name
Gets the name of the ElementViewModel for use in the user-interface.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif NameProperty
Gets the property that provides the 'name' for the element.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif NamePropertyInternalValue
Gets the NameProperty internval value as a string representation.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif ParentElement
Gets the parent ElementViewModel for this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif Path
Gets a string that can be used to uniquely identify this ElementViewModel.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif PolymorphicCollectionElementTypes
Returns the set of polymorphic collection element types this collection can hold.
Ff668285.pubproperty(en-us,PandP.50).gif PromoteCommands
Gets a boolean that indicates whether this ElementViewModel's add commands should be promoted to its parent ElementViewModel.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif Properties
Gets all Property(String) instances for this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif PropertiesShown
Gets or sets the value indicating if this element's Properties are shown in the view.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif TypePath
Gets the type path information for an ElementViewModel in the form ParentTypePath/ConfigurationElementType.
(Inherited from ElementViewModel.)
Ff668285.pubproperty(en-us,PandP.50).gif ValidationResults
The validation results for this ElementViewModel.
(Inherited from ElementViewModel.)

Events

  Name Description
Ff668285.pubevent(en-us,PandP.50).gif ChildElementsCollectionChange
Invoked when this element's ChildElements collection is changed.
(Inherited from ElementViewModel.)
Ff668285.pubevent(en-us,PandP.50).gif Deleted
Raised when this element is deleted.
(Inherited from ElementViewModel.)
Ff668285.pubevent(en-us,PandP.50).gif DescendentElementsChanged
Raised when DescendentElements() change.
(Inherited from ElementViewModel.)
Ff668285.pubevent(en-us,PandP.50).gif ElementReferencesChanged
Raised when elements visually related to this element change.
(Inherited from ElementViewModel.)
Ff668285.pubevent(en-us,PandP.50).gif PropertyChanged
Occurs when a property value changes.
(Inherited from ElementViewModel.)

See Also

ElementCollectionViewModel Class

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