Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
Invert ( object sender, System.Windows.Forms.ConvertEventArgs e ) : void |
public static CorrectDecimalSeparator ( object sender, ConvertEditValueEventArgs e ) : void | ||
sender | object | |
e | ConvertEditValueEventArgs | |
return | void |
public static CreateCheckEditInverseBinding ( string propertyName, object dataSource, string dataMember ) : System.Windows.Forms.Binding | ||
propertyName | string | |
dataSource | object | |
dataMember | string | |
return | System.Windows.Forms.Binding |
public static CreateOneWayReadToString ( string propertyName, object dataSource, string dataMember, StringByValue oneWayConverter ) : System.Windows.Forms.Binding | ||
propertyName | string | |
dataSource | object | |
dataMember | string | |
oneWayConverter | StringByValue | |
return | System.Windows.Forms.Binding |