Basic Library for WPF and Silverlight | ComponentOne
C1.WPF.Localization Namespace / C1LocalizeExtension Class / DetermineCulture Method
The System.Windows.DependencyObject object for localization.

In This Topic
    DetermineCulture Method
    In This Topic
    When overridden in a derived class, returns a System.Globalization.CultureInfo that should be used for localization. Default implementation returns the value of the C1Localizer.DefaultCulture property.
    Syntax
    'Declaration
     
    
    <ObsoleteAttribute("This method is obsolete. C1LocalizeExtension always uses CultureInfo.CurrentUICulture.")>
    Protected Overridable Function DetermineCulture( _
       ByVal target As DependencyObject _
    ) As CultureInfo
    [Obsolete("This method is obsolete. C1LocalizeExtension always uses CultureInfo.CurrentUICulture.")]
    protected virtual CultureInfo DetermineCulture( 
       DependencyObject target
    )

    Parameters

    target
    The System.Windows.DependencyObject object for localization.

    Return Value

    See Also