InputScopeConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Converts the specified value object to the specified type.
Namespace: System.Windows.Input
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public Overrides Function ConvertTo ( _
context As ITypeDescriptorContext, _
culture As CultureInfo, _
value As Object, _
destinationType As Type _
) As Object
public override Object ConvertTo(
ITypeDescriptorContext context,
CultureInfo culture,
Object value,
Type destinationType
)
Parameters
- context
Type: System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
- culture
Type: System.Globalization.CultureInfo
Describes the intended CultureInfo for the conversion.
- value
Type: System.Object
The object to convert.
- destinationType
Type: System.Type
The intended destination type for the conversion.
Return Value
Type: System.Object
The converted object.
Remarks
Version Notes
Silverlight for the desktop
Do not use for a Silverlight for the desktop application.
Silverlight for Windows Phone
For more information on SIP and input scopes for Silverlight for Windows Phone, see How to: Specify On-Screen Keyboard Layout for a TextBox.
Version Information
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.