CollectionElementViewModel Members
Include Protected Members
Include Inherited Members
The CollectionElementViewModel type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CollectionElementViewModel | Overloaded. |
Methods
Name | Description | |
---|---|---|
AddChildToView |
Adds an element to the ChildElements collection.
(Inherited from ElementViewModel.) |
|
AncestorElements |
Gets all ancestors ElementViewModel for this ElementViewModel instance.
(Inherited from ElementViewModel.) |
|
ChildElement |
Retrieves a child element whose property name matches the specified property name.
(Inherited from ElementViewModel.) |
|
CreateBindable |
Creates the element the view binds to. By default it is the element itself.
(Inherited from ElementViewModel.) |
|
CreateCustomCommands |
Creates any custom commands for this element based on it's Attributes.
(Inherited from ElementViewModel.) |
|
CreateDeleteCommand |
Creates a delete CommandModel for this element based on it's Attributes.
(Inherited from ElementViewModel.) |
|
CreateOtherCommands |
Creates commands other than Add, Delete, or custom command specified via attribute, for this element.
(Inherited from ElementViewModel.) |
|
Delete |
Deletes this element.
(Overrides ElementViewModel.Delete().) |
|
DescendentConfigurationsOfType<T> |
Returns all descending ElementViewModel instances relative to this ElementViewModel whose ConfigurationType is assignable to T.
(Inherited from ElementViewModel.) |
|
DescendentElements | Overloaded. | |
Dispose | Overloaded. | |
ElementViewModelServiceDependencies |
Injection Method used to supply additional dependencies to the ElementViewModel.
(Inherited from ElementViewModel.) |
|
EnsureHasChildElements |
Ensures that that the children of this element have been discovered and populated for ChildElements.
(Inherited from ElementViewModel.) |
|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetAllChildElements |
Gets all the ElementViewModel instances that are directly contained in this ElementViewModel instance.
(Inherited from ElementViewModel.) |
|
GetAllCommands |
Creates or collections all the commands related to this ElementViewModel.
(Overrides ElementViewModel.GetAllCommands().) |
|
GetAllProperties |
Gets all the Property(String) instances that are part of this ElementViewModel instance.
(Inherited from ElementViewModel.) |
|
GetHashCode | (Inherited from Object.) | |
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().) |
|
GetPromotedCommands |
Gets any commands promoted by their child elements.
(Inherited from ElementViewModel.) |
|
GetType | (Inherited from Object.) | |
GetValidators |
Retrieves the Validator items for this element.
(Inherited from ElementViewModel.) |
|
Initialize |
Initialization for this element during the Load(IDesignConfigurationSource) or AddSection(String, ConfigurationSection).
(Inherited from ElementViewModel.) |
|
MemberwiseClone | (Inherited from Object.) | |
OnDeleted |
Invokes the Deleted event.
(Inherited from ElementViewModel.) |
|
OnDescendentElementsChanged |
Raises the DescendentElementsChanged event.
(Inherited from ElementViewModel.) |
|
OnElementReferencesChanged |
Invokes the ElementReferencesChanged event.
(Inherited from ElementViewModel.) |
|
OnPropertyChanged |
Raises the PropertyChanged event.
(Inherited from ElementViewModel.) |
|
Property |
Gets the Property(String) with the specified propertyName.
(Inherited from ElementViewModel.)If the property cannot be found, returns nulla null reference (Nothing in Visual Basic). |
|
RemoveChildFromView |
Removes an element from the ChildElements collection.
(Inherited from ElementViewModel.) |
|
Select |
Makes this element the selected one on the IApplicationModel.
(Inherited from ElementViewModel.) |
|
ToString | (Inherited from Object.) | |
Validate |
Validates this ElementViewModel and it's Properties.
(Inherited from ElementViewModel.) |
Properties
Name | Description | |
---|---|---|
AddCommands |
Returns the sub-set of add CommandModel commands from Commands
(Inherited from ElementViewModel.) |
|
Attributes |
Gets the attributes that where supplied to this ElementViewModel instance.
(Inherited from ElementViewModel.) |
|
Bindable |
Gets the element the view should bind to. By default it is the element itself.
(Inherited from ElementViewModel.) |
|
ChildElements |
Gets all ElementViewModel instances contained as direct child elements.
(Inherited from ElementViewModel.) |
|
Commands |
The CommandModel command associated with this configuration element.
(Inherited from ElementViewModel.) |
|
ConfigurationElement |
Gets the configuration element instance this ElementViewModel was created for.
(Inherited from ElementViewModel.) |
|
ConfigurationType |
Gets the type of the configuration element this ElementViewModel was created for.
(Inherited from ElementViewModel.) |
|
ContainingSection |
Gets the SectionViewModel that contains this ElementViewModel instance.
(Inherited from ElementViewModel.) |
|
CustomCommands |
Returns the subset of custom CommandModel commands from Commands
(Inherited from ElementViewModel.) |
|
DeclaringProperty |
Gets the property on the containing configuration element, this ElementViewModel was created for.
(Inherited from ElementViewModel.) |
|
DeleteCommand |
The delete CommandModel.
(Inherited from ElementViewModel.) |
|
ElementId |
Gets a unique identifier for this element.
(Inherited from ElementViewModel.) |
|
InheritedFromParentConfiguration |
Gets or sets a value indicating that this configuratio was inherited from a parent configuration (such as machine.config).
(Inherited from ElementViewModel.) |
|
IsElementPathReliableXPath |
Gets a value indicating that this Element's Path is reliable
(Overrides ElementViewModel.IsElementPathReliableXPath.) |
|
IsNull |
Gets a value indicating that the underlying ConfigurationElement is nulla null reference (Nothing in Visual Basic)
(Inherited from ElementViewModel.) |
|
IsSelected |
Gets or sets the value indicating this element is selected.
(Inherited from ElementViewModel.) |
|
MoveDown |
Gets or sets the CommandModel to move this element logically down in the collection.
|
|
MoveUp |
Gets or sets the CommandModel to move this element logically up in the collection.
|
|
Name |
Gets the name of the ElementViewModel for use in the user-interface.
(Inherited from ElementViewModel.) |
|
NameProperty |
Gets the property that provides the 'name' for the element.
(Inherited from ElementViewModel.) |
|
NamePropertyInternalValue |
Gets the NameProperty internval value as a string representation.
(Inherited from ElementViewModel.) |
|
ParentElement |
Gets the parent ElementViewModel for this ElementViewModel instance.
(Inherited from ElementViewModel.) |
|
Path |
Gets a string that can be used to uniquely identify this ElementViewModel.
(Inherited from ElementViewModel.) |
|
PromoteCommands |
Gets a boolean that indicates whether this ElementViewModel's add commands should be promoted to its parent ElementViewModel.
(Inherited from ElementViewModel.) |
|
Properties |
Gets all Property(String) instances for this ElementViewModel instance.
(Inherited from ElementViewModel.) |
|
PropertiesShown |
Gets or sets the value indicating if this element's Properties are shown in the view.
(Inherited from ElementViewModel.) |
|
TypePath |
Gets the type path information for an ElementViewModel in the form ParentTypePath/ConfigurationElementType.
(Inherited from ElementViewModel.) |
|
ValidationResults |
The validation results for this ElementViewModel.
(Inherited from ElementViewModel.) |
Events
Name | Description | |
---|---|---|
ChildElementsCollectionChange |
Invoked when this element's ChildElements collection is changed.
(Inherited from ElementViewModel.) |
|
Deleted |
Raised when this element is deleted.
(Inherited from ElementViewModel.) |
|
DescendentElementsChanged |
Raised when DescendentElements() change.
(Inherited from ElementViewModel.) |
|
ElementReferencesChanged |
Raised when elements visually related to this element change.
(Inherited from ElementViewModel.) |
|
PropertyChanged |
Occurs when a property value changes.
(Inherited from ElementViewModel.) |
See Also
CollectionElementViewModel Class
Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace