From e007b1f1637065a7c90e0ae4347038c318daf927 Mon Sep 17 00:00:00 2001 From: Yoojun Date: Sun, 30 Jun 2024 14:51:48 +0800 Subject: [PATCH] Fix gallery apis --- samples/FlyoutExample/FlyoutExample.csproj | 4 +-- .../NavigationViewExample.csproj | 2 +- .../SettingsPageExample.csproj | 2 +- source/iNKORE.UI.WPF.Modern.Gallery/App.xaml | 5 ++-- .../ContentDialogTestContent.xaml | 6 ++--- .../ControlPages/ContentDialogTestWindow.xaml | 5 ++-- .../ControlPages/ContextMenuPage.xaml | 5 ++-- .../ControlPaletteTestContent.xaml | 23 +++++++++-------- .../ControlPages/DataGridPage.xaml | 5 ++-- .../ControlPages/DatePickerPage.xaml | 9 ++++--- .../ControlPages/FlyoutPage.xaml | 5 ++-- .../ControlPages/GridSplitterPage.xaml | 9 ++++--- .../ControlPages/GroupBoxPage.xaml | 5 ++-- .../ControlPages/InfoBadgePage.xaml | 5 ++-- .../ControlPages/ItemsRepeaterPage.xaml | 25 ++++++++++--------- .../ControlPages/ListViewPage.xaml | 13 +++++----- .../ControlPages/MenuPage.xaml | 5 ++-- .../ControlPages/NumberBoxPage.xaml | 13 +++++----- .../ControlPages/PasswordBoxPage.xaml | 9 ++++--- .../ControlPages/PersonPicturePage.xaml | 9 ++++--- .../ControlPages/PivotPage.xaml | 5 ++-- .../ControlPages/PopupPlacementPage.xaml | 9 ++++--- .../ControlPages/ProgressBarPage.xaml | 5 ++-- .../ControlPages/RadioButtonsPage.xaml | 5 ++-- .../ControlPages/RatingControlPage.xaml | 5 ++-- .../ControlPages/RichEditBoxPage.xaml | 9 ++++--- .../ControlPages/ShadowPage.xaml | 9 ++++--- .../ControlPages/SliderPage.xaml | 9 ++++--- .../ControlPages/SplitViewPage.xaml | 5 ++-- .../ControlPages/StackPanelPage.xaml | 17 +++++++------ .../ControlPages/StatusBarPage.xaml | 5 ++-- .../ControlPages/TabViewPage.xaml | 9 ++++--- .../ControlPages/TestContentDialog.xaml | 5 ++-- .../ControlPages/TextBoxPage.xaml | 9 ++++--- .../ControlPages/ThemesPage.xaml | 9 ++++--- .../ControlPages/ThreadedUIPage.xaml | 9 ++++--- .../ControlPages/ToggleSwitchPage.xaml | 9 ++++--- .../ControlPages/ToolTipPage.xaml | 5 ++-- .../ControlPages/TreeViewPage.xaml | 5 ++-- .../ControlPages/WindowPage.xaml | 9 ++++--- .../Controls/ControlExample.xaml | 5 ++-- .../UserControls/DocumentationPromotion.xaml | 16 ++++++------ .../ItemPage.xaml | 9 ++++--- .../ItemTemplates.xaml | 5 ++-- .../MainWindow.xaml.cs | 2 +- .../NewControlsPage.xaml | 8 +++--- .../SamplePages/SampleCompactSizingPage.xaml | 11 ++++---- .../SamplePages/SampleStandardSizingPage.xaml | 6 ++--- .../SampleSystemBackdropsWindow.xaml | 6 ++--- .../iNKORE.UI.WPF.Modern.Gallery.csproj | 1 + .../SamplesCommon/NonClippingStackPanel.cs | 1 + .../SamplePages/SampleCompactSizingPage.xaml | 6 ++--- .../SamplePages/SampleStandardSizingPage.xaml | 6 ++--- .../SamplesCommon/SamplesCommon.csproj | 4 +++ 54 files changed, 226 insertions(+), 176 deletions(-) diff --git a/samples/FlyoutExample/FlyoutExample.csproj b/samples/FlyoutExample/FlyoutExample.csproj index de770319..2f3c5760 100644 --- a/samples/FlyoutExample/FlyoutExample.csproj +++ b/samples/FlyoutExample/FlyoutExample.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/samples/NavigationViewExample/NavigationViewExample.csproj b/samples/NavigationViewExample/NavigationViewExample.csproj index 459fade1..2f3c5760 100644 --- a/samples/NavigationViewExample/NavigationViewExample.csproj +++ b/samples/NavigationViewExample/NavigationViewExample.csproj @@ -10,7 +10,7 @@ - + diff --git a/samples/SettingsPageExample/SettingsPageExample.csproj b/samples/SettingsPageExample/SettingsPageExample.csproj index d1428f4c..56663324 100644 --- a/samples/SettingsPageExample/SettingsPageExample.csproj +++ b/samples/SettingsPageExample/SettingsPageExample.csproj @@ -9,7 +9,7 @@ - + diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/App.xaml b/source/iNKORE.UI.WPF.Modern.Gallery/App.xaml index 8c3be20f..44b8ed9c 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/App.xaml +++ b/source/iNKORE.UI.WPF.Modern.Gallery/App.xaml @@ -5,6 +5,7 @@ xmlns:common="clr-namespace:iNKORE.UI.WPF.Modern.Gallery.Common" xmlns:local="clr-namespace:iNKORE.UI.WPF.Modern.Gallery" xmlns:presets="clr-namespace:iNKORE.UI.WPF.Modern.Gallery.Presets" + xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" xmlns:sc="clr-namespace:SamplesCommon;assembly=SamplesCommon" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" @@ -81,7 +82,7 @@ - diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContentDialogTestContent.xaml b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContentDialogTestContent.xaml index 5428d024..19ad1350 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContentDialogTestContent.xaml +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContentDialogTestContent.xaml @@ -5,12 +5,12 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:iNKORE.UI.WPF.Modern.Gallery.ControlPages" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" + xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" d:DesignHeight="450" d:DesignWidth="800" mc:Ignorable="d"> - @@ -18,7 +18,7 @@ - + - + diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridSplitterPage.xaml b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridSplitterPage.xaml index c1e85a35..1c753db3 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridSplitterPage.xaml +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridSplitterPage.xaml @@ -5,10 +5,11 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:iNKORE.UI.WPF.Modern.Gallery" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" mc:Ignorable="d"> - + @@ -34,10 +35,10 @@ Text="Column 2" /> - + - + - + diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GroupBoxPage.xaml b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GroupBoxPage.xaml index 946d0aa1..9e17aa25 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GroupBoxPage.xaml +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GroupBoxPage.xaml @@ -4,6 +4,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:iNKORE.UI.WPF.Modern.Gallery.ControlPages" + xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" mc:Ignorable="d"> @@ -21,7 +22,7 @@ - @@ -64,5 +65,5 @@ - + diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBadgePage.xaml b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBadgePage.xaml index 9b638c38..ed084fbe 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBadgePage.xaml +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBadgePage.xaml @@ -6,6 +6,7 @@ xmlns:local="clr-namespace:iNKORE.UI.WPF.Modern.Gallery" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:sys="clr-namespace:System;assembly=System.Runtime" + xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" Title="InfoBadge Page" d:DesignHeight="450" @@ -101,7 +102,7 @@ HorizontalContentAlignment="Stretch" HeaderText="Different InfoBadge Styles"> - @@ -118,7 +119,7 @@ x:Name="infoBadge4" VerticalAlignment="Center" Style="{DynamicResource AttentionDotInfoBadgeStyle}" /> - + diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ItemsRepeaterPage.xaml b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ItemsRepeaterPage.xaml index 7ca09244..d7e78d9e 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ItemsRepeaterPage.xaml +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ItemsRepeaterPage.xaml @@ -5,6 +5,7 @@ xmlns:common="clr-namespace:iNKORE.UI.WPF.Modern.Gallery.Common" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:l="clr-namespace:iNKORE.UI.WPF.Modern.Gallery.ControlPages" + xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf" xmlns:local="clr-namespace:iNKORE.UI.WPF.Modern.Gallery" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:sc="clr-namespace:SamplesCommon;assembly=SamplesCommon" @@ -201,7 +202,7 @@ - + @@ -212,7 +213,7 @@ - +