This topic has not yet been rated - Rate this topic

AutomationProperties.GetLabeledBy method

Gets the value of the AutomationProperties.LabeledBy attached property for the specified DependencyObject.

Syntax


public static UIElement GetLabeledBy(
  DependencyObject element
)

Parameters

element

Type: DependencyObject

The DependencyObject to check.

Return value

Type: UIElement

The element that is targeted by the label.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Automation
Windows::UI::Xaml::Automation [C++]

Metadata

Windows.winmd

See also

AutomationProperties

 

 

Build date: 12/4/2012

© 2013 Microsoft. All rights reserved.