<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:model="clr-namespace:Podder.Model;assembly=PodderLib" xmlns:podder="clr-namespace:Podder" xmlns:ui="clr-namespace:Podder.UI" xmlns:views="clr-namespace:Podder.DefaultSkin.Views" > <!-- VIEWS These views are loaded by the Window which displays them. They are located based on their x:Key value, which is used in a dynamic resource reference. --> <views:MainWindowView x:Key="VIEW_MainWindow" /> <!-- This view is not shared because a new instance is needed every time the PodcastsDialog is opened. --> <views:PodcastsControlView x:Key="VIEW_PodcastsControl" x:Shared="False" /> <!-- BRUSHES --> <LinearGradientBrush x:Key="PrimaryViewBackBrush" StartPoint="0,0" EndPoint="1,0.5" > <GradientStop Color="#110088DD" Offset="0" /> <GradientStop Color="#2200AADD" Offset="1" /> </LinearGradientBrush> <SolidColorBrush x:Key="GroupBoxBackBrush" Color="#BBFFFFFF" /> <!-- STYLES --> <Style x:Key="BaseWindowStyle" TargetType="{x:Type Window}"> <Setter Property="FontSize" Value="14" /> </Style> <Style TargetType="{x:Type ui:MainWindow}" BasedOn="{StaticResource BaseWindowStyle}" > <Setter Property="MinHeight" Value="620" /> <Setter Property="MinWidth" Value="720" /> </Style> <Style TargetType="{x:Type ui:PodcastsDialog}" BasedOn="{StaticResource BaseWindowStyle}" > <Setter Property="MinHeight" Value="600" /> <Setter Property="MinWidth" Value="700" /> </Style> <!-- DATA TEMPLATES--> <DataTemplate DataType="{x:Type model:Podcast}"> <TextBlock> <TextBlock Text="{Binding Path=Name}" /> <TextBlock FontWeight="DemiBold" Foreground="DarkRed" Text="{podder:ResourceString InvalidFeedDisplayText}" > <TextBlock.Style> <Style TargetType="TextBlock"> <Setter Property="Visibility" Value="Hidden" /> <Style.Triggers> <DataTrigger Binding="{Binding Path=HasInvalidFeed}" Value="True"> <Setter Property="Visibility" Value="Visible" /> </DataTrigger> </Style.Triggers> </Style> </TextBlock.Style> </TextBlock> </TextBlock> </DataTemplate> </ResourceDictionary>
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)