Partager via


SectionViewModel Members

Include Protected Members
Include Inherited Members

The SectionViewModel type exposes the following members.

Constructors

  Name Description
Ff670441.pubmethod(en-us,PandP.50).gif SectionViewModel Overloaded.

Methods

  Name Description
Ff670441.protmethod(en-us,PandP.50).gifFf670441.static(en-us,PandP.50).gif AddChildrenRelatedElements
Adds any related child elements to the specified element.
Ff670441.protmethod(en-us,PandP.50).gif AddChildToView
Adds an element to the ChildElements collection.
(Inherited from ElementViewModel.)
Ff670441.protmethod(en-us,PandP.50).gifFf670441.static(en-us,PandP.50).gif AddCollectionChildrenRelatedElement
Adds children of any child collections related this the specified element.
Ff670441.protmethod(en-us,PandP.50).gifFf670441.static(en-us,PandP.50).gif AddNonCollectionParentRelatedElement
Adds any elements related to the specified element that are not collection parents.
Ff670441.protmethod(en-us,PandP.50).gif AddReferredFromRelatedElements
Adds elements that visually refer to an element within the section.
Ff670441.protmethod(en-us,PandP.50).gifFf670441.static(en-us,PandP.50).gif AddReferredToRelatedElements
Adds elements that an element visually refers to in within the section.
Ff670441.pubmethod(en-us,PandP.50).gif AncestorElements
Gets all ancestors ElementViewModel for this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff670441.protmethod(en-us,PandP.50).gif BeforeSave
Invoked by Save(IDesignConfigurationSource) before a section is saved.
Ff670441.pubmethod(en-us,PandP.50).gif ChildElement
Retrieves a child element whose property name matches the specified property name.
(Inherited from ElementViewModel.)
Ff670441.protmethod(en-us,PandP.50).gif CreateBindable
Creates the element the view binds to. By default it is the element itself.
(Overrides ElementViewModel.CreateBindable().)
Ff670441.pubmethod(en-us,PandP.50).gif CreateChild
Creates a child ElementViewModel based on a PropertyDescriptor.
Ff670441.pubmethod(en-us,PandP.50).gif CreateCollectionElement
Ff670441.pubmethod(en-us,PandP.50).gif CreateCollectionElementAddCommand
Creates the collection element add command(s) for the given element type within the ElementCollectionViewModel.
Ff670441.pubmethod(en-us,PandP.50).gif CreateCommand<TCommandModel> Overloaded.
Ff670441.pubmethod(en-us,PandP.50).gif CreateCustomCommands Overloaded.
Ff670441.pubmethod(en-us,PandP.50).gif CreateDeleteCommand Overloaded.
Ff670441.pubmethod(en-us,PandP.50).gif CreateElement
Creates an ElementViewModel based on a PropertyDescriptor.
Ff670441.pubmethod(en-us,PandP.50).gif CreateElementCollection
Ff670441.pubmethod(en-us,PandP.50).gif CreateElementCollectionAddCommands
Creates the add command for an ElementCollectionViewModel.
Ff670441.pubmethod(en-us,PandP.50).gif CreateElementProperty
Creates an ElementProperty based on a PropertyDescriptor.
Ff670441.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.)
Ff670441.pubmethod(en-us,PandP.50).gif CreateProperty<TPropertyViewModel>
Creates a Property.
Ff670441.pubmethod(en-us,PandP.50).gif CreateProperty Overloaded.
Ff670441.protmethod(en-us,PandP.50).gif CreateReferenceElementProperty
Ff670441.pubmethod(en-us,PandP.50).gifFf670441.static(en-us,PandP.50).gif CreateSection
Ff670441.pubmethod(en-us,PandP.50).gif CreateValidatorInstance
Creates a new Validator based on a Type.
Ff670441.protmethod(en-us,PandP.50).gifFf670441.static(en-us,PandP.50).gif CreateViewModelInstance<T>
Creates a ViewModel instance from a container.
Ff670441.pubmethod(en-us,PandP.50).gif Delete
Deletes this element.
(Overrides ElementViewModel.Delete().)
Ff670441.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.)
Ff670441.pubmethod(en-us,PandP.50).gif DescendentElements Overloaded.
Ff670441.pubmethod(en-us,PandP.50).gif Dispose Overloaded.
Ff670441.pubmethod(en-us,PandP.50).gif ElementViewModelServiceDependencies
Injection Method used to supply additional dependencies to the ElementViewModel.
(Inherited from ElementViewModel.)
Ff670441.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.)
Ff670441.pubmethod(en-us,PandP.50).gif Equals (Inherited from Object.)
Ff670441.pubmethod(en-us,PandP.50).gif ExpandSection
Expands the section in the user-interface.
Ff670441.protmethod(en-us,PandP.50).gif Finalize (Inherited from Object.)
Ff670441.protmethod(en-us,PandP.50).gif GetAllChildElements
Gets all the ElementViewModel instances that are directly contained in this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff670441.protmethod(en-us,PandP.50).gif GetAllCommands
Creates or collections all the commands related to this ElementViewModel.
(Overrides ElementViewModel.GetAllCommands().)
Ff670441.protmethod(en-us,PandP.50).gif GetAllProperties
Gets all the Property(String) instances that are part of this ElementViewModel instance.
(Overrides ElementViewModel.GetAllProperties().)
Ff670441.pubmethod(en-us,PandP.50).gif GetHashCode (Inherited from Object.)
Ff670441.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().)
Ff670441.protmethod(en-us,PandP.50).gifFf670441.static(en-us,PandP.50).gif GetMetadataAttributesFromProperty
Determines attributes for a PropertyDescriptor.
Ff670441.protmethod(en-us,PandP.50).gif GetPromotedCommands
Gets any commands promoted by their child elements.
(Inherited from ElementViewModel.)
Ff670441.pubmethod(en-us,PandP.50).gif GetRelatedElements
Determines all the elements visually related to the provided ElementViewModel within this section.
Ff670441.pubmethod(en-us,PandP.50).gif GetType (Inherited from Object.)
Ff670441.protmethod(en-us,PandP.50).gif GetValidators
Retrieves the Validator items for this element.
(Inherited from ElementViewModel.)
Ff670441.pubmethod(en-us,PandP.50).gif Initialize
Initialization for this element during the Load(IDesignConfigurationSource) or AddSection(String, ConfigurationSection).
(Inherited from ElementViewModel.)
Ff670441.protmethod(en-us,PandP.50).gif MemberwiseClone (Inherited from Object.)
Ff670441.protmethod(en-us,PandP.50).gif OnDeleted
Invokes the Deleted event.
(Inherited from ElementViewModel.)
Ff670441.protmethod(en-us,PandP.50).gif OnDescendentElementsChanged
Raises the DescendentElementsChanged event.
(Inherited from ElementViewModel.)
Ff670441.protmethod(en-us,PandP.50).gif OnElementReferencesChanged
Invokes the ElementReferencesChanged event.
(Inherited from ElementViewModel.)
Ff670441.protmethod(en-us,PandP.50).gif OnPropertyChanged
Raises the PropertyChanged event.
(Inherited from ElementViewModel.)
Ff670441.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.)
Ff670441.protmethod(en-us,PandP.50).gif RemoveChildFromView
Removes an element from the ChildElements collection.
(Inherited from ElementViewModel.)
Ff670441.pubmethod(en-us,PandP.50).gif Save
Invoked so the section will save itself to the IDesignConfigurationSource.
Ff670441.pubmethod(en-us,PandP.50).gif Select
Makes this element the selected one on the IApplicationModel.
(Inherited from ElementViewModel.)
Ff670441.pubmethod(en-us,PandP.50).gif ToString (Inherited from Object.)
Ff670441.pubmethod(en-us,PandP.50).gif Validate
Validates this ElementViewModel and it's Properties.
(Inherited from ElementViewModel.)

