AutomationProperties.Culture Attached Property
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.
Gets or sets the locale identifier for the automation element (for example, 0x0409 for "en-US" or English (United States)).
see GetCulture, and SetCulture
see GetCulture, and SetCulture
see GetCulture, and SetCulture
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Remarks
Each locale has a unique identifier, a 32-bit value that consists of a language identifier and a sort order identifier. The locale identifier is a standard international numeric abbreviation and has the components necessary to uniquely identify one of the installed operating system-defined locales. For more information, see Language Identifier Constants and Strings.
This property may exist on a per-control basis, but typically is only available on an application level.
- Type: int
- Identifier field: CultureProperty
- Accessor methods: GetCulture, SetCulture