AutomationProperties.GetLabeledBy(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 LabeledBy attached property for the specified DependencyObject.
public:
static System::Windows::UIElement ^ GetLabeledBy(System::Windows::DependencyObject ^ element);
public static System.Windows.UIElement GetLabeledBy (System.Windows.DependencyObject element);
static member GetLabeledBy : System.Windows.DependencyObject -> System.Windows.UIElement
Public Shared Function GetLabeledBy (element As DependencyObject) As UIElement
Parameters
- element
- DependencyObject
The DependencyObject to check.
Returns
The element that is targeted by the label.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.