TypePickingCollectionElementAddCommand Members
Include Protected Members
Include Inherited Members
The TypePickingCollectionElementAddCommand type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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 | |
---|---|---|
AfterSelectType |
When overridden in a child class, provides the opportunity to determine if the element should be added to the collection.
|
|
CanExecute |
Defines the method that determines whether the command can execute in its current state.
(Inherited from CommandModel.) |
|
DefaultCollectionElementAddCommandInitialization |
Additional initialization dependencies for DefaultCollectionElementAddCommand.
(Inherited from DefaultCollectionElementAddCommand.) |
|
Dispose | Overloaded. | |
Equals | (Inherited from Object.) | |
Execute |
Defines the method to be called when the command is invoked.
(Inherited from CommandModel.) |
|
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetSelectedType |
Retrieves and returns the selected type from the user.
|
|
GetType | (Inherited from Object.) | |
InnerCanExecute |
When implemented by a child, determines if the command can execute.
(Inherited from DefaultCollectionElementAddCommand.) |
|
InnerExecute |
Adds a new child element to ElementCollectionModel.
(Overrides DefaultCollectionElementAddCommand.InnerExecute(Object).) |
|
MemberwiseClone | (Inherited from Object.) | |
OnCanExecuteChanged |
Invokes the CanExecuteChanged event.
(Inherited from CommandModel.) |
|
OnPropertyChanged |
Invokes the PropertyChanged event for this class
(Inherited from CommandModel.) |
|
SetProperties |
Sets properties on the newly minted ElementViewModel.
|
|
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
AddedElementViewModel |
The added element view model created during execution of the command.
(Inherited from DefaultCollectionElementAddCommand.) |
|
Browsable | ||
ChildCommands |
Child CommandModel commands to this command.
(Inherited from CommandModel.) |
|
ConfigurationElementType |
Gets the ConfigurationElementType being added to the collection.
(Inherited from DefaultCollectionElementAddCommand.) |
|
CreatedElementType |
Gets or sets the value of the element type to create during execute.
|
|
ElementCollectionModel |
Gets the collection where the new element will be added.
(Inherited from DefaultCollectionElementAddCommand.) |
|
HelpText |
The command's related help text.
(Inherited from DefaultCollectionElementAddCommand.) |
|
KeyGesture |
Defines the key gesture used for this command.
(Inherited from CommandModel.) |
|
Placement |
The logical placement of the command.
(Inherited from DefaultCollectionElementAddCommand.) |
|
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.) |
|
UIService |
Service for displaying messages and dialogs to the user.
(Inherited from CommandModel.) |
Events
Name | Description | |
---|---|---|
CanExecuteChanged |
Occurs when changes occur that affect whether or not the command should execute.
(Inherited from CommandModel.) |
|
PropertyChanged |
Occurs when a property value changes.
(Inherited from CommandModel.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IServiceProvider.GetService |
See Also
TypePickingCollectionElementAddCommand Class
Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace