Skip to content

Instantly share code, notes, and snippets.

@kw0006667
Created October 20, 2012 17:57
Show Gist options
  • Save kw0006667/3924210 to your computer and use it in GitHub Desktop.
Save kw0006667/3924210 to your computer and use it in GitHub Desktop.
自訂 Header Menu 使用者控制項
<UserControl
x:Class="HeaderMenu.HeaderMenuControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:HeaderMenu"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="210"
d:DesignWidth="250">
<Grid >
<ListView BorderBrush="#FF99999A" Background="White" SelectionMode="None" BorderThickness="3" ScrollViewer.VerticalScrollBarVisibility="Disabled">
<ListViewItem Foreground="#FF99999A" FontSize="24" Margin="0" Width="240">Collection</ListViewItem>
<ListViewItem Foreground="#FF99999A" FontSize="24" Margin="0" Width="240">Marketplace</ListViewItem>
<ListViewItem Foreground="#FF99999A" FontSize="24" Margin="0" Width="240">News</ListViewItem>
<ListViewItem Foreground="#FF99999A" FontSize="24" Margin="0" Width="240">Home</ListViewItem>
</ListView>
</Grid>
</UserControl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment