diff --git a/Samples.sln b/Samples.sln
index 2f3cbeb..b5e1c34 100644
--- a/Samples.sln
+++ b/Samples.sln
@@ -5,17 +5,19 @@ VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ch03_DataBinding", "ch03_DataBinding", "{E9273679-4D52-465F-8C23-8096DD8C2A7B}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_BindingToA2dArray_v1", "ch03_DataBinding\ex_BindingToA2dArray_v1\ex_BindingToA2dArray_v1.csproj", "{AB5CCC4D-10B3-4116-A6B3-D1F720507608}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ex_BindingToA2dArray_v1", "ch03_DataBinding\ex_BindingToA2dArray_v1\ex_BindingToA2dArray_v1.csproj", "{AB5CCC4D-10B3-4116-A6B3-D1F720507608}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_BindingToA2dArray_context", "ch03_DataBinding\ex_BindingToA2dArray_context\ex_BindingToA2dArray_context.csproj", "{43E82F4F-6EBA-4708-A392-1B2E8130A19E}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ex_BindingToA2dArray_context", "ch03_DataBinding\ex_BindingToA2dArray_context\ex_BindingToA2dArray_context.csproj", "{43E82F4F-6EBA-4708-A392-1B2E8130A19E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_BindingToA2dArray_v2", "ch03_DataBinding\ex_BindingToA2dArray_v2\ex_BindingToA2dArray_v2.csproj", "{C93C6EF6-C535-44C0-B5BF-0DD4988F3FA4}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ex_BindingToA2dArray_v2", "ch03_DataBinding\ex_BindingToA2dArray_v2\ex_BindingToA2dArray_v2.csproj", "{C93C6EF6-C535-44C0-B5BF-0DD4988F3FA4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ch02_DesigningViews", "ch02_DesigningViews", "{1E07D063-F377-413B-B9A0-FB94AF14B1A9}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_ShadowLabel", "ch02_DesigningViews\ex_ShadowLabel\ex_ShadowLabel.csproj", "{62F4D4C2-7C79-4090-BB4B-20F848322113}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ex_ShadowLabel", "ch02_DesigningViews\ex_ShadowLabel\ex_ShadowLabel.csproj", "{62F4D4C2-7C79-4090-BB4B-20F848322113}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ex_OutlineText", "ch02_DesigningViews\ex_OutlineText\ex_OutlineText.csproj", "{EAD02985-9DBA-459D-B12E-32A89D2C95C5}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ex_OutlineText", "ch02_DesigningViews\ex_OutlineText\ex_OutlineText.csproj", "{EAD02985-9DBA-459D-B12E-32A89D2C95C5}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ex_Toolbar", "ch02_DesigningViews\ex_Toolbar\ex_Toolbar.csproj", "{0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -25,6 +27,7 @@ Global
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{AB5CCC4D-10B3-4116-A6B3-D1F720507608}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AB5CCC4D-10B3-4116-A6B3-D1F720507608}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {AB5CCC4D-10B3-4116-A6B3-D1F720507608}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{AB5CCC4D-10B3-4116-A6B3-D1F720507608}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AB5CCC4D-10B3-4116-A6B3-D1F720507608}.Release|Any CPU.Build.0 = Release|Any CPU
{43E82F4F-6EBA-4708-A392-1B2E8130A19E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
@@ -33,16 +36,24 @@ Global
{43E82F4F-6EBA-4708-A392-1B2E8130A19E}.Release|Any CPU.Build.0 = Release|Any CPU
{C93C6EF6-C535-44C0-B5BF-0DD4988F3FA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C93C6EF6-C535-44C0-B5BF-0DD4988F3FA4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {C93C6EF6-C535-44C0-B5BF-0DD4988F3FA4}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{C93C6EF6-C535-44C0-B5BF-0DD4988F3FA4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C93C6EF6-C535-44C0-B5BF-0DD4988F3FA4}.Release|Any CPU.Build.0 = Release|Any CPU
{62F4D4C2-7C79-4090-BB4B-20F848322113}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{62F4D4C2-7C79-4090-BB4B-20F848322113}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {62F4D4C2-7C79-4090-BB4B-20F848322113}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{62F4D4C2-7C79-4090-BB4B-20F848322113}.Release|Any CPU.ActiveCfg = Release|Any CPU
{62F4D4C2-7C79-4090-BB4B-20F848322113}.Release|Any CPU.Build.0 = Release|Any CPU
{EAD02985-9DBA-459D-B12E-32A89D2C95C5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EAD02985-9DBA-459D-B12E-32A89D2C95C5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EAD02985-9DBA-459D-B12E-32A89D2C95C5}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{EAD02985-9DBA-459D-B12E-32A89D2C95C5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EAD02985-9DBA-459D-B12E-32A89D2C95C5}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -53,5 +64,6 @@ Global
{C93C6EF6-C535-44C0-B5BF-0DD4988F3FA4} = {E9273679-4D52-465F-8C23-8096DD8C2A7B}
{62F4D4C2-7C79-4090-BB4B-20F848322113} = {1E07D063-F377-413B-B9A0-FB94AF14B1A9}
{EAD02985-9DBA-459D-B12E-32A89D2C95C5} = {1E07D063-F377-413B-B9A0-FB94AF14B1A9}
+ {0D77C4EE-DD5C-4DCB-8FCB-F3548BDD398C} = {1E07D063-F377-413B-B9A0-FB94AF14B1A9}
EndGlobalSection
EndGlobal
diff --git a/ch02_DesigningViews/ex_OutlineText/ex_OutlineText.csproj b/ch02_DesigningViews/ex_OutlineText/ex_OutlineText.csproj
index db82c2d..db815d0 100644
--- a/ch02_DesigningViews/ex_OutlineText/ex_OutlineText.csproj
+++ b/ch02_DesigningViews/ex_OutlineText/ex_OutlineText.csproj
@@ -24,7 +24,7 @@
ex_OutlineText
- com.companyname.ex_outlinetext
+ com.companyname.exoutlinetext
1.0
diff --git a/ch02_DesigningViews/ex_ShadowLabel/ex_ShadowLabel.csproj b/ch02_DesigningViews/ex_ShadowLabel/ex_ShadowLabel.csproj
index e753bbc..aab91c9 100644
--- a/ch02_DesigningViews/ex_ShadowLabel/ex_ShadowLabel.csproj
+++ b/ch02_DesigningViews/ex_ShadowLabel/ex_ShadowLabel.csproj
@@ -24,7 +24,7 @@
ex_OutlineText
- com.companyname.ex_outlinetext
+ com.companyname.exoutlinetext
1.0
diff --git a/ch02_DesigningViews/ex_Toolbar/App.xaml b/ch02_DesigningViews/ex_Toolbar/App.xaml
new file mode 100644
index 0000000..07afafd
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/App.xaml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/App.xaml.cs b/ch02_DesigningViews/ex_Toolbar/App.xaml.cs
new file mode 100644
index 0000000..764e1f5
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/App.xaml.cs
@@ -0,0 +1,11 @@
+namespace ex_Toolbar;
+
+public partial class App : Application
+{
+ public App()
+ {
+ InitializeComponent();
+
+ MainPage = new AppShell();
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/AppShell.xaml b/ch02_DesigningViews/ex_Toolbar/AppShell.xaml
new file mode 100644
index 0000000..92aaa56
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/AppShell.xaml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/AppShell.xaml.cs b/ch02_DesigningViews/ex_Toolbar/AppShell.xaml.cs
new file mode 100644
index 0000000..a6c8b01
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/AppShell.xaml.cs
@@ -0,0 +1,9 @@
+namespace ex_Toolbar;
+
+public partial class AppShell : Shell
+{
+ public AppShell()
+ {
+ InitializeComponent();
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/MainPage.xaml b/ch02_DesigningViews/ex_Toolbar/MainPage.xaml
new file mode 100644
index 0000000..e0abb18
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/MainPage.xaml
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/MainPage.xaml.cs b/ch02_DesigningViews/ex_Toolbar/MainPage.xaml.cs
new file mode 100644
index 0000000..caa7345
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/MainPage.xaml.cs
@@ -0,0 +1,24 @@
+namespace ex_Toolbar;
+
+public partial class MainPage : ContentPage
+{
+ int count = 0;
+
+ public MainPage()
+ {
+ InitializeComponent();
+ }
+
+ private void OnCounterClicked(object sender, EventArgs e)
+ {
+ count++;
+
+ if (count == 1)
+ CounterBtn.Text = $"Clicked {count} time";
+ else
+ CounterBtn.Text = $"Clicked {count} times";
+
+ SemanticScreenReader.Announce(CounterBtn.Text);
+ }
+}
+
diff --git a/ch02_DesigningViews/ex_Toolbar/MauiProgram.cs b/ch02_DesigningViews/ex_Toolbar/MauiProgram.cs
new file mode 100644
index 0000000..da0d828
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/MauiProgram.cs
@@ -0,0 +1,24 @@
+using Microsoft.Extensions.Logging;
+
+namespace ex_Toolbar;
+
+public static class MauiProgram
+{
+ public static MauiApp CreateMauiApp()
+ {
+ var builder = MauiApp.CreateBuilder();
+ builder
+ .UseMauiApp()
+ .ConfigureFonts(fonts =>
+ {
+ fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
+ fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
+ });
+
+#if DEBUG
+ builder.Logging.AddDebug();
+#endif
+
+ return builder.Build();
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Android/AndroidManifest.xml b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/AndroidManifest.xml
new file mode 100644
index 0000000..bdec9b5
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/AndroidManifest.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainActivity.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainActivity.cs
new file mode 100644
index 0000000..5e5fa90
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainActivity.cs
@@ -0,0 +1,10 @@
+using Android.App;
+using Android.Content.PM;
+using Android.OS;
+
+namespace ex_Toolbar;
+
+[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
+public class MainActivity : MauiAppCompatActivity
+{
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainApplication.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainApplication.cs
new file mode 100644
index 0000000..1449a28
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/MainApplication.cs
@@ -0,0 +1,15 @@
+using Android.App;
+using Android.Runtime;
+
+namespace ex_Toolbar;
+
+[Application]
+public class MainApplication : MauiApplication
+{
+ public MainApplication(IntPtr handle, JniHandleOwnership ownership)
+ : base(handle, ownership)
+ {
+ }
+
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Android/Resources/values/colors.xml b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/Resources/values/colors.xml
new file mode 100644
index 0000000..5cd1604
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Android/Resources/values/colors.xml
@@ -0,0 +1,6 @@
+
+
+ #512BD4
+ #2B0B98
+ #2B0B98
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/AppDelegate.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/AppDelegate.cs
new file mode 100644
index 0000000..25d9cb5
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/AppDelegate.cs
@@ -0,0 +1,9 @@
+using Foundation;
+
+namespace ex_Toolbar;
+
+[Register("AppDelegate")]
+public class AppDelegate : MauiUIApplicationDelegate
+{
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Entitlements.plist b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Entitlements.plist
new file mode 100644
index 0000000..8e87c0c
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Entitlements.plist
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+ com.apple.security.app-sandbox
+
+
+ com.apple.security.network.client
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Info.plist b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Info.plist
new file mode 100644
index 0000000..f24aacc
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Info.plist
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ UIDeviceFamily
+
+ 2
+
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ XSAppIconAssets
+ Assets.xcassets/appicon.appiconset
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Program.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Program.cs
new file mode 100644
index 0000000..311e901
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/MacCatalyst/Program.cs
@@ -0,0 +1,15 @@
+using ObjCRuntime;
+using UIKit;
+
+namespace ex_Toolbar;
+
+public class Program
+{
+ // This is the main entry point of the application.
+ static void Main(string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main(args, null, typeof(AppDelegate));
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/Main.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/Main.cs
new file mode 100644
index 0000000..3aac91d
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/Main.cs
@@ -0,0 +1,16 @@
+using System;
+using Microsoft.Maui;
+using Microsoft.Maui.Hosting;
+
+namespace ex_Toolbar;
+
+class Program : MauiApplication
+{
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+
+ static void Main(string[] args)
+ {
+ var app = new Program();
+ app.Run(args);
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/tizen-manifest.xml b/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/tizen-manifest.xml
new file mode 100644
index 0000000..cc54ad6
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Tizen/tizen-manifest.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+ maui-appicon-placeholder
+
+
+
+
+ http://tizen.org/privilege/internet
+
+
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml
new file mode 100644
index 0000000..fcf8f62
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml
@@ -0,0 +1,8 @@
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml.cs
new file mode 100644
index 0000000..997286b
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/App.xaml.cs
@@ -0,0 +1,24 @@
+using Microsoft.UI.Xaml;
+
+// To learn more about WinUI, the WinUI project structure,
+// and more about our project templates, see: http://aka.ms/winui-project-info.
+
+namespace ex_Toolbar.WinUI;
+
+///
+/// Provides application-specific behavior to supplement the default Application class.
+///
+public partial class App : MauiWinUIApplication
+{
+ ///
+ /// Initializes the singleton application object. This is the first line of authored code
+ /// executed, and as such is the logical equivalent of main() or WinMain().
+ ///
+ public App()
+ {
+ this.InitializeComponent();
+ }
+
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/Package.appxmanifest b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/Package.appxmanifest
new file mode 100644
index 0000000..91c53f5
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/Package.appxmanifest
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+ $placeholder$
+ User Name
+ $placeholder$.png
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/app.manifest b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/app.manifest
new file mode 100644
index 0000000..30b65e6
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/Windows/app.manifest
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+ true/PM
+ PerMonitorV2, PerMonitor
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/AppDelegate.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/AppDelegate.cs
new file mode 100644
index 0000000..25d9cb5
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/AppDelegate.cs
@@ -0,0 +1,9 @@
+using Foundation;
+
+namespace ex_Toolbar;
+
+[Register("AppDelegate")]
+public class AppDelegate : MauiUIApplicationDelegate
+{
+ protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Info.plist b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Info.plist
new file mode 100644
index 0000000..358337b
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Info.plist
@@ -0,0 +1,32 @@
+
+
+
+
+ LSRequiresIPhoneOS
+
+ UIDeviceFamily
+
+ 1
+ 2
+
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ XSAppIconAssets
+ Assets.xcassets/appicon.appiconset
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Program.cs b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Program.cs
new file mode 100644
index 0000000..311e901
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Platforms/iOS/Program.cs
@@ -0,0 +1,15 @@
+using ObjCRuntime;
+using UIKit;
+
+namespace ex_Toolbar;
+
+public class Program
+{
+ // This is the main entry point of the application.
+ static void Main(string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main(args, null, typeof(AppDelegate));
+ }
+}
diff --git a/ch02_DesigningViews/ex_Toolbar/Properties/launchSettings.json b/ch02_DesigningViews/ex_Toolbar/Properties/launchSettings.json
new file mode 100644
index 0000000..c16206a
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Properties/launchSettings.json
@@ -0,0 +1,8 @@
+{
+ "profiles": {
+ "Windows Machine": {
+ "commandName": "MsixPackage",
+ "nativeDebugging": false
+ }
+ }
+}
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appicon.svg b/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appicon.svg
new file mode 100644
index 0000000..5f04fcf
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appicon.svg
@@ -0,0 +1,4 @@
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appiconfg.svg b/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appiconfg.svg
new file mode 100644
index 0000000..62d66d7
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/AppIcon/appiconfg.svg
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Regular.ttf b/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Regular.ttf
new file mode 100644
index 0000000..2d1edf0
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Regular.ttf differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Semibold.ttf b/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Semibold.ttf
new file mode 100644
index 0000000..fe13d06
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Fonts/OpenSans-Semibold.ttf differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble.png
new file mode 100644
index 0000000..7c0b4b6
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primary.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primary.png
new file mode 100644
index 0000000..572fdaa
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primary.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primarydark.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primarydark.png
new file mode 100644
index 0000000..d04f709
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/captions_bubble_primarydark.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/dotnet_bot.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/dotnet_bot.png
new file mode 100644
index 0000000..f93ce02
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/dotnet_bot.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare.png
new file mode 100644
index 0000000..1ec38e2
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primary.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primary.png
new file mode 100644
index 0000000..eabc235
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primary.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primarydark.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primarydark.png
new file mode 100644
index 0000000..9dc41c2
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/hare_primarydark.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle.png
new file mode 100644
index 0000000..6074aab
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primary.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primary.png
new file mode 100644
index 0000000..7487639
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primary.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primarydark.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primarydark.png
new file mode 100644
index 0000000..b6dd3cb
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/info_circle_primarydark.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble.png
new file mode 100644
index 0000000..24ec5b1
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primary.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primary.png
new file mode 100644
index 0000000..32a078f
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primary.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primarydark.png b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primarydark.png
new file mode 100644
index 0000000..2f54e6d
Binary files /dev/null and b/ch02_DesigningViews/ex_Toolbar/Resources/Images/quote_bubble_primarydark.png differ
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Images/splash.svg b/ch02_DesigningViews/ex_Toolbar/Resources/Images/splash.svg
new file mode 100644
index 0000000..21dfb25
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/Images/splash.svg
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Raw/AboutAssets.txt b/ch02_DesigningViews/ex_Toolbar/Resources/Raw/AboutAssets.txt
new file mode 100644
index 0000000..50b8a7b
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/Raw/AboutAssets.txt
@@ -0,0 +1,15 @@
+Any raw assets you want to be deployed with your application can be placed in
+this directory (and child directories). Deployment of the asset to your application
+is automatically handled by the following `MauiAsset` Build Action within your `.csproj`.
+
+
+
+These files will be deployed with you package and will be accessible using Essentials:
+
+ async Task LoadMauiAsset()
+ {
+ using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt");
+ using var reader = new StreamReader(stream);
+
+ var contents = reader.ReadToEnd();
+ }
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Splash/splash.svg b/ch02_DesigningViews/ex_Toolbar/Resources/Splash/splash.svg
new file mode 100644
index 0000000..62d66d7
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/Splash/splash.svg
@@ -0,0 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Colors.xaml b/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Colors.xaml
new file mode 100644
index 0000000..22f0a67
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Colors.xaml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+ #512BD4
+ #ac99ea
+ #242424
+ #DFD8F7
+ #9880e5
+ #2B0B98
+
+ White
+ Black
+ #D600AA
+ #190649
+ #1f1f1f
+
+ #E1E1E1
+ #C8C8C8
+ #ACACAC
+ #919191
+ #6E6E6E
+ #404040
+ #212121
+ #141414
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Styles.xaml b/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Styles.xaml
new file mode 100644
index 0000000..fb9b741
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/Resources/Styles/Styles.xaml
@@ -0,0 +1,426 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch02_DesigningViews/ex_Toolbar/ex_Toolbar.csproj b/ch02_DesigningViews/ex_Toolbar/ex_Toolbar.csproj
new file mode 100644
index 0000000..2705e61
--- /dev/null
+++ b/ch02_DesigningViews/ex_Toolbar/ex_Toolbar.csproj
@@ -0,0 +1,81 @@
+
+
+
+ net8.0-maccatalyst;net8.0-android;net8.0-ios
+
+
+
+
+
+
+ Exe
+ ex_Toolbar
+ true
+ true
+ enable
+ enable
+
+
+ ex_Toolbar
+
+
+ com.companyname.extoolbar
+
+
+ 1.0
+ 1
+
+ 11.0
+ 13.1
+ 21.0
+ 10.0.17763.0
+ 10.0.17763.0
+ 6.5
+
+
+
+ $(TargetFrameworks);net8.0-windows10.0.19041.0
+
+
+
+
+
+
+ #512BD4
+ 128,128
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ch03_DataBinding/ex_BindingToA2dArray_v1/ex_BindingToA2dArray_v1.csproj b/ch03_DataBinding/ex_BindingToA2dArray_v1/ex_BindingToA2dArray_v1.csproj
index b00af9d..2dde4f9 100644
--- a/ch03_DataBinding/ex_BindingToA2dArray_v1/ex_BindingToA2dArray_v1.csproj
+++ b/ch03_DataBinding/ex_BindingToA2dArray_v1/ex_BindingToA2dArray_v1.csproj
@@ -24,7 +24,7 @@
ex_BindingToA2dArray_v1
- com.companyname.ex_bindingtoa2darray_v1
+ com.companyname.ex-bindingtoa2darray-v1
1.0
diff --git a/ch03_DataBinding/ex_BindingToA2dArray_v2/ex_BindingToA2dArray_v2.csproj b/ch03_DataBinding/ex_BindingToA2dArray_v2/ex_BindingToA2dArray_v2.csproj
index c49cb33..c16b7e2 100644
--- a/ch03_DataBinding/ex_BindingToA2dArray_v2/ex_BindingToA2dArray_v2.csproj
+++ b/ch03_DataBinding/ex_BindingToA2dArray_v2/ex_BindingToA2dArray_v2.csproj
@@ -24,7 +24,7 @@
ex_BindingToA2dArray_v2
- com.companyname.ex_bindingtoa2darray_v2
+ com.companyname.ex-bindingtoa2darray-v2
1.0