protected override bool IsRequiredForFormCore() { AutomationPeer wrapperPeer = this.GetWrapperPeer(); return((wrapperPeer != null) && (wrapperPeer.IsRequiredForForm())); }