<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
xmlns:water="clr-namespace:Microsoft.Windows.Controls;assembly=Microsoft.Windows.Controls.WatermarkedTextBox"
>
<!-- ******MAIN PAGE STYLES****** -->
<!-- **************************** -->
<!-- Primary Color Brushes -->
<SolidColorBrush x:Key="NavigationBackgroundColorBrush" Color="#FF484848"/>
<SolidColorBrush x:Key="NavigationForegroundColorBrush" Color="#FFFFFFFF"/>
<SolidColorBrush x:Key="HighLightColorBrush" Color="#FF0097FC"/>
<SolidColorBrush x:Key="HoverHyperlinkForegroundColorBrush" Color="#FFEBF7FF"/>
<SolidColorBrush x:Key="HoverHyperLinkBackgroundColorBrush" Color="#FF747474"/>
<SolidColorBrush x:Key="BodyTextColorBrush" Color="#FF313131"/>
<!-- LayoutRoot Grid Style -->
<Style x:Key="LayoutRootGridStyle" TargetType="Grid">
<Setter Property="Background" Value="#FFFFFFFF"/>
</Style>
<!-- Content Border Style -->
<Style x:Key="ContentBorderStyle" TargetType="Border">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="#FFFFFFFF"/>
<Setter Property="BorderThickness" Value="0,0,0,0"/>
<Setter Property="Margin" Value="0,33,0,0"/>
<Setter Property="VerticalAlignment" Value="Stretch"/>
<Setter Property="HorizontalAlignment" Value="Stretch"/>
</Style>
<!-- Content Frame Style -->
<Style x:Key="ContentFrameStyle" TargetType="navigation:Frame">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="Padding" Value="0,0,0,0"/>
</Style>
<!-- Navigation Grid Style -->
<Style x:Key="NavigationGridStyle" TargetType="Grid">
<Setter Property="Background" Value="{StaticResource NavigationBackgroundColorBrush}"/>
<Setter Property="Height" Value="42"/>
<Setter Property="Margin" Value="0"/>
<Setter Property="VerticalAlignment" Value="Top"/>
</Style>
<!-- Branding Border Style -->
<Style x:Key="BrandingBorderStyle" TargetType="Border">
<Setter Property="Height" Value="42"/>
<Setter Property="Margin" Value="25,0,25,0"/>
<Setter Property="VerticalAlignment" Value="Top"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
</Style>
<!-- Links Border Style -->
<Style x:Key="LinksBorderStyle" TargetType="Border">
<Setter Property="Height" Value="42"/>
<Setter Property="Margin" Value="25,0,5,0"/>
<Setter Property="HorizontalAlignment" Value="Right"/>
</Style>
<!-- ******CONTENT PAGE STYLES****** -->
<!-- ******************************* -->
<!-- Page Style -->
<Style x:Key="PageStyle" TargetType="navigation:Page"/>
<!-- Page ScrollViewer Style -->
<Style x:Key="PageScrollViewerStyle" TargetType="ScrollViewer">
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="BorderThickness" Value="0,1,0,1"/>
<Setter Property="Margin" Value="-58,-15,-58,-15"/>
<Setter Property="Padding" Value="58,0,58,0"/>
<Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
<Setter Property="HorizontalScrollBarVisibility" Value="Auto"/>
</Style>
<!-- Content Panel Style -->
<Style x:Key="ContentPanelStyle" TargetType="StackPanel"/>
<!-- Header Text Style -->
<Style x:Key="HeaderTextStyle" TargetType="TextBlock">
<Setter Property="Foreground" Value="{StaticResource BodyTextColorBrush}"/>
<Setter Property="FontSize" Value="15"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="TextWrapping" Value="Wrap"/>
<Setter Property="Margin" Value="0,15,0,4"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
</Style>
<!-- Content Text Style -->
<Style x:Key="ContentTextStyle" TargetType="TextBlock">
<Setter Property="Foreground" Value="{StaticResource BodyTextColorBrush}"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="TextWrapping" Value="Wrap"/>
<Setter Property="Margin" Value="0,2,0,2"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
</Style>
<!-- Page HyperlinkButton Style -->
<Style x:Key="PageHyperlinkButtonStyle" TargetType="HyperlinkButton">
<Setter Property="TargetName" Value="_new"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<!--SiteMap link-->
<Style x:Key="SiteMapLink" TargetType="HyperlinkButton">
<Setter Property="FontSize" Value="12"></Setter>
<Setter Property="Foreground" Value="Black"/>
</Style>
<Style x:Key="SiteMapLable" TargetType="TextBlock">
<Setter Property="FontSize" Value="12"></Setter>
</Style>
<!--Heading-->
<Style x:Key="headings" TargetType="TextBlock">
<Setter Property="Foreground" Value="#9C00FF"/>
<Setter Property="FontSize" Value="19"/>
<Setter Property="FontWeight" Value="Bold"></Setter>
</Style>
<!--Hyperlink buttons for Add New-->
<Style x:Key="Hyperlink" TargetType="HyperlinkButton">
<Setter Property="Foreground" Value="Black"/>
<Setter Property="FontSize" Value="12"/>
</Style>
<!--TextBlock-->
<Style x:Key="Textblock" TargetType="TextBlock">
<Setter Property="Foreground" Value="Black"/>
<Setter Property="TextAlignment" Value="Right"></Setter>
<Setter Property="FontWeight" Value="Bold"></Setter>
</Style>
<!-- Hyperlink Button In DataGrid-->
<Style x:Key="HyperlinkInDataGrid" TargetType="HyperlinkButton">
<Setter Property="Foreground" Value="Aqua"/>
<Setter Property="FontWeight" Value="Bold"></Setter>
<Setter Property="HorizontalAlignment" Value="Center"></Setter>
</Style>
<!--TextBox-->
<Style x:Key="Textboxstyle" TargetType="water:WatermarkedTextBox">
<Setter Property="Foreground" Value="Black"/>
<Setter Property="Height" Value="25"></Setter>
<Setter Property="Margin" Value="20,0"></Setter>
<Setter Property="HorizontalAlignment" Value="Center"></Setter>
</Style>
<!--buttons styles-->
<Style x:Key="Buttonstyle" TargetType="Button">
<Setter Property="Foreground" Value="#FDD11B"/>
<Setter Property="Width" Value="100"></Setter>
<Setter Property="Height" Value="26"></Setter>
<Setter Property="Background" Value="Black"></Setter>
<Setter Property="BorderBrush" Value="Black"></Setter>
<Setter Property="BorderThickness" Value="13"></Setter>
<Setter Property="FontSize" Value="12"></Setter>
</Style>
<Style x:Key="ComboStyle" TargetType="ComboBox">
<Setter Property="Width" Value="250"></Setter>
<Setter Property="Margin" Value="20,0"/>
</Style>
</ResourceDictionary>
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
xmlns:water="clr-namespace:Microsoft.Windows.Controls;assembly=Microsoft.Windows.Controls.WatermarkedTextBox"
>
<!-- ******MAIN PAGE STYLES****** -->
<!-- **************************** -->
<!-- Primary Color Brushes -->
<SolidColorBrush x:Key="NavigationBackgroundColorBrush" Color="#FF484848"/>
<SolidColorBrush x:Key="NavigationForegroundColorBrush" Color="#FFFFFFFF"/>
<SolidColorBrush x:Key="HighLightColorBrush" Color="#FF0097FC"/>
<SolidColorBrush x:Key="HoverHyperlinkForegroundColorBrush" Color="#FFEBF7FF"/>
<SolidColorBrush x:Key="HoverHyperLinkBackgroundColorBrush" Color="#FF747474"/>
<SolidColorBrush x:Key="BodyTextColorBrush" Color="#FF313131"/>
<!-- LayoutRoot Grid Style -->
<Style x:Key="LayoutRootGridStyle" TargetType="Grid">
<Setter Property="Background" Value="#FFFFFFFF"/>
</Style>
<!-- Content Border Style -->
<Style x:Key="ContentBorderStyle" TargetType="Border">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="#FFFFFFFF"/>
<Setter Property="BorderThickness" Value="0,0,0,0"/>
<Setter Property="Margin" Value="0,33,0,0"/>
<Setter Property="VerticalAlignment" Value="Stretch"/>
<Setter Property="HorizontalAlignment" Value="Stretch"/>
</Style>
<!-- Content Frame Style -->
<Style x:Key="ContentFrameStyle" TargetType="navigation:Frame">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="Padding" Value="0,0,0,0"/>
</Style>
<!-- Navigation Grid Style -->
<Style x:Key="NavigationGridStyle" TargetType="Grid">
<Setter Property="Background" Value="{StaticResource NavigationBackgroundColorBrush}"/>
<Setter Property="Height" Value="42"/>
<Setter Property="Margin" Value="0"/>
<Setter Property="VerticalAlignment" Value="Top"/>
</Style>
<!-- Branding Border Style -->
<Style x:Key="BrandingBorderStyle" TargetType="Border">
<Setter Property="Height" Value="42"/>
<Setter Property="Margin" Value="25,0,25,0"/>
<Setter Property="VerticalAlignment" Value="Top"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
</Style>
<!-- Links Border Style -->
<Style x:Key="LinksBorderStyle" TargetType="Border">
<Setter Property="Height" Value="42"/>
<Setter Property="Margin" Value="25,0,5,0"/>
<Setter Property="HorizontalAlignment" Value="Right"/>
</Style>
<!-- ******CONTENT PAGE STYLES****** -->
<!-- ******************************* -->
<!-- Page Style -->
<Style x:Key="PageStyle" TargetType="navigation:Page"/>
<!-- Page ScrollViewer Style -->
<Style x:Key="PageScrollViewerStyle" TargetType="ScrollViewer">
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="BorderThickness" Value="0,1,0,1"/>
<Setter Property="Margin" Value="-58,-15,-58,-15"/>
<Setter Property="Padding" Value="58,0,58,0"/>
<Setter Property="VerticalScrollBarVisibility" Value="Auto"/>
<Setter Property="HorizontalScrollBarVisibility" Value="Auto"/>
</Style>
<!-- Content Panel Style -->
<Style x:Key="ContentPanelStyle" TargetType="StackPanel"/>
<!-- Header Text Style -->
<Style x:Key="HeaderTextStyle" TargetType="TextBlock">
<Setter Property="Foreground" Value="{StaticResource BodyTextColorBrush}"/>
<Setter Property="FontSize" Value="15"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="TextWrapping" Value="Wrap"/>
<Setter Property="Margin" Value="0,15,0,4"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
</Style>
<!-- Content Text Style -->
<Style x:Key="ContentTextStyle" TargetType="TextBlock">
<Setter Property="Foreground" Value="{StaticResource BodyTextColorBrush}"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="TextWrapping" Value="Wrap"/>
<Setter Property="Margin" Value="0,2,0,2"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
</Style>
<!-- Page HyperlinkButton Style -->
<Style x:Key="PageHyperlinkButtonStyle" TargetType="HyperlinkButton">
<Setter Property="TargetName" Value="_new"/>
<Setter Property="FontSize" Value="12"/>
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<!--SiteMap link-->
<Style x:Key="SiteMapLink" TargetType="HyperlinkButton">
<Setter Property="FontSize" Value="12"></Setter>
<Setter Property="Foreground" Value="Black"/>
</Style>
<Style x:Key="SiteMapLable" TargetType="TextBlock">
<Setter Property="FontSize" Value="12"></Setter>
</Style>
<!--Heading-->
<Style x:Key="headings" TargetType="TextBlock">
<Setter Property="Foreground" Value="#9C00FF"/>
<Setter Property="FontSize" Value="19"/>
<Setter Property="FontWeight" Value="Bold"></Setter>
</Style>
<!--Hyperlink buttons for Add New-->
<Style x:Key="Hyperlink" TargetType="HyperlinkButton">
<Setter Property="Foreground" Value="Black"/>
<Setter Property="FontSize" Value="12"/>
</Style>
<!--TextBlock-->
<Style x:Key="Textblock" TargetType="TextBlock">
<Setter Property="Foreground" Value="Black"/>
<Setter Property="TextAlignment" Value="Right"></Setter>
<Setter Property="FontWeight" Value="Bold"></Setter>
</Style>
<!-- Hyperlink Button In DataGrid-->
<Style x:Key="HyperlinkInDataGrid" TargetType="HyperlinkButton">
<Setter Property="Foreground" Value="Aqua"/>
<Setter Property="FontWeight" Value="Bold"></Setter>
<Setter Property="HorizontalAlignment" Value="Center"></Setter>
</Style>
<!--TextBox-->
<Style x:Key="Textboxstyle" TargetType="water:WatermarkedTextBox">
<Setter Property="Foreground" Value="Black"/>
<Setter Property="Height" Value="25"></Setter>
<Setter Property="Margin" Value="20,0"></Setter>
<Setter Property="HorizontalAlignment" Value="Center"></Setter>
</Style>
<!--buttons styles-->
<Style x:Key="Buttonstyle" TargetType="Button">
<Setter Property="Foreground" Value="#FDD11B"/>
<Setter Property="Width" Value="100"></Setter>
<Setter Property="Height" Value="26"></Setter>
<Setter Property="Background" Value="Black"></Setter>
<Setter Property="BorderBrush" Value="Black"></Setter>
<Setter Property="BorderThickness" Value="13"></Setter>
<Setter Property="FontSize" Value="12"></Setter>
</Style>
<Style x:Key="ComboStyle" TargetType="ComboBox">
<Setter Property="Width" Value="250"></Setter>
<Setter Property="Margin" Value="20,0"/>
</Style>
</ResourceDictionary>
No comments:
Post a Comment