Skip to content

Instantly share code, notes, and snippets.

@Regenhardt
Created July 12, 2017 14:43
Show Gist options
  • Save Regenhardt/83d618ebdabbcf4502cdbd6f0a0e9289 to your computer and use it in GitHub Desktop.
Save Regenhardt/83d618ebdabbcf4502cdbd6f0a0e9289 to your computer and use it in GitHub Desktop.
<Grid Visibility="{Binding BubbleVisible, Converter={StaticResource BoolToVis}}" Height="56" Width="56" HorizontalAlignment="Left" VerticalAlignment="Top">
<!--Bind keyinputs-->
<Grid.InputBindings>
<MouseBinding Gesture="LeftClick" Command="{Binding SwitchViews}"/>
</Grid.InputBindings>
<!--The bubble-->
<Grid.Background>
<ImageBrush ImageSource="/Images/TransparentBubbleWithMoveCorner56px.png" />
</Grid.Background>
<Grid Width="27" Height="24" HorizontalAlignment="Right" VerticalAlignment="Top" PreviewMouseLeftButtonDown="Move_Bubble">
</Grid>
</Grid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment