Guest User

Untitled

a guest
Nov 4th, 2023
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. <Window x:Class="CommandWingDriver.UI.Controls.ScreenSelectionWindow"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="...."
  7. mc:Ignorable="d"
  8. Title="Screen Selection" Height="450" Width="800"
  9. WindowStartupLocation="Manual"
  10. ResizeMode="NoResize"
  11. WindowStyle="None"
  12. Background="Black"
  13. Topmost="True"
  14. Cursor="Cross"
  15. ShowInTaskbar="False"
  16. >
  17.  
  18. <WindowChrome.WindowChrome>
  19. <WindowChrome GlassFrameThickness="0"/>
  20. </WindowChrome.WindowChrome>
  21. <Grid>
  22. <Image x:Name="BackgroundImage" Opacity="0.5" Panel.ZIndex="0">
  23.  
  24. </Image>
  25. <Canvas x:Name="Canvas" Background="Transparent" Panel.ZIndex="1">
  26. <Rectangle Stroke="White" StrokeThickness="2" Height="{Binding ActualHeight, ElementName=Canvas}" Width="{Binding ActualWidth, ElementName=Canvas}">
  27.  
  28. </Rectangle>
  29. <Rectangle x:Name="displayRectangle" Visibility="Hidden" Stroke="White" StrokeThickness="2" Opacity="50" Fill="White">
  30.  
  31. </Rectangle>
  32. </Canvas>
  33. </Grid>
  34. </Window>
  35.  
Advertisement
Add Comment
Please, Sign In to add comment