This project is read-only.


Border always visible


I am trying to hide the border, but not having any luck. I added the following lines to the xaml but they don't seem to have any effect:

file attachments

Closed Jun 14, 2014 at 12:02 PM by Darkside
Added new style templates


Darkside wrote Jul 20, 2013 at 9:25 PM

True those options wont persist because we don't pass them through to the underlying control.

what border are you referring to, van you do a screenshot as an example because we only show an empty container with no border so if there is one its from the ad provider control

Ozzy1 wrote Jul 21, 2013 at 2:21 PM

There is a border around the Microsoft ad control, which can be hidden by setting the BorderBrush and/or BorderThickness. Not all ads are the same size. PubCenter has an ad height of 80, while some other providers have an ad height of 90. If you set the AdHeight of the AdRotator to 90 so as to accommodate the larger ads, then the border shows when a PubCenter ad is displayed, which does not look good You can see the top and bottom borders in the attached screenshot.

It would be nice to pass these settings through to the underlying control so we can hide the border if desired.

Darkside wrote Jul 21, 2013 at 9:29 PM

Thanks for the suggestion, we'll add it to the backlog.
If you want it quicker then I'd suggest forking the repo and helping out :D

Darkside wrote Jun 14, 2014 at 12:02 PM

Added new templating to the control template, now allows passing of style and appearance values to the control.