<UserControl x:Class="MediaAssistant.Controls.MovieSearchControl.MovieSearchControlView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:Controls="clr-namespace:MefBasic.Controls;assembly=MefBasic" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" Width="220"> <Grid> <Border Name="SearchBorder" CornerRadius="20" BorderThickness="1" Padding="2" BorderBrush="#B2B2B2" Background="WhiteSmoke" Height="32"> <Controls:SearchBox Prompt="Search Movies" HorizontalAlignment="Center" VerticalAlignment="Center" Width="200" Height="22" Mode="Regular" ToolTip="Type to search movies" Command="{Binding SearchCommand}" CommandParameter="{Binding Text, RelativeSource={RelativeSource Self}}"> <Controls:SearchBox.ContextMenu> <ContextMenu> <MenuItem Header="Search Movies" IsChecked="{Binding CanSearchMovie}" IsCheckable="True"/> <MenuItem Header="Search Directors" IsChecked="{Binding CanSearchDirectors}" IsCheckable="True"/> <MenuItem Header="Search Writes" IsChecked="{Binding CanSearchWriters}" IsCheckable="True"/> <MenuItem Header="Search Stars" IsChecked="{Binding CanSearchActors}" IsCheckable="True"/> <MenuItem Header="Search Genres" IsChecked="{Binding CanSearchGenres}" IsCheckable="True"/> </ContextMenu> </Controls:SearchBox.ContextMenu> </Controls:SearchBox> </Border> </Grid> </UserControl>
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)