Created
September 17, 2013 15:51
-
-
Save julesx/6596268 to your computer and use it in GitHub Desktop.
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
<ContextMenu Name="MainDropDownMenu" ItemsSource={Binding ServerList}> | |
<ContextMenu.ItemTemplate> | |
<DataTemplate> | |
<TextBlock Text="{Binding ServerName}" /> | |
</DataTemplate> | |
</ContextMenu.ItemTemplate> | |
<MenuItem Header="Settings" Click="OpenSettings"> | |
<MenuItem.Icon> | |
<TextBlock Text="Hardcoded Value" /> | |
</MenuItem.Icon> | |
</MenuItem> | |
</ContextMenu> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment