Guest User

Untitled

a guest
Mar 29th, 2016
90
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     <Grid>
  2.         <Grid.DataContext>
  3.             <sys:String>Test</sys:String>
  4.         </Grid.DataContext>
  5.         <Button VerticalAlignment="Center" HorizontalAlignment="Center" Content="{Binding}">
  6.             <Button.ContextMenu>
  7.                 <ContextMenu>
  8.                     <MenuItem Header="{Binding}"/>
  9.                 </ContextMenu>
  10.             </Button.ContextMenu>
  11.         </Button>
  12.     </Grid>
RAW Paste Data