NumberSubstitution.GetCultureOverride Method (DependencyObject)

 

Returns the value of CultureOverride from the provided element.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

[TypeConverterAttribute(typeof(CultureInfoIetfLanguageTagConverter))]
[AttachedPropertyBrowsableForTypeAttribute(typeof(DependencyObject))]
public static CultureInfo GetCultureOverride(
	DependencyObject target
)

Parameters

target
Type: System.Windows.DependencyObject

The element to return a CultureOverride value for.

Return Value

Type: System.Globalization.CultureInfo

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

.NET Framework
Available since 3.0
Return to top
Show: