ParameterEditorViewModel Class |
Namespace: WeroSoft.Triton.Desktop.Controls
public class ParameterEditorViewModel : CultureSupportingViewModel, IDataGridViewModel<DataGridViewModel<KeyValueParameterViewModel>>
The ParameterEditorViewModel type exposes the following members.
Name | Description | |
---|---|---|
ParameterEditorViewModel |
Initializes an instance of the type ParameterEditorViewModel.
| |
ParameterEditorViewModel(Boolean, Boolean, Boolean) |
Initializes an instance of the type ParameterEditorViewModel defining the user rights.
|
Name | Description | |
---|---|---|
AddParameterCommand |
Gets the command to add parameters.
| |
ApplyChangesCommand |
Gets the command to apply the changes of a parameter.
| |
CancelChangesCommand |
Gets the command to discard the changes of the parameter.
| |
CanCreate |
Gets or sets whether the user has right to create the data.
| |
CanDelete |
Gets or sets whether the user has right to delete the data.
| |
CanUpdate |
Gets or sets whether the user has right to edit the data.
| |
DataGridViewModel |
The data of the view model.
| |
DeleteParameterCommand |
Gets the command to delete parameters.
| |
IsEditEnabled |
Gets and sets whether editing of the parameters is enabled.
| |
IsModified |
Gets or sets whether the view model is modified or not.
(Overrides ViewModelBaseIsModified.) | |
IsReadOnly |
Gets or sets the flag indicating whether the object is read-only.
(Inherited from ViewModelBase.) | |
IsSaved |
Gets whether the edited data have been saved.
| |
KeyColumnWidthPercentage |
Gets or sets the width of the columns with the Key as percentage of the whole width of the dialog.
| |
KeyValueParameterViewModel |
Gets and set the view model of the parameter to add or modify.
| |
Label |
Gets or sets the label of the list.
| |
ModelCascadingCollectionChangedEventObjects |
Gets a list of cascaded events for collection changed.
(Inherited from ViewModelBase.) | |
ModelCascadingEventObjects |
Gets a list of cascaded event objects.
(Inherited from ViewModelBase.) | |
MoveDownCommand |
Gets the command to move down the selected parameter of the list.
| |
MoveUpCommand |
Gets the command to move down the selected parameter of the list.
| |
Parameters |
Gets or sets the parameters as Dictionary.
| |
ShowValidationResults |
Gets or sets how the validation results of the parameter are to be shown.
| |
Sorted |
Gets or sets whether the list is sorted.
|
Name | Description | |
---|---|---|
CultureChanged |
Called if the culture has been changed.
(Inherited from CultureSupportingViewModel.) | |
DataValidate |
Validate the edited parameter.
| |
Dispose |
Disposes the object.
(Inherited from CultureSupportingViewModel.) | |
Dispose(Boolean) |
Disposes the object.
(Inherited from CultureSupportingViewModel.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPropertyValueT |
Gets the value of a particular property.
(Inherited from ViewModelBase.) | |
GetResourceValueT |
Gets the value of a particular property.
(Inherited from CultureSupportingViewModel.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyAllRegisteredProperties |
Notify all registered properties in the property collection.
(Inherited from CultureSupportingViewModel.) | |
OnPropertyChanged |
Raises the event PropertyChanged.
(Inherited from NotifyPropertyChanged.) | |
SetPropertyValue |
Sets the value of a particular property.
(Inherited from ViewModelBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Validate |
Validate the edited parameter and fire an event if it fails.
The errors are shown in the message area if required.
| |
Validate(DialogValidationEventArgs) |
Validate the edited parameter.
|
Name | Description | |
---|---|---|
ParameterAdded |
Event raised when a parameter has been added.
| |
ParameterChanged |
Event raised when a parameter has been modified.
| |
ParameterDeleted |
Event raised when parameters have been deleted.
| |
ParameterMoved |
Event raised when a parameter has been moved.
| |
PropertyChanged |
Raised on changing a property.
(Inherited from NotifyPropertyChanged.) | |
ValidationError |
Event raised when the validation of the parameter failed.
|
Name | Description | |
---|---|---|
HasNoModifyingAttribute |
Gets a collection for handling modification flags.
(Inherited from ViewModelBase.) |
Name | Description | |
---|---|---|
Clone(CloneWorkingMode, IEnumerableType) | Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.) | |
CloneT(CloneWorkingMode, IEnumerableType) | Overloaded.
Clones an object by serialization.
(Defined by RuntimeExtensions.) | |
Convert | (Defined by DataConverterExtensions.) | |
CreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String) | Overloaded.
Creates a data entry into a string builder according to the giving parameters.
(Defined by TraceExtensions.) | |
CreateTraceDataEntry(SourceLevels, TraceableKind, String, String, Int32) | Overloaded.
Creates a trace entry for a data element.
(Defined by TraceExtensions.) | |
CreateTraceDataEntry(StringBuilder, SourceLevels, TraceableKind, String, String, Int32) | Overloaded.
Creates a trace entry into a string builder.
(Defined by TraceExtensions.) | |
DynamicCast |
Dynamically casts a reference to another type.
(Defined by TypeManagerHelper.) | |
ExtractSystemParametersFromTrigger |
Extracts the system parameters from a collection of trigger parameter and transform them to a dictionary using string keys and string values.
(Defined by TriggerExtensions.) | |
GetFieldValue(String) | Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.) | |
GetFieldValueT(String) | Overloaded.
Gets the data object held by a defined field of a particular type.
(Defined by UnitTest.) | |
GetPropertyValue(String) | Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.) | |
GetPropertyValueT(String) | Overloaded.
Gets the data object held by a defined property of a particular type.
(Defined by UnitTest.) | |
Inject(Type, Object) | Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.) | |
Inject(Type, Object, Boolean) | Overloaded.
Injects all fields or properties which are marked with the defined attribute type name.
(Defined by DataInjection.) | |
InjectField |
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
InjectProperty(String, Object) | Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
InjectProperty(String, Type, Object) | Overloaded.
Injects a value to a property within a data object.
(Defined by DataInjection.) | |
Invoke(String, Object) | Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.) | |
InvokeTResult(String, Object) | Overloaded.
Invokes a method on an object by reflection.
(Defined by UnitTest.) | |
SetFieldValue |
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.) | |
SetPropertyValue |
Sets the data object on a defined property of a particular type.
(Defined by UnitTest.) | |
SetReadOnlyFieldValue |
Sets the data object on a defined field of a particular type.
(Defined by UnitTest.) | |
TryInjectProperty |
Tries to Inject a value to a property within a data object.
(Defined by DataInjection.) |