protected override string GetAccessKeyCore() { AutomationPeer wrapperPeer = this.GetWrapperPeer(); if (wrapperPeer != null) { return(wrapperPeer.GetAccessKey()); } return(string.Empty); }