ParameterViewModel Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains information about a single parameter inside a parameter set. If a parameter with the same name belongs to two (or more) parameter sets, there will be two (or more) ParameterViewModel objects for the parameters, each one inside its own ParameterSetViewModel.
public ref class ParameterViewModel : System::ComponentModel::INotifyPropertyChanged
public class ParameterViewModel : System.ComponentModel.INotifyPropertyChanged
type ParameterViewModel = class
interface INotifyPropertyChanged
Public Class ParameterViewModel
Implements INotifyPropertyChanged
- Inheritance
-
ParameterViewModel
- Implements
Constructors
ParameterViewModel(ShowCommandParameterInfo, String) |
Initializes a new instance of the ParameterViewModel class. |
Properties
HasValue |
Gets a value indicating whether the parameter has a value |
IsInSharedParameterSet |
Gets a value indicating whether this parameter is in the shared parameterset |
IsMandatory |
Gets a value indicating whether the parameter is mandatory |
Name |
Gets the parameter name |
NameCheckLabel |
Gets Label in the case this parameter is used in a combo box |
NameTextLabel |
Gets Name with an extra suffix to indicate if the parameter is mandatory to serve |
Parameter |
Gets the ParameterMetadata that contains information that is the same throughout parameter sets like Name and Type. |
ParameterSetName |
Gets the name of the parameter set this parameter is in |
ToolTip |
Gets Tooltip string for the parameter |
Value |
Gets or sets the value for this parameter from the GUI |
Events
PropertyChanged |
PropertyChanged Event |