GridView.IsBindableType(Type) Method

Definition

Determines whether the specified data type can be bound to a column in a GridView control.

public:
 virtual bool IsBindableType(Type ^ type);
public virtual bool IsBindableType (Type type);
abstract member IsBindableType : Type -> bool
override this.IsBindableType : Type -> bool

Parameters

type
Type

A Type that represents the data type to test.

Returns

true if the specified data type can be bound to a column in a GridView control; otherwise, false.

Remarks

The IsBindableType method is a helper method that is commonly used by control developers to programmatically determine whether the specified data type can be bound to a column in a GridView control. The following data types can be bound to a column in a GridView control:

Applies to

See also