Files
Oogynize/Client Services/GUIWPForms/GUIWPForms/ArtifactWall.xaml

64 lines
4.6 KiB
XML

<Window x:Class="Foo.ClientServices.GUIWPForms.ArtifactWall"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Loaded="Window_Loaded" Closing="Window_Closing"
Background="Black" WindowStyle="None" ShowInTaskbar="False"
Title="ArtifactWall" Height="569" Width="968" xmlns:igWindows="http://infragistics.com/Windows" Grid.IsSharedSizeScope="True">
<Window.Resources>
<DataTemplate x:Key="ArtifactWallTemplate">
<Border BorderBrush="{Binding BorderBrush}" BorderThickness="{Binding BorderThickness}">
<StackPanel Height="{Binding StackPanelHeight}" Width="{Binding StackPanelWidth}" Background="{Binding StackPanelBackground}">
<Image Source="{Binding ImagePath}" Height="{Binding ImageHeight}" Width="{Binding ImageWidth}" Stretch="Fill">
<Image.ToolTip>
<TextBlock TextWrapping="Wrap" Width="100" Text="{Binding Title}"/>
</Image.ToolTip>
</Image>
<TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" Background="Black" Foreground="White" VerticalAlignment="Center" Width="{Binding StackPanelWidth}" Height="28" Text="{Binding Title}"/>
<TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" Background="Black" Foreground="White" VerticalAlignment="Center" Width="{Binding StackPanelWidth}" Height="28" Text="{Binding LastLaunch}"/>
<TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" Background="Black" Foreground="White" VerticalAlignment="Center" Width="{Binding StackPanelWidth}" Height="28" Text="{Binding FreqLaunch}"/>
<!--<Label Content="{Binding Title}" Background="Black" Foreground="White"/>-->
</StackPanel>
</Border>
</DataTemplate>
<!--<Image Source="{Binding ImagePath}" Height="840" Width="400">
</Image>-->
<!--<StackPanel>
<Image Source="{Binding ImagePath}" Height="640" Width="400">
<Image.ToolTip>
<TextBlock TextWrapping="Wrap" Width="100" Text="{Binding Title}"/>
</Image.ToolTip>
</Image>
<Label Content="{Binding Title}" Background="Black" Foreground="White"/>
<Label Content="{Binding Note}" Background="Black" Foreground="White"/>
</StackPanel>-->
<!--<ContentPresenter Content="{Binding XPath=Make}" />-->
<!--<ContentPresenter Content="{Binding XPath=Model}" />-->
</Window.Resources>
<Grid Name="grid1" ShowGridLines="False">
<Rectangle x:Name="recGradiant" Stroke="Black" RadiusY="1" RadiusX="1" Grid.ColumnSpan="2">
<Rectangle.Fill>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="1.0">
<GradientStop Color="#FF000000" Offset="0.238"/>
<GradientStop Color="#FE333333" Offset="0.778"/>
<GradientStop Color="#FE202020" Offset="0.613"/>
<GradientStop Color="#FE333333" Offset="0.87"/>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<igWindows:XamCarouselListBox Name="xamCarouselPanel1" Margin="21,59,82,21" ItemsSource="{Binding ElementName=This, Path=ArtifactsDT.DefaultView}" ItemTemplate="{StaticResource ArtifactWallTemplate}" BorderBrush="Transparent" Focusable="False" FlowDirection="LeftToRight" IsHitTestVisible="True" IsTabStop="False">
</igWindows:XamCarouselListBox>
<Button Height="23" HorizontalAlignment="Right" Margin="0,12,5,0" Name="btnClose" VerticalAlignment="Top" Width="20" Click="btnClose_Click">X</Button>
<TextBox Height="23" HorizontalAlignment="Left" Margin="21,23,0,0" Name="txtSearch" VerticalAlignment="Top" Width="201" />
<Label Height="45" Margin="413,14,336,0" Name="lblTitle" VerticalAlignment="Top" Foreground="White" FontSize="24">Title</Label>
<ComboBox Height="23" HorizontalAlignment="Right" Margin="0,23,82,0" Name="comboBox1" VerticalAlignment="Top" Width="93" />
<Button Margin="0,167,15,0" Name="btnUp" Click="btnUp_Click" HorizontalAlignment="Right" Width="52" Height="58" VerticalAlignment="Top">Up</Button>
<Button Height="58" HorizontalAlignment="Right" Margin="0,0,15,171" Name="btnDown" VerticalAlignment="Bottom" Width="52" Click="btnDown_Click">Down</Button>
</Grid>
</Window>