<hb:PluginControl x:Class="HMI.SettingControl.SettingControl"
|
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:hb="clr-namespace:HMI.Base;assembly=HMI.Base"
|
xmlns:local="clr-namespace:HMI.SettingControl"
|
mc:Ignorable="d"
|
xmlns:uic="clr-namespace:HMI.UI.Converter;assembly=HMI.UI"
|
xmlns:pw="https://opensource.panuon.com/wpf"
|
xmlns:pu="https://opensource.panuon.com/wpf-ui"
|
xmlns:dp="clr-namespace:HMI.UI.DpUtil;assembly=HMI.UI"
|
Loaded="UserControl_Loaded"
|
Background="{StaticResource WorkspaceBackground}"
|
d:DesignHeight="450" d:DesignWidth="800">
|
<UserControl.Resources>
|
<ResourceDictionary>
|
<ResourceDictionary.MergedDictionaries>
|
<pu:StyleDictionary Includes="TabControl" />
|
<ResourceDictionary Source="/HMI.UI;component/Style/PanuonResource.xaml"/>
|
<ResourceDictionary Source="/HMI.UI;component/Resources/Font/Font.xaml"/>
|
</ResourceDictionary.MergedDictionaries>
|
|
<uic:PathImageConverter x:Key="path2Image"/>
|
<uic:DataGridRowNumberConverter x:Key="rowNumber"/>
|
</ResourceDictionary>
|
</UserControl.Resources>
|
|
<Grid>
|
<Border Style="{StaticResource CardBoarder}">
|
<Grid dp:GridHelper.Space="10">
|
<Grid.RowDefinitions>
|
<RowDefinition Height="Auto"/>
|
<RowDefinition />
|
<RowDefinition Height="Auto"/>
|
</Grid.RowDefinitions>
|
<TextBlock VerticalAlignment="Center" Text="系统设置" FontSize="{StaticResource TitleFontSize}" />
|
<TabControl Grid.Row="1" x:Name="tabControl"
|
pu:TabControlHelper.ItemsSelectedBackground="{StaticResource HoriBar}"
|
pu:TabControlHelper.ItemsSelectedForeground="{StaticResource PrimaryColorContract}"
|
pu:TabControlHelper.ItemsFontSize="14"
|
pu:TabControlHelper.ItemsRibbonLineVisibility="Visible"
|
pu:TabControlHelper.ItemsRibbonLinePlacement="Right"
|
pu:TabControlHelper.HeaderPanelBorderThickness="0,0,1,0"
|
pu:TabControlHelper.HeaderPanelBorderBrush="{StaticResource CommonBoarder}"
|
pu:TabControlHelper.ItemsRibbonLineBrush="Transparent"
|
pu:TabControlHelper.ItemsSelectedRibbonLineBrush="{StaticResource PrimaryColorContract}"
|
pu:TabControlHelper.ItemsRibbonLineMargin="0,5,10,5"
|
pu:TabControlHelper.ItemsRibbonLineThickness="3"
|
Cursor="Hand"
|
pu:TabControlHelper.ItemsPadding="60,0"
|
TabStripPlacement="Left"
|
BorderBrush="{StaticResource CommonBoarder}"
|
ItemsSource="{Binding TabItems}">
|
</TabControl>
|
<StackPanel Grid.Row="2" Style="{StaticResource ButtonGroup}">
|
<Button Style="{StaticResource ResetBtn}" x:Name="resetBtn" Click="Button_Click"/>
|
<Button Style="{StaticResource SaveBtn}" x:Name="saveBtn" Click="Button_Click"/>
|
</StackPanel>
|
</Grid>
|
</Border>
|
</Grid>
|
</hb:PluginControl>
|