("app");
- }
- }
-}
diff --git a/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/ArrowsImages.razor b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/ArrowsImages.razor
new file mode 100644
index 0000000..62bd9a0
--- /dev/null
+++ b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/ArrowsImages.razor
@@ -0,0 +1,44 @@
+@page "/ControlSamples/TreeView/ArrowsImages"
+@using static BlazorWebFormsComponents.Enums.TreeNodeTypes
+@using static BlazorWebFormsComponents.Enums.TreeViewImageSet
+
+TreeView Component homepage
+
+Here is a simple static tree view
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Checkboxes clicked: @clickCount
+
+@code {
+
+ public int clickCount { get; set; } = 0;
+
+ private void CheckChanged(TreeNodeEventArgs args) {
+
+ clickCount++;
+ base.StateHasChanged();
+
+ }
+
+}
diff --git a/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/BulletImages.razor b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/BulletImages.razor
new file mode 100644
index 0000000..fd5858d
--- /dev/null
+++ b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/BulletImages.razor
@@ -0,0 +1,44 @@
+@page "/ControlSamples/TreeView/BulletImages"
+@using static BlazorWebFormsComponents.Enums.TreeNodeTypes
+@using static BlazorWebFormsComponents.Enums.TreeViewImageSet
+
+TreeView Component homepage
+
+Here is a simple static tree view
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Checkboxes clicked: @clickCount
+
+@code {
+
+ public int clickCount { get; set; } = 0;
+
+ private void CheckChanged(TreeNodeEventArgs args) {
+
+ clickCount++;
+ base.StateHasChanged();
+
+ }
+
+}
diff --git a/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/BulletsNoExpand.razor b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/BulletsNoExpand.razor
new file mode 100644
index 0000000..81108bf
--- /dev/null
+++ b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/BulletsNoExpand.razor
@@ -0,0 +1,28 @@
+@page "/ControlSamples/TreeView/BulletsNoExpand"
+@using static BlazorWebFormsComponents.Enums.TreeNodeTypes
+@using static BlazorWebFormsComponents.Enums.TreeViewImageSet
+
+TreeView Bullets with No Expansion
+
+Here is a simple static tree view with bullets for nodes and no expand / collapse capabilities
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/Images.razor b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/Images.razor
new file mode 100644
index 0000000..84d02cb
--- /dev/null
+++ b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/Images.razor
@@ -0,0 +1,42 @@
+@page "/ControlSamples/TreeView/Images"
+@using static BlazorWebFormsComponents.Enums.TreeNodeTypes
+
+TreeView Component homepage
+
+Here is a simple static tree view
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Checkboxes clicked: @clickCount
+
+@code {
+
+ public int clickCount { get; set; } = 0;
+
+ private void CheckChanged(TreeNodeEventArgs args) {
+
+ clickCount++;
+ base.StateHasChanged();
+
+ }
+
+}
diff --git a/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/Index.razor b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/Index.razor
index a141cc8..e4fc724 100644
--- a/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/Index.razor
+++ b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/Index.razor
@@ -32,7 +32,7 @@ Checkboxes clicked: @clickCount
public int clickCount { get; set; } = 0;
- private void CheckChanged(object sender, TreeNodeEventArgs args) {
+ private void CheckChanged(TreeNodeEventArgs args) {
clickCount++;
base.StateHasChanged();
diff --git a/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/SiteMapDataSource.razor b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/SiteMapDataSource.razor
new file mode 100644
index 0000000..c8dd3f6
--- /dev/null
+++ b/samples/AfterBlazorServerSide/Pages/ControlSamples/TreeView/SiteMapDataSource.razor
@@ -0,0 +1,49 @@
+@page "/ControlSamples/TreeView/SiteMapDataSource"
+@using static BlazorWebFormsComponents.Enums.TreeNodeTypes
+
+TreeView SiteMapDataSource Sample
+
+This is a treeview component bound to a SiteMap xml document
+
+
+
+
+
+
+
+
+
+
+
+@code {
+
+ public TreeView SiteTreeView;
+
+ System.Xml.XmlDocument SiteMapSource = new System.Xml.XmlDocument();
+
+ protected override Task OnInitializedAsync() {
+
+ Setup();
+
+ return base.OnInitializedAsync();
+
+ }
+
+ void Setup()
+ {
+
+ SiteMapSource.LoadXml(@"
+
+
+
+
+
+
+ ");
+
+ }
+
+}
\ No newline at end of file
diff --git a/samples/AfterBlazorServerSide/Shared/NavMenu.razor b/samples/AfterBlazorServerSide/Shared/NavMenu.razor
index 4164027..4d54404 100644
--- a/samples/AfterBlazorServerSide/Shared/NavMenu.razor
+++ b/samples/AfterBlazorServerSide/Shared/NavMenu.razor
@@ -1,4 +1,5 @@
@using BlazorWebFormsComponents
+@using static BlazorWebFormsComponents.Enums.TreeViewImageSet