Share via


AutomationProperties.SetCulture(DependencyObject, Int32) Method

Definition

Sets the value of the Culture 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.

Windows requirements

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

Examples

Culture, Attached properties overview

Applies to