C# 클래스 Spring.DataBinding.MultipleSelectionListControlBinding

Handles binding of a multiple selection ListControl to a target's IList property.
상속: SimpleExpressionBinding
파일 보기 프로젝트 열기: spring-projects/spring-net 1 사용 예제들

공개 메소드들

메소드 설명
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