Aracılığıyla paylaş


ContentElementAutomationPeer.GetLabeledByCore Yöntem

Tanım

AutomationPeer ile ContentElementAutomationPeerilişkili hedeflenen öğesinin ContentElement öğesini Label alır. tarafından çağrılır 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

Döndürülenler

AutomationPeer

LabelAutomationPeer tarafından hedeflenen öğesinin öğesiLabel.

Açıklamalar

Örneğin, öğesi bir denetimse, GetLabeledBy yöntemi ile ComboBoxilişkili için Label öğesini alabilirAutomationPeer.ComboBox

Şunlara uygulanır

Ayrıca bkz.