UltraGridBindingArgs¶
This classic-grid argument carrier packages the UltraWebGrid control reference and its bound collection so the manager can register grid bindings through one reusable object instead of a long parameter list. It inherits the common bind-property and bind-direction metadata from clsObjectBindingArgs, which the classic grid binder uses to identify records inside the collection.
Purpose¶
- Bundle the control and collection needed to register a classic
UltraWebGridbinding. - Reuse the shared
clsObjectBindingArgsmetadata surface for grid-specific registration. - Support manager overloads that accept one argument object instead of separate grid parameters.
Context¶
- Namespace:
SAIF.Presentation.Web.Binding - Assembly/package:
SAIF.Presentation.Web.Binding.Infragistics103(embedded/bundled as source, not independently packaged)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| UltraGrid | Public Property UltraGrid() As UltraWebGrid |
Carries the classic grid control instance the binder should refresh and validate against. |
| DataSource | Public Property DataSource() As IEnumerable |
Carries the collection that supplies rows to the grid binder. |
| New | Public Sub New(ByVal inControl As UltraWebGrid, ByVal inCollection As IEnumerable, ByVal inBindProperty As String, ByVal inBindType As BindTypes) |
Creates a complete classic-grid binding argument object from the grid, collection, identity property, and bind direction. |
Behavioral notes¶
- The constructor stores the grid
UniqueIDand type information through the inherited fields used by binder setup. - This type inherits
clsObjectBindingArgs, so grid-specific data travels alongside the standard bind-property and bind-type values expected by the manager.
Constraints and usage notes¶
- Use
HierarchialGridArgsinstead when each band needs its own key-property mapping. - The
DataSourcemember expects anIEnumerable, matching the collection-oriented nature of grid binders.
Sources¶
SAIF.Presentation.Web.Binding.Infragistics103\clsObjectBindingArgs.vb