Method wpfBuilder.LabeledBy(+ 1 overload)
Overload
Makes an element behave as a label of the last added element (wpfBuilder.Last).
public wpfBuilder LabeledBy(FrameworkElement label, bool? bindVisibility = null)
Parameters
label (FrameworkElement)
The label element. Usually Label or TextBlock, but can be any element. |
bindVisibility (bool?)
If |
Returns
Remarks
Sets label's System.Windows.Controls.Label.Target if it's Label. Calls System.Windows.Automation.AutomationProperties.SetLabeledBy.
Overload(top)
Makes wpfBuilder.Last2 behave as a label of wpfBuilder.Last.
public wpfBuilder LabeledBy(bool? bindVisibility = null)
Parameters
bindVisibility (bool?)
If |
Returns
Remarks
Sets label's System.Windows.Controls.Label.Target if it's Label. Calls System.Windows.Automation.AutomationProperties.SetLabeledBy.