public AdRotatorControl() { InitializeComponent(); adRotatorControl = new AdRotatorComponent(Thread.CurrentThread.CurrentUICulture.ToString(), IsInDesignMode ? null : new FileHelpers()); Loaded += AdRotatorControl_Loaded; // List of AdProviders supportd on this platform AdRotatorComponent.PlatformSupportedAdProviders = new List <AdType>() { AdType.AdDuplex, AdType.PubCenter, AdType.Smaato, AdType.Inmobi, AdType.MobFox, AdType.AdMob, AdType.InnerActive }; adRotatorControl.Log += (s) => { OnLog(s); }; }