WPFControls ThemePack
1.0.0
ชุดรูปแบบที่ออกแบบเองสำหรับการควบคุม WPF เพื่อให้แอปของคุณดูดีขึ้น ง่ายต่อการปรับเปลี่ยน
ชุดรูปแบบนี้ทำขึ้นเพื่อให้มีการควบคุมสไตล์แต่ละชุดสำหรับแอพ WPF ซึ่งขึ้นอยู่กับคุณสมบัติที่กำหนดค่าได้น้อย (เช่นสีและขนาด) ดังนั้นจึงสามารถปรับเปลี่ยนได้ง่ายตามข้อกำหนดการออกแบบ
สถานะปัจจุบัน: รุ่นนี้มีตัวควบคุมที่ใช้กันมากที่สุด การควบคุมเพิ่มเติมกำลังจะมา
แผนเพิ่มเติมเกี่ยวกับการพัฒนาธีมและการเผยแพร่: อัปเดตเทมเพลตที่ไม่สมบูรณ์เพิ่มค่าที่กำหนดค่าได้อีกสองสามอย่างเช่นรัศมีมุมสำหรับการควบคุมภาพเคลื่อนไหว ฯลฯ
หมายเหตุ: ในบางกรณีคุณอาจต้องใช้สไตล์โดยตรง (เช่นปุ่ม, ข้อความ, Windows)
<Application x:Class="ThemeWindow.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Theme_001;component/Themes/Values/Numerics.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/ColorSchemes/Light.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Icons/Icons.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/Buttons.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/ContextMenu.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/DatePicker.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/Form.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/Menu.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/Notifications.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/Options.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/ProgressBar.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/Scroll.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/Slider.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/TabControl.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/Texts.xaml"/>
<ResourceDictionary Source="/Theme_001;component/Themes/Styles/Window.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>
<base:BaseWindow x:Class="ThemeWindow.Windows.MainWindow"
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"
xmlns:base="clr-namespace:ThemePack.Common.Base;assembly=ThemePack.Common"
xmlns:c="clr-namespace:ThemePack.Common.AttachedProperties;assembly=ThemePack.Common"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
mc:Ignorable="d"
Closing="Window_Closing"
Title="Theme preview" Width="900" Height="600" Style="{StaticResource Window.ModalStyle.NormalStyle}" SizeToContent="Manual">
</base:BaseWindow>