DetailsView.IsBindableType(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified data type can be bound to a field in the DetailsView control.
public:
virtual bool IsBindableType(Type ^ type);
public virtual bool IsBindableType (Type type);
abstract member IsBindableType : Type -> bool
override this.IsBindableType : Type -> bool
Public Overridable Function IsBindableType (type As Type) As Boolean
Parameters
Returns
true
if the specified data type can be bound to a field in the DetailsView control; otherwise, false
.
Remarks
The IsBindableType method is a helper method called by the DetailsView control to determine whether the specified data type can be bound to a field in the control. The DetailsView control supports the following data types:
All primitive data types, such as Boolean, Byte, and Int32
Notes to Inheritors
When extending the DetailsView class, you can override this method to add or restrict the data types that can be used in a DetailsView control.