Lenguaje

FrameworkContentElementAutomationPeer.GetLabeledByCore Método

Definición

Obtiene para LabelAutomationPeer el Label objeto que está destinado al FrameworkContentElement objeto asociado a este FrameworkContentElementAutomationPeerobjeto . Este método lo llama 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

Devoluciones

LabelAutomationPeer para el elemento de destino de .Label

Comentarios

Por ejemplo, si el elemento es un ComboBox control , el GetLabeledBy método puede recuperar para AutomationPeer el Label objeto asociado a ComboBox.

Se aplica a

Consulte también