Properties

  Name Description
Ff670441.pubproperty(en-us,PandP.50).gif AddCommands
Returns the sub-set of add CommandModel commands from Commands
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif Attributes
Gets the attributes that where supplied to this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff670441.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.)
Ff670441.pubproperty(en-us,PandP.50).gif ChildElements
Gets all ElementViewModel instances contained as direct child elements.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif Commands
The CommandModel command associated with this configuration element.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif ConfigurationElement
Gets the configuration element instance this ElementViewModel was created for.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif ConfigurationType
Gets the type of the configuration element this ElementViewModel was created for.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif ContainingSection
Gets the SectionViewModel that contains this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif CustomCommands
Returns the subset of custom CommandModel commands from Commands
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif DeclaringProperty
Gets the property on the containing configuration element, this ElementViewModel was created for.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif DeleteCommand
The delete CommandModel.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif ElementId
Gets a unique identifier for this element.
(Inherited from ElementViewModel.)
Ff670441.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.)
Ff670441.pubproperty(en-us,PandP.50).gif IsElementPathReliableXPath
Gets a value indicating that this Element's Path is reliable
(Overrides ElementViewModel.IsElementPathReliableXPath.)
Ff670441.pubproperty(en-us,PandP.50).gif IsExpanded
Gets or sets a value indicating if the section is expanded in the user-interface.
Ff670441.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.)
Ff670441.pubproperty(en-us,PandP.50).gif IsSelected
Gets or sets the value indicating this element is selected.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif Name
Gets the name of the ElementViewModel for use in the user-interface.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif NameProperty
Gets the property that provides the 'name' for the element.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif NamePropertyInternalValue
Gets the NameProperty internval value as a string representation.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif ParentElement
Gets the parent ElementViewModel for this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif Path
Gets a string that can be used to uniquely identify this ElementViewModel.
(Inherited from ElementViewModel.)
Ff670441.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.)
Ff670441.pubproperty(en-us,PandP.50).gif Properties
Gets all Property(String) instances for this ElementViewModel instance.
(Inherited from ElementViewModel.)
Ff670441.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.)
Ff670441.pubproperty(en-us,PandP.50).gif ProtectionProviderProperty
Gets the protection provider property.
Ff670441.pubproperty(en-us,PandP.50).gif RequirePermissionProperty
Gets the require permission property.
Ff670441.pubproperty(en-us,PandP.50).gif SectionName
Gets the name of this section.
Ff670441.pubproperty(en-us,PandP.50).gif TypePath
Gets the type path information for an ElementViewModel in the form ParentTypePath/ConfigurationElementType.
(Inherited from ElementViewModel.)
Ff670441.pubproperty(en-us,PandP.50).gif ValidationResults
The validation results for this ElementViewModel.
(Inherited from ElementViewModel.)

Events

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

See Also

SectionViewModel Class

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