This documentation is archived and is not being maintained.

InputScopeConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

Converts a source object (string) into an InputScope object.

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

public override Object ConvertFrom(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object source
)
You cannot use methods in XAML.

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

An object that describes any type descriptor context. This object must implement the ITypeDescriptorContext interface. This parameter may be null.

culture
Type: System.Globalization.CultureInfo

A CultureInfo object containing any cultural context for the conversion. This parameter may be null.

source
Type: System.Object

A source object to convert from. This object must be a string.

Return Value

Type: System.Object
An InputScope object converted from the specified source object.

Currently, the only supported source type is string.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: