Click or drag to resize

ConfirmedCommandConverter Class

A converter to use in ICommand bindings to intercept or filter command executions in the view layer in MVVM applications.
Inheritance Hierarchy
SystemObject
  TomsToolbox.Wpf.ConvertersValueConverter
    TomsToolbox.Wpf.ConvertersConfirmedCommandConverter

Namespace:  TomsToolbox.Wpf.Converters
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 1.0.64.0 (1.0.64.0)
Syntax
public class ConfirmedCommandConverter : ValueConverter

The ConfirmedCommandConverter type exposes the following members.

Constructors
  NameDescription
Public methodConfirmedCommandConverter
Initializes a new instance of the ConfirmedCommandConverter class
Top
Properties
  NameDescription
Public propertyConvertBackErrorValue
Gets or sets the error value, which is returned whenever the value to convert back produces an error; the default is UnsetValue.
(Inherited from ValueConverter.)
Public propertyConvertBackNullValue
Gets or sets the null value, which is returned whenever the value to convert back is null; the default is null.
(Inherited from ValueConverter.)
Public propertyConvertBackUnsetValue
Gets or sets the unset value, which is returned whenever the value to convert back is UnsetValue; the default is UnsetValue.
(Inherited from ValueConverter.)
Public propertyConvertErrorValue
Gets or sets the error value, which is returned whenever the value to convert produces an error; the default is UnsetValue.
(Inherited from ValueConverter.)
Public propertyConvertNullValue
Gets or sets the null value, which is returned whenever the value to convert is null; the default is null.
(Inherited from ValueConverter.)
Public propertyConvertUnsetValue
Gets or sets the unset value, which is returned whenever the value to convert is UnsetValue; the default is UnsetValue.
(Inherited from ValueConverter.)
Top
Methods
  NameDescription
Protected methodConvert
Converts a value. Null and UnSet are unchanged.
(Overrides ValueConverterConvert(Object, Type, Object, CultureInfo).)
Protected methodConvertBack
Converts a value.
(Inherited from ValueConverter.)
Top
Events
  NameDescription
Public eventError
Occurs when an exception is raised during command execution.
Public eventExecuting
Occurs when the command is being executed. The view can connect to this event to e.g. show a message box or modify the command parameter.
Top
Extension Methods
See Also