From 5068ce4a2c4b33fa2f8e1493f0a6ac176100f393 Mon Sep 17 00:00:00 2001 From: Yoojun Zhou Date: Wed, 30 Oct 2024 14:48:14 +0800 Subject: [PATCH] Add example regions --- .../ControlPages/CalendarDatePickerPage.xaml | 5 ----- .../ControlPages/CalendarDatePickerPage.xaml.cs | 9 +++++++++ .../ControlPages/CalendarViewPage.xaml.cs | 10 ++++++++++ .../ControlPages/CanvasPage.xaml.cs | 10 ++++++++++ .../ControlPages/CheckBoxPage.xaml.cs | 10 ++++++++++ .../ControlPages/ComboBoxPage.xaml.cs | 10 ++++++++++ .../ControlPages/CommandBarFlyoutPage.xaml.cs | 10 ++++++++++ .../ControlPages/CommandBarPage.xaml.cs | 10 ++++++++++ .../ControlPages/CompactSizingPage.xaml.cs | 10 ++++++++++ .../ControlPages/ContentDialogPage.xaml.cs | 10 ++++++++++ .../ControlPages/ContextMenuPage.xaml.cs | 10 ++++++++++ .../ControlPages/DataGridPage.xaml.cs | 10 ++++++++++ .../ControlPages/DatePickerPage.xaml.cs | 10 ++++++++++ .../ControlPages/DropDownButtonPage.xaml.cs | 10 ++++++++++ .../ControlPages/ExpanderPage.xaml.cs | 10 ++++++++++ .../ControlPages/FlipViewPage.xaml.cs | 10 ++++++++++ .../ControlPages/FlyoutPage.xaml.cs | 10 ++++++++++ .../ControlPages/GridPage.xaml.cs | 10 ++++++++++ .../ControlPages/GridSplitterPage.xaml.cs | 10 ++++++++++ .../ControlPages/GridViewPage.xaml.cs | 10 ++++++++++ .../ControlPages/GroupBoxPage.xaml.cs | 10 ++++++++++ .../ControlPages/HyperlinkButtonPage.xaml.cs | 10 ++++++++++ .../ControlPages/IconElementPage.xaml.cs | 10 ++++++++++ .../ControlPages/ImagePage.xaml.cs | 10 ++++++++++ .../ControlPages/InfoBadgePage.xaml.cs | 10 ++++++++++ .../ControlPages/InfoBarPage.xaml.cs | 10 ++++++++++ .../ControlPages/ItemsRepeaterPage.xaml.cs | 10 ++++++++++ .../ControlPages/ListBoxPage.xaml.cs | 10 ++++++++++ .../ControlPages/ListViewPage.xaml.cs | 10 ++++++++++ .../ControlPages/MediaPlayerElementPage.xaml.cs | 10 ++++++++++ .../ControlPages/MenuBarPage.xaml.cs | 10 ++++++++++ .../ControlPages/MenuFlyoutPage.xaml.cs | 10 ++++++++++ .../ControlPages/MenuPage.xaml.cs | 10 ++++++++++ .../ControlPages/NavigationViewPage.xaml.cs | 10 ++++++++++ .../ControlPages/NumberBoxPage.xaml.cs | 10 ++++++++++ .../ControlPages/PageTransitionPage.xaml.cs | 10 ++++++++++ .../ControlPages/ParallaxViewPage.xaml.cs | 10 ++++++++++ .../ControlPages/PasswordBoxPage.xaml.cs | 10 ++++++++++ .../ControlPages/PersonPicturePage.xaml.cs | 10 ++++++++++ .../ControlPages/PipsPagerPage.xaml.cs | 10 ++++++++++ .../ControlPages/PivotPage.xaml.cs | 10 ++++++++++ .../ControlPages/PopupPlacementPage.xaml.cs | 10 ++++++++++ .../ControlPages/ProgressBarPage.xaml.cs | 10 ++++++++++ .../ControlPages/ProgressRingPage.xaml.cs | 10 ++++++++++ .../ControlPages/RadialGradientBrushPage.xaml.cs | 10 ++++++++++ .../ControlPages/RadioButtonPage.xaml.cs | 10 ++++++++++ .../ControlPages/RadioButtonsPage.xaml.cs | 10 ++++++++++ .../ControlPages/RatingControlPage.xaml.cs | 10 ++++++++++ .../ControlPages/RelativePanelPage.xaml.cs | 10 ++++++++++ .../ControlPages/RepeatButtonPage.xaml.cs | 10 ++++++++++ .../ControlPages/RichEditBoxPage.xaml.cs | 10 ++++++++++ .../ControlPages/ScrollViewerPage.xaml.cs | 10 ++++++++++ .../ControlPages/ShadowPage.xaml.cs | 10 ++++++++++ .../ControlPages/SliderPage.xaml.cs | 10 ++++++++++ .../ControlPages/SplitButtonPage.xaml.cs | 10 ++++++++++ .../ControlPages/SplitViewPage.xaml.cs | 10 ++++++++++ .../ControlPages/StackPanelPage.xaml.cs | 10 ++++++++++ .../ControlPages/StatusBarPage.xaml.cs | 10 ++++++++++ .../ControlPages/SystemBackdropsPage.xaml.cs | 10 ++++++++++ .../ControlPages/TabViewPage.xaml.cs | 10 ++++++++++ .../ControlPages/TeachingTipPage.xaml.cs | 10 ++++++++++ .../ControlPages/TextBlockPage.xaml.cs | 10 ++++++++++ .../ControlPages/TextBoxPage.xaml.cs | 10 ++++++++++ .../ControlPages/TimePickerPage.xaml.cs | 10 ++++++++++ .../ControlPages/ToggleButtonPage.xaml.cs | 10 ++++++++++ .../ControlPages/ToggleSplitButtonPage.xaml.cs | 10 ++++++++++ .../ControlPages/ToggleSwitchPage.xaml.cs | 10 ++++++++++ .../ControlPages/ToolBarPage.xaml.cs | 10 ++++++++++ .../ControlPages/ToolTipPage.xaml.cs | 10 ++++++++++ .../ControlPages/TreeViewPage.xaml.cs | 10 ++++++++++ .../ControlPages/ViewBoxPage.xaml.cs | 10 ++++++++++ .../ControlPages/WebView2Page.xaml.cs | 10 ++++++++++ 72 files changed, 709 insertions(+), 5 deletions(-) diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarDatePickerPage.xaml b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarDatePickerPage.xaml index 884edee3..cec85a9a 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarDatePickerPage.xaml +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarDatePickerPage.xaml @@ -15,11 +15,6 @@ - - - <DatePicker ui:ControlHelper.PlaceholderText="Pick a date" ui:ControlHelper.Header="Calendar" /> - - diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarDatePickerPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarDatePickerPage.xaml.cs index 858d9992..2bb923d9 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarDatePickerPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarDatePickerPage.xaml.cs @@ -24,5 +24,14 @@ public CalendarDatePickerPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarViewPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarViewPage.xaml.cs index 0ea92e2d..a5687d5d 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarViewPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CalendarViewPage.xaml.cs @@ -74,5 +74,15 @@ private void Page_Loaded(object sender, RoutedEventArgs e) ObservableCollection Substitutions = new ObservableCollection() { Substitution1, Substitution2 }; ExampleAccessories.Substitutions = Substitutions; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CanvasPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CanvasPage.xaml.cs index 91ba3d4e..220a285f 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CanvasPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CanvasPage.xaml.cs @@ -61,5 +61,15 @@ private void Page_Loaded(object sender, RoutedEventArgs e) }); Example1.Substitutions = new ObservableCollection { Substitution1, Substitution2, Substitution3 }; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CheckBoxPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CheckBoxPage.xaml.cs index 0c08b11a..b576e27b 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CheckBoxPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CheckBoxPage.xaml.cs @@ -106,5 +106,15 @@ private void Option_Unchecked(object sender, RoutedEventArgs e) SetCheckedState(); } #endregion + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ComboBoxPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ComboBoxPage.xaml.cs index c292c91e..b7cd1a02 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ComboBoxPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ComboBoxPage.xaml.cs @@ -76,5 +76,15 @@ private void Combo3_Loaded(object sender, RoutedEventArgs e) { Combo3.SelectedIndex = 2; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CommandBarFlyoutPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CommandBarFlyoutPage.xaml.cs index e301b28c..6fee2aec 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CommandBarFlyoutPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CommandBarFlyoutPage.xaml.cs @@ -48,5 +48,15 @@ private void MyImageButton_Click(object sender, RoutedEventArgs e) { ShowMenu((sender as Button).IsMouseOver); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CommandBarPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CommandBarPage.xaml.cs index 315b7af6..189d5876 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CommandBarPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CommandBarPage.xaml.cs @@ -154,5 +154,15 @@ private void Page_Loaded(object sender, RoutedEventArgs e) ObservableCollection Substitutions = new ObservableCollection() { Substitution1, Substitution2 }; Example3.Substitutions = Substitutions; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CompactSizingPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CompactSizingPage.xaml.cs index db089845..65c42491 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CompactSizingPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/CompactSizingPage.xaml.cs @@ -49,5 +49,15 @@ private async void Compact_Checked(object sender, RoutedEventArgs e) page?.CopyState(oldPage); } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContentDialogPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContentDialogPage.xaml.cs index 16faecb3..3b68dc1a 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContentDialogPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContentDialogPage.xaml.cs @@ -37,5 +37,15 @@ private async void ShowDialog_Click(object sender, RoutedEventArgs e) DialogResult.Text = "User cancelled the dialog"; } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContextMenuPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContextMenuPage.xaml.cs index bfe7f5e0..6b57344d 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContextMenuPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ContextMenuPage.xaml.cs @@ -6,5 +6,15 @@ public ContextMenuPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DataGridPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DataGridPage.xaml.cs index 7cdf6223..253ab317 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DataGridPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DataGridPage.xaml.cs @@ -65,5 +65,15 @@ private void LoadTimeTextBlock_MouseLeftButtonUp(object sender, MouseButtonEvent { LoadTimeTextBlock.Visibility = Visibility.Collapsed; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DatePickerPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DatePickerPage.xaml.cs index c139a938..a56d11f2 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DatePickerPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DatePickerPage.xaml.cs @@ -30,5 +30,15 @@ private void BlackoutDatesInPast(object sender, RoutedEventArgs e) { datePicker.BlackoutDates.AddDatesInPast(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DropDownButtonPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DropDownButtonPage.xaml.cs index 964afcea..dba4cfac 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DropDownButtonPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/DropDownButtonPage.xaml.cs @@ -24,5 +24,15 @@ public DropDownButtonPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ExpanderPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ExpanderPage.xaml.cs index 981d33c7..55551de6 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ExpanderPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ExpanderPage.xaml.cs @@ -89,5 +89,15 @@ private void Page_Loaded(object sender, RoutedEventArgs e) ObservableCollection Substitutions = new ObservableCollection { Substitution1, Substitution2, Substitution3, Substitution4 }; Example1.Substitutions = Substitutions; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/FlipViewPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/FlipViewPage.xaml.cs index 9fb3aedc..715f0958 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/FlipViewPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/FlipViewPage.xaml.cs @@ -32,5 +32,15 @@ protected override void OnNavigatedTo(NavigationEventArgs e) Items = ControlInfoDataSource.Instance.Groups.Take(3).SelectMany(g => g.Items).ToList(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/FlyoutPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/FlyoutPage.xaml.cs index 32db124c..9810d0c4 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/FlyoutPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/FlyoutPage.xaml.cs @@ -19,5 +19,15 @@ private void DeleteConfirmation_Click(object sender, RoutedEventArgs e) f.Hide(); } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridPage.xaml.cs index eecd2fc1..6f1ab699 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridPage.xaml.cs @@ -48,5 +48,15 @@ private void Page_Loaded(object sender, RoutedEventArgs e) }); Example1.Substitutions = new ObservableCollection { Substitution1, Substitution2 }; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridSplitterPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridSplitterPage.xaml.cs index 1c9134a4..22e2c5da 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridSplitterPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridSplitterPage.xaml.cs @@ -8,5 +8,15 @@ public GridSplitterPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridViewPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridViewPage.xaml.cs index dd9a41c0..29754508 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridViewPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GridViewPage.xaml.cs @@ -308,5 +308,15 @@ private void ControlExample2_Loaded(object sender, RoutedEventArgs e) ObservableCollection Substitutions = new ObservableCollection() { Substitution1, Substitution2, Substitution3, Substitution4, Substitution5 }; (sender as ControlExample).Substitutions = Substitutions; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GroupBoxPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GroupBoxPage.xaml.cs index c5b8a3dc..1c77c275 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GroupBoxPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/GroupBoxPage.xaml.cs @@ -24,5 +24,15 @@ public GroupBoxPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/HyperlinkButtonPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/HyperlinkButtonPage.xaml.cs index 6437b077..48550791 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/HyperlinkButtonPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/HyperlinkButtonPage.xaml.cs @@ -34,5 +34,15 @@ private void Page_Loaded(object sender, RoutedEventArgs e) ObservableCollection Substitutions = new ObservableCollection() { Substitution }; Example1.Substitutions = Substitutions; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/IconElementPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/IconElementPage.xaml.cs index 26f68e57..b9da6821 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/IconElementPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/IconElementPage.xaml.cs @@ -40,5 +40,15 @@ private void Page_Loaded(object sender, RoutedEventArgs e) ObservableCollection Substitutions = new ObservableCollection() { Substitution }; Example1.Substitutions = Substitutions; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ImagePage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ImagePage.xaml.cs index d927bd51..14c56abb 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ImagePage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ImagePage.xaml.cs @@ -52,5 +52,15 @@ private void Page_Loaded(object sender, RoutedEventArgs e) ObservableCollection Substitutions = new ObservableCollection() { Substitution }; Example3.Substitutions = Substitutions; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBadgePage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBadgePage.xaml.cs index c85de58f..1156d65f 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBadgePage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBadgePage.xaml.cs @@ -108,5 +108,15 @@ private void ValueNumberBox_ValueChanged(NumberBox sender, NumberBoxValueChanged DynamicInfoBadge.Value = (int)args.NewValue; } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBarPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBarPage.xaml.cs index 9f240d89..04e4eb2f 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBarPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/InfoBarPage.xaml.cs @@ -105,5 +105,15 @@ private void ActionButtonComboBox_SelectionChanged(object sender, SelectionChang "; } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ItemsRepeaterPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ItemsRepeaterPage.xaml.cs index 85945384..02f8e5c9 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ItemsRepeaterPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ItemsRepeaterPage.xaml.cs @@ -208,6 +208,16 @@ private void ModifyFirstItemButton_Click(object sender, RoutedEventArgs e) firstContact.ChangeCompany("Line 1\nLine 2"); } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } public class NestedCategory diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ListBoxPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ListBoxPage.xaml.cs index 8b972084..862714f6 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ListBoxPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ListBoxPage.xaml.cs @@ -61,5 +61,15 @@ private void ListBox2_Loaded(object sender, RoutedEventArgs e) { ListBox2.SelectedIndex = 2; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ListViewPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ListViewPage.xaml.cs index aa86b5d9..ae822317 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ListViewPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ListViewPage.xaml.cs @@ -23,6 +23,16 @@ private async void OnLoaded(object sender, RoutedEventArgs e) { DataContext = await Contact.GetContactsAsync(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } public class Contact : INotifyPropertyChanged diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MediaPlayerElementPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MediaPlayerElementPage.xaml.cs index e12224b2..947bf617 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MediaPlayerElementPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MediaPlayerElementPage.xaml.cs @@ -26,5 +26,15 @@ public MediaPlayerElementPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuBarPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuBarPage.xaml.cs index 39c63b3f..b45002ad 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuBarPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuBarPage.xaml.cs @@ -44,5 +44,15 @@ private void OnElementClicked(object sender, RoutedEventArgs e) SelectedOptionText2.Text = "You clicked: " + (sender as MenuItem).Header; } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuFlyoutPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuFlyoutPage.xaml.cs index 61f05931..84a52539 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuFlyoutPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuFlyoutPage.xaml.cs @@ -59,5 +59,15 @@ private void Example5_Loaded(object sender, RoutedEventArgs e) ObservableCollection Substitutions = new ObservableCollection { Substitution1, Substitution2 }; Example2.Substitutions = Substitutions; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuPage.xaml.cs index 56583883..204b8d2f 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/MenuPage.xaml.cs @@ -24,5 +24,15 @@ public MenuPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/NavigationViewPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/NavigationViewPage.xaml.cs index 27c669d6..cb1b902c 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/NavigationViewPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/NavigationViewPage.xaml.cs @@ -371,5 +371,15 @@ private void suppressselectionCheck_Checked_Click(object sender, RoutedEventArgs { SamplePage2Item.SelectsOnInvoked = (sender as CheckBox).IsChecked == true ? false : true; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/NumberBoxPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/NumberBoxPage.xaml.cs index 7831b2dd..8716807f 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/NumberBoxPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/NumberBoxPage.xaml.cs @@ -38,5 +38,15 @@ private void PopupVerticalOffset_ValueChanged(NumberBox sender, NumberBoxValueCh { NumberBox1.Resources["NumberBoxPopupVerticalOffset"] = args.NewValue; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PageTransitionPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PageTransitionPage.xaml.cs index 8d3e524e..827b32f4 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PageTransitionPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PageTransitionPage.xaml.cs @@ -74,5 +74,15 @@ private void TransitionRadioButton_Checked(object sender, RoutedEventArgs e) _transitionInfo = null; } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ParallaxViewPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ParallaxViewPage.xaml.cs index 926c5920..11c9bc1b 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ParallaxViewPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ParallaxViewPage.xaml.cs @@ -32,5 +32,15 @@ protected override void OnNavigatedTo(NavigationEventArgs e) Items = ControlInfoDataSource.Instance.Groups.SelectMany(g => g.Items).OrderBy(i => i.Title).ToList(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PasswordBoxPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PasswordBoxPage.xaml.cs index f94840e5..11daaeba 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PasswordBoxPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PasswordBoxPage.xaml.cs @@ -22,5 +22,15 @@ public PasswordBoxPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PersonPicturePage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PersonPicturePage.xaml.cs index c9165ce2..61d751b5 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PersonPicturePage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PersonPicturePage.xaml.cs @@ -8,5 +8,15 @@ public PersonPicturePage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PipsPagerPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PipsPagerPage.xaml.cs index 7facb79c..caa1f9d1 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PipsPagerPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PipsPagerPage.xaml.cs @@ -98,5 +98,15 @@ private void NextButtonComboBox_SelectionChanged(object sender, SelectionChanged break; } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PivotPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PivotPage.xaml.cs index 127346e4..d9f87081 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PivotPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PivotPage.xaml.cs @@ -8,5 +8,15 @@ public PivotPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PopupPlacementPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PopupPlacementPage.xaml.cs index 340bef9c..aa8d3b4c 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PopupPlacementPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/PopupPlacementPage.xaml.cs @@ -8,5 +8,15 @@ public PopupPlacementPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ProgressBarPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ProgressBarPage.xaml.cs index fbf26d36..e50e6f28 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ProgressBarPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ProgressBarPage.xaml.cs @@ -6,5 +6,15 @@ public ProgressBarPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ProgressRingPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ProgressRingPage.xaml.cs index 65f68217..9782838c 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ProgressRingPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ProgressRingPage.xaml.cs @@ -25,5 +25,15 @@ public ProgressRingPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadialGradientBrushPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadialGradientBrushPage.xaml.cs index c9994cd5..3d354293 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadialGradientBrushPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadialGradientBrushPage.xaml.cs @@ -76,5 +76,15 @@ private void OnSliderValueChanged(object sender, RoutedPropertyChangedEventArgs< RadialGradientBrushExample.RadiusY = RadiusYSlider.Value; RadialGradientBrushExample.GradientOrigin = new Point(OriginXSlider.Value, OriginYSlider.Value); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadioButtonPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadioButtonPage.xaml.cs index c414b78d..2b18dd2a 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadioButtonPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadioButtonPage.xaml.cs @@ -31,5 +31,15 @@ private void RadioButton_Checked(object sender, RoutedEventArgs e) { Control1Output.Text = string.Format("You selected {0}", (sender as RadioButton).Content.ToString()); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadioButtonsPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadioButtonsPage.xaml.cs index 2b678854..3c7a4cbf 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadioButtonsPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RadioButtonsPage.xaml.cs @@ -8,5 +8,15 @@ public RadioButtonsPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RatingControlPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RatingControlPage.xaml.cs index 1a74645f..096f3e41 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RatingControlPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RatingControlPage.xaml.cs @@ -22,5 +22,15 @@ public RatingControlPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RelativePanelPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RelativePanelPage.xaml.cs index 9cf7990c..fed6c4e5 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RelativePanelPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RelativePanelPage.xaml.cs @@ -24,5 +24,15 @@ public RelativePanelPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RepeatButtonPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RepeatButtonPage.xaml.cs index 311c5e0f..670e7124 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RepeatButtonPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RepeatButtonPage.xaml.cs @@ -31,5 +31,15 @@ private void RepeatButton_Click(object sender, RoutedEventArgs e) _clicks += 1; Control1Output.Text = "Number of clicks: " + _clicks; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RichEditBoxPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RichEditBoxPage.xaml.cs index 61d2e34a..3645bcf1 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RichEditBoxPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/RichEditBoxPage.xaml.cs @@ -8,5 +8,15 @@ public RichEditBoxPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ScrollViewerPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ScrollViewerPage.xaml.cs index 58f7eb2b..0cf626cd 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ScrollViewerPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ScrollViewerPage.xaml.cs @@ -95,5 +95,15 @@ private void Page_SizeChanged(object sender, SizeChangedEventArgs e) } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ShadowPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ShadowPage.xaml.cs index d8cb5dc1..8b3a916e 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ShadowPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ShadowPage.xaml.cs @@ -22,5 +22,15 @@ public ShadowPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SliderPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SliderPage.xaml.cs index be509dd2..176699e6 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SliderPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SliderPage.xaml.cs @@ -6,5 +6,15 @@ public SliderPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SplitButtonPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SplitButtonPage.xaml.cs index 15fdbe89..99a71af6 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SplitButtonPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SplitButtonPage.xaml.cs @@ -68,5 +68,15 @@ private void MyRichEditBox_TextChanged(object sender, RoutedEventArgs e) myRichEditBox.Foreground = new SolidColorBrush(currentColor); } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SplitViewPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SplitViewPage.xaml.cs index c44475d4..ea8b10b5 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SplitViewPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SplitViewPage.xaml.cs @@ -76,6 +76,16 @@ private void paneBackgroundCombobox_SelectionChanged(object sender, SelectionCha VisualStateManager.GoToElementState((FrameworkElement)Content, colorString, false); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } public class NavLink diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/StackPanelPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/StackPanelPage.xaml.cs index 135933af..b421e652 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/StackPanelPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/StackPanelPage.xaml.cs @@ -8,5 +8,15 @@ public StackPanelPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/StatusBarPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/StatusBarPage.xaml.cs index 2be339df..4c4e3145 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/StatusBarPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/StatusBarPage.xaml.cs @@ -24,5 +24,15 @@ public StatusBarPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SystemBackdropsPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SystemBackdropsPage.xaml.cs index 5511e935..902cade8 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SystemBackdropsPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/SystemBackdropsPage.xaml.cs @@ -41,5 +41,15 @@ private void createAcrylicWindow_Click(object sender, RoutedEventArgs e) WindowHelper.SetSystemBackdropType(newWindow,BackdropType.Acrylic); newWindow.Show(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TabViewPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TabViewPage.xaml.cs index f59e706d..35d1b5f8 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TabViewPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TabViewPage.xaml.cs @@ -64,5 +64,15 @@ private TabItem CreateNewTab(int index) return newItem; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TeachingTipPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TeachingTipPage.xaml.cs index 882f5278..e751b15d 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TeachingTipPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TeachingTipPage.xaml.cs @@ -48,5 +48,15 @@ private void TestButtonClick3(object sender, RoutedEventArgs e) NavigationRootPage.Current.PageHeader.TeachingTip3.IsOpen = true; } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TextBlockPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TextBlockPage.xaml.cs index 4ade507a..b40b59fe 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TextBlockPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TextBlockPage.xaml.cs @@ -24,5 +24,15 @@ public TextBlockPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TextBoxPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TextBoxPage.xaml.cs index 2412d667..c345c8eb 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TextBoxPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TextBoxPage.xaml.cs @@ -23,5 +23,15 @@ private void OptionsExpander_Collapsed(object sender, RoutedEventArgs e) { OptionsExpander.Header = "Show options"; } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TimePickerPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TimePickerPage.xaml.cs index b5748727..9e7e3b06 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TimePickerPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TimePickerPage.xaml.cs @@ -24,5 +24,15 @@ public TimePickerPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleButtonPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleButtonPage.xaml.cs index bcf6fd73..5d0b7113 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleButtonPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleButtonPage.xaml.cs @@ -107,5 +107,15 @@ private void CheckBox_Loaded(object sender, RoutedEventArgs e) } } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleSplitButtonPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleSplitButtonPage.xaml.cs index 3768d814..c6a37193 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleSplitButtonPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleSplitButtonPage.xaml.cs @@ -67,5 +67,15 @@ private void MyListButton_IsCheckedChanged(ToggleSplitButton sender, ToggleSplit myRichEditBox.Selection.Text = ""; } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleSwitchPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleSwitchPage.xaml.cs index 85eda87a..98cd7392 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleSwitchPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToggleSwitchPage.xaml.cs @@ -24,5 +24,15 @@ public ToggleSwitchPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToolBarPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToolBarPage.xaml.cs index ada4199f..ab4b056c 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToolBarPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToolBarPage.xaml.cs @@ -24,5 +24,15 @@ public ToolBarPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToolTipPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToolTipPage.xaml.cs index 3396bd3c..71e3ae2e 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToolTipPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ToolTipPage.xaml.cs @@ -6,5 +6,15 @@ public ToolTipPage() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TreeViewPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TreeViewPage.xaml.cs index e1bd069b..f198b21c 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TreeViewPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/TreeViewPage.xaml.cs @@ -117,6 +117,16 @@ protected override List GetChildrenCore() return new List(); } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } public class ExplorerItem : INotifyPropertyChanged diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ViewBoxPage.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ViewBoxPage.xaml.cs index e48df0ae..5a4f3483 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ViewBoxPage.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/ViewBoxPage.xaml.cs @@ -69,5 +69,15 @@ private void StretchButton_Checked(object sender, RoutedEventArgs e) } } } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } } diff --git a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/WebView2Page.xaml.cs b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/WebView2Page.xaml.cs index 88894994..a8e5da5a 100644 --- a/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/WebView2Page.xaml.cs +++ b/source/iNKORE.UI.WPF.Modern.Gallery/ControlPages/WebView2Page.xaml.cs @@ -24,5 +24,15 @@ public WebView2Page() { InitializeComponent(); } + + #region Example Code + + public void UpdateExampleCode() + { + + } + + #endregion + } }