Bewerken

Share via


NumberSubstitution.GetCultureOverride(DependencyObject) Method

Definition

Returns the value of CultureOverride from the provided element.

public:
 static System::Globalization::CultureInfo ^ GetCultureOverride(System::Windows::DependencyObject ^ target);
[System.ComponentModel.TypeConverter(typeof(System.Windows.CultureInfoIetfLanguageTagConverter))]
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Globalization.CultureInfo GetCultureOverride (System.Windows.DependencyObject target);
[<System.ComponentModel.TypeConverter(typeof(System.Windows.CultureInfoIetfLanguageTagConverter))>]
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetCultureOverride : System.Windows.DependencyObject -> System.Globalization.CultureInfo
Public Shared Function GetCultureOverride (target As DependencyObject) As CultureInfo

Parameters

target
DependencyObject

The element to return a CultureOverride value for.

Returns

A CultureInfo value that represents the culture that is used as an override.

Attributes

Applies to