AutomationProperties.SetCulture(DependencyObject, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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