client/src/Iri.Modernisation.Controls/View/NavigationBar/ConsultMenu.xaml
changeset 0 249d70e7b32d
child 4 cf756528609e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Controls/View/NavigationBar/ConsultMenu.xaml	Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,46 @@
+<UserControl
+	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"
+	mc:Ignorable="d"
+	x:Class="Iri.Modernisation.Controls.View.ConsultMenu"
+	xmlns:View="clr-namespace:Iri.Modernisation.Controls.View"
+	d:DesignWidth="184"
+     xmlns:Input="clr-namespace:SLExtensions.Input;assembly=SLExtensions" Height="280"
+	>
+
+	<StackPanel x:Name="ConsultMenuPanel">
+		<TextBlock Style="{StaticResource CommonTextBlock}" x:Name="textBlock"  Text="Consultation" TextWrapping="Wrap" />
+	
+		
+			<Grid>
+				<TextBox  x:Name="SearchBox" Input:CommandService.CommandParameter="Test" KeyUp="SearchBox_KeyUp"   Text="{Binding SearchWord, Mode=TwoWay}" TextWrapping="Wrap" Margin="0,0,67,0"/>
+			<!-- 	<Button Input:CommandService.Command="GetBook" Input:CommandService.CommandParameter="{Binding Text, ElementName=SearchWord}" Margin="113,0,0,0" Content="Search" HorizontalAlignment="Left" Width="63"/> -->
+			</Grid>
+	
+		<StackPanel x:Name="SearchModulePanel" Height="80" Margin="0,0,8,0">
+  
+                <StackPanel x:Name="SearchOptionPanel" Height="72">
+				<RadioButton IsChecked="{Binding SearchAuthor, Mode=TwoWay}" x:Name="AuthorCheckBox" Height="25"  VerticalAlignment="Top" Content="Author" Foreground="White"  />
+				<RadioButton IsChecked="{Binding SearchContributer, Mode=TwoWay}" x:Name="ContributerTextBox" Height="25"  VerticalAlignment="Top" Content="Contributer" Foreground="White" />
+				<RadioButton IsChecked="{Binding SearchTag, Mode=TwoWay}" x:Name="KeyWordCheckBox" Height="25"  VerticalAlignment="Top" Content="KeyWord" Foreground="White" />
+			</StackPanel>
+		</StackPanel>
+		<ListBox x:Name="ResultSearchList" Height="152" ItemsSource="{Binding VideoBooks}"  Margin="0,0,8,0">
+            <ListBox.ItemTemplate>
+                <DataTemplate>
+                    <Grid>
+                        <TextBlock Text="{Binding Title}" Input:CommandService.Command="ClickBook" Input:CommandService.CommandParameter="{Binding}">
+                        
+                        </TextBlock>
+                        <ToolTipService.ToolTip>
+                            <TextBlock Text="{Binding Title}"/>
+                        </ToolTipService.ToolTip>
+                    </Grid>
+                </DataTemplate>
+            </ListBox.ItemTemplate>
+
+        </ListBox>
+	</StackPanel>
+</UserControl>
\ No newline at end of file