Updated: April 22, 2014
Published: April 23, 2014
Gets or sets the value that indicates whether the AdControl will automatically hide itself if no ad is available or an error occurs.
Assembly: Microsoft.Advertising.Mobile.UI (in Microsoft.Advertising.Mobile.UI)
Setting this value to true will collapse the AdControl so it is not visible if no ad is available or an error occurs.
This value is inherited from UIElement.Visibility.
The default value for this property is false.
Some state changes and errors, including a no ad error, might:
Setting the property IsAutoCollapseEnabled to TRUE might have no effect visually since the AdControl will be made transparent and may appear collapsed.
If you are having issues with the state of the AdControl, check to see if the control's Visibility property (inherited) is in a Collapsed state (see http://msdn.microsoft.com/en-us/library/system.windows.uielement.visibility.aspx). Also check to see if the control's Opacity property (inherited) is set to 0 (see http://msdn.microsoft.com/en-us/library/system.windows.uielement.opacity.aspx).
Report the issue and your scenario to product support.
Windows Phone 7.x, Windows Phone 8.x
Support and Feedback
Get product support or report a bug in the product by visiting the Windows Phone Dev Center support page (scroll down to the section "Microsoft Advertising support").
Send feedback about this documentation to email@example.com. There is no product support through this alias. Documentation feedback only.