ConvertValue() public method

public ConvertValue ( object value ) : object
value object
return object
示例#1
0
        public object Convert()
        {
            object sourceValue = ControlValue;

            sourceValue = BindingExpression.ConvertValue(sourceValue);
            return(sourceValue);
        }
示例#2
0
        public T Convert <T>()
        {
            object sourceValue = ControlValue;

            sourceValue = BindingExpression.ConvertValue(sourceValue);
            return((T)sourceValue);
        }