Created
June 22, 2014 08:07
-
-
Save wtuts/66cf1d30346db35c830b to your computer and use it in GitHub Desktop.
block ads using xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<GoogleAds:AdView Visibility="{Binding DISPLAYADS, Converter={StaticResource BoolToVisibilityConverter}, Source={StaticResource ApplicationSettings}}" AdUnitID="ca-app-pub-0623406534268990/5403604500" HorizontalAlignment="Left" Margin="-10,0,-14,0" Height="80" Width="480" VerticalAlignment="Top"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<local:AppSettings x:Name="ApplicationSettings"/> | |
<local:BooleanToVisibilityConverter x:Key="BoolToVisibilityConverter"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xmlns:local="clr-namespace:WAT_Test" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment