initial
This commit is contained in:
120
UserControls/PortalSearch.xaml
Normal file
120
UserControls/PortalSearch.xaml
Normal file
@@ -0,0 +1,120 @@
|
||||
<UserControl x:Class="C4IT_CustomerPanel.UserControls.PortalSearch"
|
||||
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:local="clr-namespace:C4IT_CustomerPanel.UserControls"
|
||||
xmlns:resx="clr-namespace:C4IT_CustomerPanel.Properties"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450"
|
||||
d:DesignWidth="800">
|
||||
<UserControl.Resources>
|
||||
<Style TargetType="Button"
|
||||
x:Key="ButtonStyle">
|
||||
<Setter Property="Foreground"
|
||||
Value="{DynamicResource navForeground}" />
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource inactiveButtonColor}" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Button}">
|
||||
<Border Background="{TemplateBinding Background}">
|
||||
<ContentPresenter HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center" />
|
||||
</Border>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<Trigger Property="IsMouseOver"
|
||||
Value="True">
|
||||
<Setter Property="Background"
|
||||
Value="{DynamicResource activeButtonColor}" />
|
||||
</Trigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</UserControl.Resources>
|
||||
|
||||
<Grid x:Name="GridSsp"
|
||||
x:FieldModifier="private"
|
||||
Canvas.Left="1500"
|
||||
Width="500"
|
||||
Canvas.Top="10">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="100*" />
|
||||
<ColumnDefinition Width="185*" />
|
||||
<ColumnDefinition Width="185*" />
|
||||
<ColumnDefinition Width="30*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="6*" />
|
||||
<RowDefinition Height="7*" />
|
||||
</Grid.RowDefinitions>
|
||||
<Canvas x:Name="CanvasSearch"
|
||||
x:FieldModifier="private"
|
||||
Grid.Column="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Grid.Row="0"
|
||||
Height="70">
|
||||
<Image Source="{DynamicResource appbar_magnify}"
|
||||
Width="48"
|
||||
Tag="MAINICO" />
|
||||
<Label Foreground="{DynamicResource mainForeground}"
|
||||
x:Name="LblSearch"
|
||||
x:FieldModifier="private"
|
||||
Content="{x:Static resx:Resources.search}"
|
||||
FontSize="16"
|
||||
Canvas.Top="10"
|
||||
Canvas.Left="40" />
|
||||
<StackPanel Orientation="Horizontal"
|
||||
Width="350"
|
||||
Canvas.Top="45"
|
||||
Canvas.Left="10">
|
||||
<TextBox x:Name="TxtSearchTerm"
|
||||
x:FieldModifier="private"
|
||||
Width="320"
|
||||
Background="White"
|
||||
Height="25"
|
||||
FontSize="16"
|
||||
Panel.ZIndex="1110"
|
||||
KeyDown="OnSearchBoxEnter"
|
||||
Margin="5,0,0,0" />
|
||||
<Image Source="../Resources/icons/light/appbar.magnify.png"
|
||||
Width="48"
|
||||
PreviewMouseDown="OnSearchClicked"
|
||||
Cursor="Hand"
|
||||
Visibility="Collapsed" />
|
||||
</StackPanel>
|
||||
</Canvas>
|
||||
<Canvas Grid.Column="1"
|
||||
Grid.ColumnSpan="2"
|
||||
Grid.Row="1"
|
||||
Height="400">
|
||||
<Button Style="{StaticResource ButtonStyle}"
|
||||
x:Name="BtnSspLink"
|
||||
x:FieldModifier="private"
|
||||
Width="320"
|
||||
Canvas.Left="15"
|
||||
Height="40"
|
||||
Content="Self Service Portal"
|
||||
FontSize="18"
|
||||
Canvas.Top="40"
|
||||
Click="OnSSPLinkClicked" />
|
||||
<Button Foreground="{DynamicResource navForeground}"
|
||||
x:Name="BtnMyserviceLink"
|
||||
x:FieldModifier="private"
|
||||
Style="{StaticResource ButtonStyle}"
|
||||
Width="320"
|
||||
Canvas.Left="15"
|
||||
Height="40"
|
||||
Content="{x:Static resx:Resources.myservices}"
|
||||
Tag="LABEL"
|
||||
FontSize="18"
|
||||
Canvas.Top="90"
|
||||
Click="OnMyServiceLinkClicked" />
|
||||
<!--<Separator Canvas.Left="15" Width="320" Canvas.Top="140" Height="2" />-->
|
||||
<!--<StackPanel x:Name="CustomLinkPanel" Orientation="Vertical" Canvas.Top="150"/>-->
|
||||
</Canvas>
|
||||
</Grid>
|
||||
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user