Back to Devexpress

IXafCultureInfoService Members

expressappframework-devexpress-dot-expressapp-dot-blazor-dot-services-dot-ixafcultureinfoservice-dot-underscore-members.md

latest1.9 KB
Original Source

IXafCultureInfoService Members

Declares members of a localization service.

Properties

NameDescription
CurrentCultureReturns the current culture.
CurrentUICultureReturns the current UI culture.
SupportedCulturesReturns a list of supported cultures. These cultures are defined in the Languages section in appsettings.json.
SupportedUICulturesReturns a list of supported UI cultures. These cultures are defined in the Languages section in appsettings.json.

Methods

NameDescription
SetCultureAsync(String, String)Saves the specified culture in CookieRequestCultureProvider.DefaultCookie and reloads the page.
SetCultureAsync(String)Saves the specified culture in CookieRequestCultureProvider.DefaultCookie and reloads the page.

Events

NameDescription
CultureChangingFires before a change of culture in the application.

See Also

IXafCultureInfoService Interface

DevExpress.ExpressApp.Blazor.Services Namespace