FrameworkElementAutomationPeer.GetLabeledByCore Metodo

Definizione

Ottiene l'oggetto AutomationPeer per l'oggetto Label destinato all'oggetto ContentElement associato all'oggetto ContentElementAutomationPeer. 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

Restituisce

Oggetto LabelAutomationPeer per l'elemento di destinazione di Label.

Commenti

Ad esempio, se l'elemento è un ComboBox controllo, il GetLabeledBy() metodo potrebbe ottenere l'oggetto per l'oggetto AutomationPeerLabel associato a ComboBox.

Si applica a

Vedi anche