Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ValueConversionAttribute Constructor (Type^, Type^)

 

Initializes a new instance of the ValueConversionAttribute class with the specified source type and target type.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
ValueConversionAttribute(
	Type^ sourceType,
	Type^ targetType
)

Parameters

sourceType
Type: System::Type^

The type this converter converts.

targetType
Type: System::Type^

The type this converter converts to.

Exception Condition
ArgumentNullException

The sourceType parameter cannot be null.

ArgumentNullException

The targetType parameter cannot be null.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft