Xceed Toolkit Plus for WPF v4.6 Documentation
ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Core.Input Namespace > KeyModifierCollectionConverter Class > ConvertTo Method : ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) Method
Converts between KeyModifier values and string representations.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function ConvertTo( _
   ByVal typeDescriptorContext As ITypeDescriptorContext, _
   ByVal cultureInfo As CultureInfo, _
   ByVal value As Object, _
   ByVal destinationType As Type _
) As Object
'Usage
 
Dim instance As KeyModifierCollectionConverter
Dim typeDescriptorContext As ITypeDescriptorContext
Dim cultureInfo As CultureInfo
Dim value As Object
Dim destinationType As Type
Dim value As Object
 
value = instance.ConvertTo(typeDescriptorContext, cultureInfo, value, destinationType)

Parameters

typeDescriptorContext
cultureInfo
value
destinationType

Return Value

A "+" delimited string representation of the KeyModifiers.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

KeyModifierCollectionConverter Class
KeyModifierCollectionConverter Members
Overload List
Base Implementation in ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type)