C# 클래스 Prizm.Main.Controls.BindingHelper

파일 보기 프로젝트 열기: AleksMorozova/prizm

공개 메소드들

메소드 설명
CorrectDecimalSeparator ( object sender, ConvertEditValueEventArgs e ) : void
CreateCheckEditInverseBinding ( string propertyName, object dataSource, string dataMember ) : System.Windows.Forms.Binding
CreateOneWayReadToString ( string propertyName, object dataSource, string dataMember, StringByValue oneWayConverter ) : System.Windows.Forms.Binding

It seems WinForm doesn't allow simple one-way from model to form control. If it is possible, this code should be replaced StringByValue should take value. Creator of this binding should control the real type of the value.

비공개 메소드들

메소드 설명
Invert ( object sender, System.Windows.Forms.ConvertEventArgs e ) : void

메소드 상세

CorrectDecimalSeparator() 공개 정적인 메소드

public static CorrectDecimalSeparator ( object sender, ConvertEditValueEventArgs e ) : void
sender object
e ConvertEditValueEventArgs
리턴 void

CreateCheckEditInverseBinding() 공개 정적인 메소드

public static CreateCheckEditInverseBinding ( string propertyName, object dataSource, string dataMember ) : System.Windows.Forms.Binding
propertyName string
dataSource object
dataMember string
리턴 System.Windows.Forms.Binding

CreateOneWayReadToString() 공개 정적인 메소드

It seems WinForm doesn't allow simple one-way from model to form control. If it is possible, this code should be replaced StringByValue should take value. Creator of this binding should control the real type of the value.
public static CreateOneWayReadToString ( string propertyName, object dataSource, string dataMember, StringByValue oneWayConverter ) : System.Windows.Forms.Binding
propertyName string
dataSource object
dataMember string
oneWayConverter StringByValue
리턴 System.Windows.Forms.Binding