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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.