ContentElementAutomationPeer.GetLabeledByCore 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 AutomationPeer for the Label that is targeted to the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetLabeledBy().
protected:
override System::Windows::Automation::Peers::AutomationPeer ^ GetLabeledByCore();
protected override System.Windows.Automation.Peers.AutomationPeer GetLabeledByCore ();
override this.GetLabeledByCore : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overrides Function GetLabeledByCore () As AutomationPeer
Returns
The LabelAutomationPeer for the element that is targeted by the Label.
Remarks
For example, if the element is a ComboBox control, the GetLabeledBy method could get the AutomationPeer for the Label that is associated with the ComboBox.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.