C# Класс Spring.DataBinding.MultipleSelectionListControlBinding

Handles binding of a multiple selection ListControl to a target's IList property.
Наследование: SimpleExpressionBinding
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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.

Описание методов

DoBindSourceToTarget() защищенный Метод

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
Результат void

DoBindTargetToSource() защищенный Метод

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
Результат void

MultipleSelectionListControlBinding() публичный Метод

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
Результат System

SetSourceValue() защищенный Метод

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
Результат void

SetTargetValue() защищенный Метод

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
Результат void