[]
        
(Showing Draft Content)

C1.WPF.Localization.C1LocalizeExtension.DetermineCulture

DetermineCulture Method

DetermineCulture(DependencyObject)

When overridden in a derived class, returns a CultureInfo that should be used for localization. Default implementation returns the value of the DefaultCulture property.

Declaration
[Obsolete("This method is obsolete. C1LocalizeExtension always uses CultureInfo.CurrentUICulture.")]
protected virtual CultureInfo DetermineCulture(DependencyObject target)
Parameters
Type Name Description
DependencyObject target

The DependencyObject object for localization.

Returns
Type Description
CultureInfo

The CultureInfo object.