AutomationProperties.GetCulture(DependencyObject) Method

Definition

Gets the value of the CultureProperty 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.

Applies to