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.
GridLengthConverter::CanConvertFrom Method (ITypeDescriptorContext^, Type^)
.NET Framework (current version)
Determines whether a class can be converted from a given type to an instance of GridLength.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: virtual bool CanConvertFrom( ITypeDescriptorContext^ typeDescriptorContext, Type^ sourceType ) override
Parameters
- typeDescriptorContext
-
Type:
System.ComponentModel::ITypeDescriptorContext^
Describes the context information of a type.
- sourceType
-
Type:
System::Type^
The type of the source that is being evaluated for conversion.
Return Value
Type: System::Booleantrue if the converter can convert from the specified type to an instance of GridLength; otherwise, false.
.NET Framework
Available since 3.0
Available since 3.0
Show: