Share via


AutomationProperties.SetCulture(DependencyObject, Int32) Method

Definition

Sets the value of the CultureProperty attached property for the specified DependencyObject.

public:
 static void SetCulture(DependencyObject ^ element, int value);
 static void SetCulture(DependencyObject const& element, int const& value);
public static void SetCulture(DependencyObject element, int value);
function setCulture(element, value)
Public Shared Sub SetCulture (element As DependencyObject, value As Integer)

Parameters

element
DependencyObject

The DependencyObject for which to set the culture property.

value
Int32

int

The value of the culture property to set for the specified element.

Applies to