initial load
This commit is contained in:
41
YouTubeViewers.WPF/Components/YouTubeViewersListing.xaml
Normal file
41
YouTubeViewers.WPF/Components/YouTubeViewersListing.xaml
Normal file
@ -0,0 +1,41 @@
|
||||
<UserControl x:Class="YouTubeViewers.WPF.Components.YouTubeViewersListing"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:YouTubeViewers.WPF.Components"
|
||||
xmlns:custom="clr-namespace:DropdownMenuControl;assembly=DropdownMenuControl"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<Border
|
||||
BorderBrush="{StaticResource BorderPrimary}"
|
||||
BorderThickness="1"
|
||||
CornerRadius="5"
|
||||
SnapsToDevicePixels="True">
|
||||
<Grid>
|
||||
<Grid.OpacityMask>
|
||||
<VisualBrush Visual="{Binding ElementName=border}"/>
|
||||
</Grid.OpacityMask>
|
||||
<Border
|
||||
x:Name="border"
|
||||
Background="White"
|
||||
CornerRadius="5"/>
|
||||
<ListView BorderThickness="0"
|
||||
ItemsSource="{Binding YouTubeViewersListingItemViewModels}"
|
||||
SelectedItem="{Binding SelectedYouTubeViewerListingItemViewModel}">
|
||||
<ListView.ItemContainerStyle>
|
||||
<Style TargetType="ListViewItem">
|
||||
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
||||
</Style>
|
||||
</ListView.ItemContainerStyle>
|
||||
<ListView.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<local:YouTubeViewersListingItem/>
|
||||
</DataTemplate>
|
||||
</ListView.ItemTemplate>
|
||||
</ListView>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user