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.

TextDecorationCollectionConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

 

Attempts to convert an instance of TextDecorationCollection to a specified type.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

[SecurityCriticalAttribute]
public override object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	object value,
	Type destinationType
)

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

Describes the context information of a type.

culture
Type: System.Globalization.CultureInfo

Describes the CultureInfo of the type being converted.

value
Type: System.Object

The instance of TextDecorationCollection to convert.

destinationType
Type: System.Type

The type this instance of TextDecorationCollection is converted to.

Return Value

Type: System.Object

null is always returned because TextDecorationCollection cannot be converted to any other type.

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