Skip to content

Commit

Permalink
Styles -> Controls
Browse files Browse the repository at this point in the history
  • Loading branch information
NotYoojun committed Jul 19, 2024
1 parent 3443abc commit 50ec7c1
Show file tree
Hide file tree
Showing 54 changed files with 54 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf"
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Slider.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/TextStyles.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Slider.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/TextStyles.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern.Controls;component/Controls/CommandBar/AppBarButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern.Controls;component/Controls/CommandBar/AppBarRepeatButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern.Controls;component/Controls/CommandBar/AppBarToggleButton.xaml" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:iNKORE.UI.WPF.Modern.Controls">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ContextMenu.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ContextMenu.xaml" />
</ResourceDictionary.MergedDictionaries>

<Style BasedOn="{StaticResource ContextMenuStyleBase}" TargetType="local:MenuFlyoutPresenter">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf"
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Button.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Button.xaml" />
<ResourceDictionary>
<ui:BindingProxy x:Key="OverlayCornerRadiusProxy" Value="{DynamicResource OverlayCornerRadius}" />
<ikw:CornerRadiusFilterConverter x:Key="RightCornerRadiusFilterConverter" Filter="Right" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern">

<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/RepeatButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/TextBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/RepeatButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/TextBox.xaml" />
</ResourceDictionary.MergedDictionaries>

<ikw:CornerRadiusFilterConverter x:Key="LeftCornerRadiusFilterConverter" Filter="Left" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern">

<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Button.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Button.xaml" />
</ResourceDictionary.MergedDictionaries>

<sys:Double x:Key="SplitButtonPrimaryButtonSize">32</sys:Double>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
<local:ControlExample.Xaml>
<sys:String xml:space="preserve">
&lt;Page.Resources&gt;
&lt;ResourceDictionary Source=&quot;pack://application:,,,/iNKORE.UI.WPF.Modern;component/Density/iNKORE.UI.WPF.Modern;component/Themes/Styles/Compact.xaml&quot; /&gt;
&lt;ResourceDictionary Source=&quot;pack://application:,,,/iNKORE.UI.WPF.Modern;component/Density/iNKORE.UI.WPF.Modern;component/Themes/Controls/Compact.xaml&quot; /&gt;
&lt;/Page.Resources&gt;

&lt;Grid.Resources&gt;
&lt;ResourceDictionary Source=&quot;pack://application:,,,/iNKORE.UI.WPF.Modern;component/Density/iNKORE.UI.WPF.Modern;component/Themes/Styles/Compact.xaml&quot; /&gt;
&lt;ResourceDictionary Source=&quot;pack://application:,,,/iNKORE.UI.WPF.Modern;component/Density/iNKORE.UI.WPF.Modern;component/Themes/Controls/Compact.xaml&quot; /&gt;
&lt;/Grid.Resources&gt;
</sys:String>
</local:ControlExample.Xaml>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Button.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/TextBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Button.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/TextBox.xaml" />
</ResourceDictionary.MergedDictionaries>

<Thickness x:Key="AutoSuggestBoxTopHeaderMargin">0,0,0,8</Thickness>
Expand Down
82 changes: 41 additions & 41 deletions source/iNKORE.UI.WPF.Modern/Themes/ControlsResources.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,47 +7,47 @@
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Resources/Fonts/Fonts.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/AutoSuggestBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Calendar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/CheckBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ComboBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/CommandBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ContextMenu.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/DataGrid.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/DatePicker.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Expander.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/GridSplitter.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/GroupBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/GroupItem.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Hyperlink.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/InfoBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Label.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ListBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ListView.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Menu.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/MenuItem.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/NavigationBackButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/NavigationView.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/PasswordBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/PipsPager.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Pivot.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ProgressBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/RadioButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/RatingControl.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/RepeatButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ResizeGrip.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/RichTextBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ScrollBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ScrollViewer.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Slider.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/StatusBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/TabControl.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/TeachingTip.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/TimePicker.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ToggleButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ToolBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/TreeView.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/Window.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/AutoSuggestBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Calendar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/CheckBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ComboBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/CommandBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ContextMenu.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/DataGrid.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/DatePicker.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Expander.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/GridSplitter.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/GroupBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/GroupItem.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Hyperlink.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/InfoBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Label.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ListBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ListView.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Menu.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/MenuItem.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/NavigationBackButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/NavigationView.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/PasswordBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/PipsPager.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Pivot.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ProgressBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/RadioButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/RatingControl.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/RepeatButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ResizeGrip.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/RichTextBox.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ScrollBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ScrollViewer.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Slider.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/StatusBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/TabControl.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/TeachingTip.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/TimePicker.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ToggleButton.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ToolBar.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/TreeView.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/Window.xaml" />
</ResourceDictionary.MergedDictionaries>

<m:StaticResource x:Key="ContentControlThemeFontFamily" ResourceKey="{x:Static SystemFonts.MessageFontFamilyKey}" />
Expand Down
2 changes: 1 addition & 1 deletion source/iNKORE.UI.WPF.Modern/Themes/TextContextMenu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:local="clr-namespace:iNKORE.UI.WPF.Modern.Controls">

<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Styles/ContextMenu.xaml" />
<ResourceDictionary Source="/iNKORE.UI.WPF.Modern;component/Themes/Controls/ContextMenu.xaml" />
</ResourceDictionary.MergedDictionaries>

<Style BasedOn="{StaticResource ContextMenuStyleBase}" TargetType="local:TextContextMenu" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
mc:Ignorable="d">

<Page.Resources>
<ResourceDictionary Source="pack://application:,,,/iNKORE.UI.WPF.Modern;component/Density/iNKORE.UI.WPF.Modern;component/Themes/Styles/Compact.xaml" />
<ResourceDictionary Source="pack://application:,,,/iNKORE.UI.WPF.Modern;component/Density/iNKORE.UI.WPF.Modern;component/Themes/Controls/Compact.xaml" />
</Page.Resources>

<Grid Background="{DynamicResource ApplicationPageBackgroundThemeBrush}">
Expand Down

0 comments on commit 50ec7c1

Please sign in to comment.