IValueCommandParameter Interface
Provides the base requirements for the command parameter of a control that specifies its value.
public interface IValueCommandParameter
Properties
Action
Gets or sets the ValueCommandParameterAction that specifies the action of the parameter.
ValueCommandParameterAction Action { get; set; }
Property Value
- ValueCommandParameterAction:
The ValueCommandParameterAction that specifies the action of the parameter.
ConversionException
Gets or sets the Exception that occurred when attempting to convert from a raw text value to a type specific value.
Exception ConversionException { get; set; }
Property Value
- Exception:
The Exception that occurred when attempting to convert from a raw text value to a type specific value.
Remarks
This property is generally only necessary for controls such as comboboxes.
It will have a null
value if no exception occurred.
Handled
Gets or sets whether the parameter has been handled.
bool Handled { get; set; }
Property Value
- bool:
true
if the parameter has been handled; otherwise,false
.
PreviewValue
Gets or sets the preview value of the control.
UpdatedValue
Gets or sets the value of the control to update to.
object UpdatedValue { get; set; }
Property Value
- object:
The value of the control to update to.
Remarks
This property can be set in a CanExecute
implementation.
Value
Gets or sets the current value of the control.