Version

ContainerGridDataBinding Event

The event that fires right before the ContainerGrid is data bound. If this is cancelled, then the ContainerGrid will perform binding directly to the DataSource supplied to the event args. This is to accomplish custom sorting or filtering. This will fire when the ContainerGrid's DataBinding event does, not before as RowIslandDataBinding does.
Syntax
'Declaration
 
Public Event ContainerGridDataBinding As DataBindingEventHandler
public event DataBindingEventHandler ContainerGridDataBinding
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