문제

I'm going through some silverlight apps and reviewing date formatting to make sure the presentation is appropriate for the viewer.

with an implementation of IValueConverter, where does the culture parameter come from in the Convert/ConvertBack functions? it seems to not be CultureInfo.CurrentCulture which I think is what I want.

도움이 되었습니까?

해결책

Since this is intended for your user interfaces, WPF uses CultureInfo.CurrentUICulture, not CurrentCulture.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top