Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ValueSetFormatAttribute #331

YevgeniyShunevych opened this issue Nov 18, 2019 · 0 comments

Add ValueSetFormatAttribute #331

YevgeniyShunevych opened this issue Nov 18, 2019 · 0 comments


Copy link

@YevgeniyShunevych YevgeniyShunevych commented Nov 18, 2019

ValueSetFormatAttribute - specifies the data format to use for setting the value to the control. Can override control's FormatAttribute, but only for setting the value.

Add and use ConvertValueToStringUsingSetFormat method to EditableField<T, TOwner> as a replacement of ConvertValueToString:

protected virtual string ConvertValueToStringUsingSetFormat(T value);
@YevgeniyShunevych YevgeniyShunevych added this to the 1.4.0 milestone Nov 18, 2019
@YevgeniyShunevych YevgeniyShunevych self-assigned this Nov 18, 2019
YevgeniyShunevych added a commit that referenced this issue Nov 18, 2019
…dd FormatTests fixture with 5 tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.