CanConvertTo(ITypeDescriptorContext, Type) Method
Checks whether or not this class can convert to a given type.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll)
- C#
- VB
- F#
public override bool CanConvertTo(
ITypeDescriptorContext context,
Type destinationType
)
Public Overrides Function CanConvertTo (
context As ITypeDescriptorContext,
destinationType As Type
) As Boolean
abstract CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool
override CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool
Parameters
- ITypeDescriptorContext
- An ITypeDescriptorContext that provides a format context.
- Type
- The Type being queried for support.
Return Value
Boolean
true
if this converter can convert to the provided type, false
otherwise.
See Also
Reference
DataGridLengthConverter Class
CanConvertTo Overload
Avalonia.Controls Namespace