ArgumentToExpressionModelItemConverter 类
定义
定义参数和表达式模型项之间的映射,并提供在这些对象之间进行转换的功能。Defines the mapping between arguments and expression model items and provides the functionality to convert between these objects.
public ref class ArgumentToExpressionModelItemConverter : System::Windows::Data::IMultiValueConverter
public class ArgumentToExpressionModelItemConverter : System.Windows.Data.IMultiValueConverter
type ArgumentToExpressionModelItemConverter = class
interface IMultiValueConverter
Public Class ArgumentToExpressionModelItemConverter
Implements IMultiValueConverter
- 继承
-
ArgumentToExpressionModelItemConverter
- 实现
注解
此转换器可用于将数据绑定到 ExpressionTextBox 或其他 WPF 控件。This converter can be used to bind data to an ExpressionTextBox or other WPF control.
构造函数
| ArgumentToExpressionModelItemConverter() |
初始化 ArgumentToExpressionModelItemConverter 类的新实例。Initializes a new instance of the ArgumentToExpressionModelItemConverter class. |
方法
| Convert(Object[], Type, Object, CultureInfo) |
将指定自变量转换为表达式模型项。Converts the specified argument to an expression model item. |
| ConvertBack(Object, Type[], Object, CultureInfo) |
将指定表达式模型项转换为自变量。Converts the specified expression model item to an argument. |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |