FrameworkContentElementAutomationPeer.GetLabeledByCore Metodo

Definizione

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.

Si applica a

Vedi anche