C# 클래스 TrainTracker.DataBindingExtensions

Provides extension methods for dealing with Binding objects
파일 보기 프로젝트 열기: vega670/TrainTracker

공개 메소드들

메소드 설명
CreateCopy ( this binding ) : Binding

Creates a new Binding object by copying all properties from another Binding object.

CreateOneWayBinding ( this bindingSource, string propertyPath ) : Binding

Creates a new Binding using bindingSource as the Binding.Source and propertyPath as the Binding.Path.

CreateOneWayBinding ( this bindingSource, string propertyPath, IValueConverter converter ) : Binding

Creates a new Binding using bindingSource as the Binding.Source, propertyPath as the Binding.Path, and converter as the Binding.Converter.

메소드 상세

CreateCopy() 공개 정적인 메소드

Creates a new Binding object by copying all properties from another Binding object.
public static CreateCopy ( this binding ) : Binding
binding this from which property values will be copied
리턴 System.Windows.Data.Binding

CreateOneWayBinding() 공개 정적인 메소드

Creates a new Binding using bindingSource as the Binding.Source and propertyPath as the Binding.Path.
public static CreateOneWayBinding ( this bindingSource, string propertyPath ) : Binding
bindingSource this The object to use as the new binding's .
propertyPath string The property path to use as the new binding's .
리턴 System.Windows.Data.Binding

CreateOneWayBinding() 공개 정적인 메소드

Creates a new Binding using bindingSource as the Binding.Source, propertyPath as the Binding.Path, and converter as the Binding.Converter.
public static CreateOneWayBinding ( this bindingSource, string propertyPath, IValueConverter converter ) : Binding
bindingSource this The object to use as the new binding's .
propertyPath string The property path to use as the new binding's .
converter IValueConverter The converter to use as the new binding's .
리턴 System.Windows.Data.Binding