Files
BeWoPlaner/BeWo/View/ChatEmojisView.xaml
2016-09-21 10:03:52 +02:00

189 lines
9.3 KiB
XML

<Window x:Class="BeWo.View.ChatEmojisView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:view="clr-namespace:BeWo.View"
Title="Emojis" Height="150" Width="300" WindowStartupLocation="Manual" WindowStyle="None" x:Name="ChatEmojiView" Deactivated="ChatEmojisView_OnFocusableChanged"
AllowsTransparency="True"
Background="AliceBlue"
ResizeMode="NoResize"
BorderThickness="2"
BorderBrush="Black"
>
<Grid>
<TabControl>
<TabItem Header="1" x:Name="TabItem1" >
<ListBox x:Name="EmojisListBox1" HorizontalAlignment="Left" Height="114" VerticalAlignment="Top" Width="285" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectionChanged="OnEmojiClick" >
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type view:DirectoryListing}" >
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding EmojiCode}" Height="22" MinWidth="22" FontSize="18" Foreground="OrangeRed" Margin="1" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
</TabItem>
<TabItem Header="2" x:Name="TabItem2">
<ListBox x:Name="EmojisListBox2" HorizontalAlignment="Left" Height="114" VerticalAlignment="Top" Width="285" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectionChanged="OnEmojiClick" >
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type view:DirectoryListing}">
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding EmojiCode}" Height="22" Width="22" FontSize="18" Foreground="OrangeRed"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
</TabItem>
<TabItem Header="3" x:Name="TabItem3">
<ListBox x:Name="EmojisListBox3" HorizontalAlignment="Left" Height="114" VerticalAlignment="Top" Width="285" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectionChanged="OnEmojiClick" >
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type view:DirectoryListing}">
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding EmojiCode}" Height="22" Width="22" FontSize="18" Foreground="OrangeRed"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
</TabItem>
<TabItem Header="4" x:Name="TabItem4">
<ListBox x:Name="EmojisListBox4" HorizontalAlignment="Left" Height="114" VerticalAlignment="Top" Width="285" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectionChanged="OnEmojiClick" >
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type view:DirectoryListing}">
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding EmojiCode}" Height="22" Width="22" FontSize="18" Foreground="OrangeRed"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
</TabItem>
<TabItem Header="5" x:Name="TabItem5">
<ListBox x:Name="EmojisListBox5" HorizontalAlignment="Left" Height="114" VerticalAlignment="Top" Width="285" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectionChanged="OnEmojiClick" >
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type view:DirectoryListing}">
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding EmojiCode}" Height="22" Width="22" FontSize="18" Foreground="OrangeRed"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
</TabItem>
<TabItem Header="6" x:Name="TabItem6">
<ListBox x:Name="EmojisListBox6" HorizontalAlignment="Left" Height="114" VerticalAlignment="Top" Width="285" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectionChanged="OnEmojiClick" >
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type view:DirectoryListing}">
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding EmojiCode}" Height="22" Width="22" FontSize="18" Foreground="OrangeRed"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
</TabItem>
<TabItem Header="7" x:Name="TabItem7">
<ListBox x:Name="EmojisListBox7" HorizontalAlignment="Left" Height="114" VerticalAlignment="Top" Width="285" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectionChanged="OnEmojiClick" >
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type view:DirectoryListing}">
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding EmojiCode}" Height="22" Width="22" FontSize="18" Foreground="OrangeRed"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
</TabItem>
<!-- <TabItem Header="8" x:Name="TabItem8">
<ListBox x:Name="EmojisListBox8" HorizontalAlignment="Left" Height="114" VerticalAlignment="Top" Width="285" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectionChanged="OnEmojiClick" >
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type view:DirectoryListing}">
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding EmojiCode}" Height="22" Width="22" FontSize="18"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
</TabItem>
<TabItem Header="9">
<ListBox x:Name="EmojisListBox" HorizontalAlignment="Left" Height="114" VerticalAlignment="Top" Width="285" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectionChanged="OnEmojiClick" >
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type view:DirectoryListing}">
<StackPanel Orientation="Vertical">
<TextBlock Text="{Binding EmojiCode}" Height="22" Width="22" FontSize="18"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
</TabItem>-->
</TabControl>
<!--
<ListBox x:Name="EmojisListBox" HorizontalAlignment="Left" Height="100" VerticalAlignment="Top" Width="200" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectionChanged="OnEmojiClick" >
<ListBox.ItemTemplate>
<DataTemplate DataType="{x:Type view:DirectoryListing}">
<StackPanel Orientation="Vertical">
// diese bereich muss auskommentiert werden <Image Margin="3" Source="{Binding Pfad}" Height="16" Width="16" />
<TextBlock Text="{Binding EmojiCode}" Height="22" Width="22" FontSize="18"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel IsItemsHost="True" Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
-->
</Grid>
</Window>