FrameworkContentElementAutomationPeer.GetLabeledByCore Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene l'oggetto per l'oggetto LabelAutomationPeerLabel destinato all'oggetto associato all'oggetto FrameworkContentElementFrameworkContentElementAutomationPeer. Questo metodo viene chiamato da 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
Valori restituiti
Oggetto LabelAutomationPeer per l'elemento di destinazione dell'oggetto Label.
Commenti
Ad esempio, se l'elemento è un ComboBox controllo , il GetLabeledBy metodo può recuperare per l'oggetto AutomationPeerLabel associato all'oggetto ComboBox.