ClassCultureService
Exposes notation for culture support on a per DependencyObject instance basis.
Definition
Namespace:Telerik.UI.Xaml.Controls.Primitives
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public sealed class CultureService
Inheritance: objectCultureService
Fields
CultureNameProperty
Identifies the CultureName attached property.
Declaration
public static readonly DependencyProperty CultureNameProperty
Field Value
DependencyProperty
CultureProperty
Identifies the Culture attached property.
Declaration
public static readonly DependencyProperty CultureProperty
Field Value
DependencyProperty
Methods
GetCulture(DependencyObject)
Gets the CultureInfo value for the specified dependency object instance.
Declaration
public static CultureInfo GetCulture(DependencyObject instance)
Parameters
instance
DependencyObject
Returns
GetCultureName(DependencyObject)
Gets the CultureName value for the specified dependency object instance.
Declaration
public static string GetCultureName(DependencyObject instance)
Parameters
instance
DependencyObject
Returns
SetCulture(DependencyObject, CultureInfo)
Sets the specified CultureInfo value to the provided dependency object instance.
Declaration
public static void SetCulture(DependencyObject instance, CultureInfo value)
Parameters
instance
DependencyObject
value
SetCultureName(DependencyObject, string)
Sets the specified CultureName value to the provided dependency object instance.
Declaration
public static void SetCultureName(DependencyObject instance, string cultureName)
Parameters
instance
DependencyObject
cultureName