C# Class Spring.DataBinding.MultipleSelectionListControlBinding

Handles binding of a multiple selection ListControl to a target's IList property.
Inheritance: SimpleExpressionBinding
Afficher le fichier Open project: spring-projects/spring-net Class Usage Examples

Méthodes publiques

Méthode Description
MultipleSelectionListControlBinding ( string sourceExpression, string targetExpression, BindingDirection direction, IFormatter itemFormatter ) : System

Creates a new instance of this binding.

If no formatter is specified, a DataSourceItemFormatter will be used.

Méthodes protégées

Méthode Description
DoBindSourceToTarget ( object source, object target, object>.IDictionary variables ) : void

Actually performs unbinding the ListControl's selected values into the target's IList

DoBindTargetToSource ( object source, object target, object>.IDictionary variables ) : void

Actually performs binding the targetlist to the ListControl.

SetSourceValue ( object source, object value, object>.IDictionary variables ) : void

Setting source value is not allowed in this bindingType.

SetTargetValue ( object target, object value, object>.IDictionary variables ) : void

Setting target value is not allowed in this bindingType.

Method Details

DoBindSourceToTarget() protected méthode

Actually performs unbinding the ListControl's selected values into the target's IList
protected DoBindSourceToTarget ( object source, object target, object>.IDictionary variables ) : void
source object
target object
variables object>.IDictionary
Résultat void

DoBindTargetToSource() protected méthode

Actually performs binding the targetlist to the ListControl.
protected DoBindTargetToSource ( object source, object target, object>.IDictionary variables ) : void
source object
target object
variables object>.IDictionary
Résultat void

MultipleSelectionListControlBinding() public méthode

Creates a new instance of this binding.
If no formatter is specified, a DataSourceItemFormatter will be used.
public MultipleSelectionListControlBinding ( string sourceExpression, string targetExpression, BindingDirection direction, IFormatter itemFormatter ) : System
sourceExpression string The expression that will evaluate to the acting as the source
targetExpression string The expression that will evaluate to an property acting as the target
direction BindingDirection Binding's direction
itemFormatter IFormatter An optional formatter converting target items into and back
Résultat System

SetSourceValue() protected méthode

Setting source value is not allowed in this bindingType.
protected SetSourceValue ( object source, object value, object>.IDictionary variables ) : void
source object
value object
variables object>.IDictionary
Résultat void

SetTargetValue() protected méthode

Setting target value is not allowed in this bindingType.
protected SetTargetValue ( object target, object value, object>.IDictionary variables ) : void
target object
value object
variables object>.IDictionary
Résultat void