protected override AutomationPeer GetLabeledByCore() { AutomationPeer wrapperPeer = this.GetWrapperPeer(); if (wrapperPeer != null) { return(wrapperPeer.GetLabeledBy()); } return(null); }