Files
TickerLib/Views/TickerItemView.xaml
2024-02-23 06:55:00 -05:00

19 lines
1.1 KiB
XML

<UserControl x:Class="Ticker.Views.TickerItemView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable="d"
x:Name="UserControl"
d:DesignWidth="640" d:DesignHeight="480" Height="39">
<Grid Height="39" Margin="2,0,2,0" >
<TextBlock Foreground="#00ABA9" Height="18" VerticalAlignment="Top" TextWrapping="NoWrap">
<Hyperlink NavigateUri="{Binding Path=FeedItem.Link}" RequestNavigate="Navigate">
<TextBlock Text="{Binding Path=FeedItem.Title}" Foreground="{Binding Path=FeedItem.ForegroundBrush}" TextWrapping="NoWrap"/>
</Hyperlink>
</TextBlock>
<TextBlock Text="{Binding Path=FeedItem.PubDate}" Margin="0,12,0,1" Foreground="#FF939393" TextWrapping="NoWrap" FontSize="10"/>
<TextBlock Text="{Binding Path=FeedItem.Source}" Margin="0,20,0,1" Foreground="#F09609" TextWrapping="NoWrap" FontSize="10" />
</Grid>
</UserControl>