Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="CommandWingDriver.UI.Controls.ScreenSelectionWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="...."
- mc:Ignorable="d"
- Title="Screen Selection" Height="450" Width="800"
- WindowStartupLocation="Manual"
- ResizeMode="NoResize"
- WindowStyle="None"
- Background="Black"
- Topmost="True"
- Cursor="Cross"
- ShowInTaskbar="False"
- >
- <WindowChrome.WindowChrome>
- <WindowChrome GlassFrameThickness="0"/>
- </WindowChrome.WindowChrome>
- <Grid>
- <Image x:Name="BackgroundImage" Opacity="0.5" Panel.ZIndex="0">
- </Image>
- <Canvas x:Name="Canvas" Background="Transparent" Panel.ZIndex="1">
- <Rectangle Stroke="White" StrokeThickness="2" Height="{Binding ActualHeight, ElementName=Canvas}" Width="{Binding ActualWidth, ElementName=Canvas}">
- </Rectangle>
- <Rectangle x:Name="displayRectangle" Visibility="Hidden" Stroke="White" StrokeThickness="2" Opacity="50" Fill="White">
- </Rectangle>
- </Canvas>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment