AutomationProperties.GetCulture(DependencyObject) 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.
Gets the value of the Culture XAML attached property for the specified DependencyObject.
public:
static int GetCulture(DependencyObject ^ element);
static int GetCulture(DependencyObject const& element);
public static int GetCulture(DependencyObject element);
function getCulture(element)
Public Shared Function GetCulture (element As DependencyObject) As Integer
Parameters
- element
- DependencyObject
The DependencyObject to check.
Returns
Int32
int
The value of the culture property 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)
|