Dear Actipro-Team,
I would like to bind a float variable to a DoubleEditBox. The problem is that the conversion from float to double modifies the value slightly, such that the float value 0.15 becomes 0.15000000596046448. To avoid this I would like to use a SingleEditBox that binds a float value instead of a double value.
So I derived from ActiproSoftware.Windows.Controls.Editors.Primitives.DoubleEditBoxBase and put Nullable<float> as generic parameter.
public class SingleEditBox : ActiproSoftware.Windows.Controls.Editors.Primitives.DoubleEditBoxBase<Nullable<float>>
{
}
However, this did not workout correctly, as the resulting EditBox is readonly and does not show any value. So I was wondering what is missing. Can you please help me with that.
Best regards
Michael