Jaa


AutomationProperties.GetCulture(DependencyObject) Method

Definition

Gets the value of the Culture XAML attached property for the specified DependencyObject.

public:
 static int GetCulture(DependencyObject ^ element);
 static int GetCulture(DependencyObject const& element);
public static int GetCulture(DependencyObject element);
function getCulture(element)
Public Shared Function GetCulture (element As DependencyObject) As Integer

Parameters

element
DependencyObject

The DependencyObject to check.

Returns

Int32

int

The value of the culture property for the specified element.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to