The version that you requested is unavailable. We've redirected you to the latest version of the help.
Version

CustomDataBinding Event

The event that fires right before the grid is data bound. If this is cancelled, then the grid will perform binding directly to the DataSource supplied to the event args. This is to accomplish custom sorting or filtering.
Syntax
'Declaration
 
Public Event CustomDataBinding As DataBindingEventHandler
public event DataBindingEventHandler CustomDataBinding
Event Data

The event handler receives an argument of type DataBindingEventArgs containing data related to this event. The following DataBindingEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Gets/sets whether to cancel the regular data binding process
DataSource Gets/sets the source the grid will bind to.
FilterExpression Returns a string with the filter expression.
SelectArguments Returns the select arguments as determined by the grid behaviors.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, 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