AutomationProperties.SetLabeledBy(DependencyObject, UIElement) 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.
Sets the LabeledBy attached property.
public:
static void SetLabeledBy(System::Windows::DependencyObject ^ element, System::Windows::UIElement ^ value);
public static void SetLabeledBy (System.Windows.DependencyObject element, System.Windows.UIElement value);
static member SetLabeledBy : System.Windows.DependencyObject * System.Windows.UIElement -> unit
Public Shared Sub SetLabeledBy (element As DependencyObject, value As UIElement)
Parameters
- element
- DependencyObject
The DependencyObject on which to set the property.
- value
- UIElement
The labeled by value to set.