Jaa


TypePickingCollectionElementAddCommand Members

Include Protected Members
Include Inherited Members

The TypePickingCollectionElementAddCommand type exposes the following members.

Constructors

  Name Description
Ff665901.pubmethod(en-us,PandP.50).gif TypePickingCollectionElementAddCommand
Initializes a new TypePickingCollectionElementAddCommand for a NamedConfigurationElement type and containing ElementCollectionViewModel. If no property to set is explicitly defined, it will default to the TypeName property, following the pattern for setting Type information for many ConfigurationElements in Enterprise Library.

Methods

  Name Description
Ff665901.protmethod(en-us,PandP.50).gif AfterSelectType
When overridden in a child class, provides the opportunity to determine if the element should be added to the collection.
Ff665901.pubmethod(en-us,PandP.50).gif CanExecute
Defines the method that determines whether the command can execute in its current state.
(Inherited from CommandModel.)
Ff665901.pubmethod(en-us,PandP.50).gif DefaultCollectionElementAddCommandInitialization
Additional initialization dependencies for DefaultCollectionElementAddCommand.
(Inherited from DefaultCollectionElementAddCommand.)
Ff665901.pubmethod(en-us,PandP.50).gif Dispose Overloaded.
Ff665901.pubmethod(en-us,PandP.50).gif Equals (Inherited from Object.)
Ff665901.pubmethod(en-us,PandP.50).gif Execute
Defines the method to be called when the command is invoked.
(Inherited from CommandModel.)
Ff665901.protmethod(en-us,PandP.50).gif Finalize (Inherited from Object.)
Ff665901.pubmethod(en-us,PandP.50).gif GetHashCode (Inherited from Object.)
Ff665901.protmethod(en-us,PandP.50).gif GetSelectedType
Retrieves and returns the selected type from the user.
Ff665901.pubmethod(en-us,PandP.50).gif GetType (Inherited from Object.)
Ff665901.protmethod(en-us,PandP.50).gif InnerCanExecute
When implemented by a child, determines if the command can execute.
(Inherited from DefaultCollectionElementAddCommand.)
Ff665901.protmethod(en-us,PandP.50).gif InnerExecute
Adds a new child element to ElementCollectionModel.
(Overrides DefaultCollectionElementAddCommand.InnerExecute(Object).)
Ff665901.protmethod(en-us,PandP.50).gif MemberwiseClone (Inherited from Object.)
Ff665901.pubmethod(en-us,PandP.50).gif OnCanExecuteChanged
Invokes the CanExecuteChanged event.
(Inherited from CommandModel.)
Ff665901.protmethod(en-us,PandP.50).gif OnPropertyChanged
Invokes the PropertyChanged event for this class
(Inherited from CommandModel.)
Ff665901.protmethod(en-us,PandP.50).gif SetProperties
Sets properties on the newly minted ElementViewModel.
Ff665901.pubmethod(en-us,PandP.50).gif ToString (Inherited from Object.)

Properties

  Name Description
Ff665901.pubproperty(en-us,PandP.50).gif AddedElementViewModel
The added element view model created during execution of the command.
(Inherited from DefaultCollectionElementAddCommand.)
Ff665901.pubproperty(en-us,PandP.50).gif Browsable
(Inherited from CommandModel.)
Ff665901.pubproperty(en-us,PandP.50).gif ChildCommands
Child CommandModel commands to this command.
(Inherited from CommandModel.)
Ff665901.pubproperty(en-us,PandP.50).gif ConfigurationElementType
Gets the ConfigurationElementType being added to the collection.
(Inherited from DefaultCollectionElementAddCommand.)
Ff665901.pubproperty(en-us,PandP.50).gif CreatedElementType
Gets or sets the value of the element type to create during execute.
Ff665901.protproperty(en-us,PandP.50).gif ElementCollectionModel
Gets the collection where the new element will be added.
(Inherited from DefaultCollectionElementAddCommand.)
Ff665901.pubproperty(en-us,PandP.50).gif HelpText
The command's related help text.
(Inherited from DefaultCollectionElementAddCommand.)
Ff665901.pubproperty(en-us,PandP.50).gif KeyGesture
Defines the key gesture used for this command.
(Inherited from CommandModel.)
Ff665901.pubproperty(en-us,PandP.50).gif Placement
The logical placement of the command.
(Inherited from DefaultCollectionElementAddCommand.)
Ff665901.pubproperty(en-us,PandP.50).gif Title
Provides the title of the CommandModel command. Typically this will appear as the title to a menu in the configuration tool.
(Inherited from DefaultCollectionElementAddCommand.)
Ff665901.protproperty(en-us,PandP.50).gif UIService
Service for displaying messages and dialogs to the user.
(Inherited from CommandModel.)

Events

  Name Description
Ff665901.pubevent(en-us,PandP.50).gif CanExecuteChanged
Occurs when changes occur that affect whether or not the command should execute.
(Inherited from CommandModel.)
Ff665901.pubevent(en-us,PandP.50).gif PropertyChanged
Occurs when a property value changes.
(Inherited from CommandModel.)

Explicit Interface Implementations

  Name Description
Ff665901.pubinterface(en-us,PandP.50).gifFf665901.privmethod(en-us,PandP.50).gif IServiceProvider.GetService

See Also

TypePickingCollectionElementAddCommand Class

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