26 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<Window x:Class="Future.Contract.BubbleWindow"
 | 
						|
        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="clr-namespace:Future.Contract"
 | 
						|
        mc:Ignorable="d"
 | 
						|
        Name="own" AllowsTransparency="True" ShowInTaskbar="False" Background="{x:Null}" Topmost="True" WindowState="Maximized"
 | 
						|
        Title="BubbleWindow" d:Height="450" d:Width="800" WindowStyle="None" Focusable="False" WindowStartupLocation="CenterScreen">
 | 
						|
    <Grid>
 | 
						|
        <Popup Name="XPopup" Opened="XPopup_Opened" Closed="UITimerTick" 
 | 
						|
               StaysOpen="False" IsOpen="False" AllowsTransparency="True" 
 | 
						|
               VerticalAlignment="Center" HorizontalAlignment="Center"
 | 
						|
               VerticalOffset="100" HorizontalOffset="100"
 | 
						|
               Placement="Top" PlacementTarget="{Binding Placement,ElementName=own}">
 | 
						|
        </Popup>
 | 
						|
        <Border CornerRadius="4" Background="{Binding BackBrush,ElementName=own}" VerticalAlignment="Center" HorizontalAlignment="Center">
 | 
						|
            <DockPanel LastChildFill="True">
 | 
						|
                <Viewbox MaxWidth="32" MaxHeight="32" DockPanel.Dock="Left" Stretch="Uniform"/>
 | 
						|
                <ContentControl Margin="12" VerticalAlignment="Center" HorizontalAlignment="Left" FontSize="16" MaxWidth="800"
 | 
						|
                                Content="{Binding InfoContent,ElementName=own}" Foreground="{Binding InfoBrush,ElementName=own}"/>
 | 
						|
            </DockPanel>
 | 
						|
        </Border>
 | 
						|
    </Grid>
 | 
						|
</Window>
 |