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 ValueGetFormatAttribute #330

Closed
YevgeniyShunevych opened this issue Nov 18, 2019 · 0 comments
Closed

Add ValueGetFormatAttribute #330

YevgeniyShunevych opened this issue Nov 18, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@YevgeniyShunevych
Copy link
Member

@YevgeniyShunevych YevgeniyShunevych commented Nov 18, 2019

ValueGetFormatAttribute - specifies the data format to use for getting the value of the control. Can override control's FormatAttribute, but only for getting the value.

Add and use ConvertStringToValueUsingGetFormat method to Field<T, TOwner> as a replacement of ConvertStringToValue:

protected virtual T ConvertStringToValueUsingGetFormat(string 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.