ComponentOne FinancialChart for WPF
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
    'Usage
     
    
    Dim instance As C1LocalizeExtension
    Dim target As DependencyObject
    Dim value As CultureInfo
     
    value = instance.DetermineCulture(target)
    [Obsolete("This method is obsolete. C1LocalizeExtension always uses CultureInfo.CurrentUICulture.")]
    protected virtual CultureInfo DetermineCulture( 
       DependencyObject target
    )
    [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