AutomationProperties.SetCulture(DependencyObject, Int32) AutomationProperties.SetCulture(DependencyObject, Int32) AutomationProperties.SetCulture(DependencyObject, Int32) 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 element, int32_t value) const;
public static void SetCulture(DependencyObject element, Int32 value)
Public Shared Sub SetCulture(element As DependencyObject, value As Int32)

Parameters

element
DependencyObject DependencyObject

The DependencyObject for which to set the culture property.

value
Int32 Int32

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

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)