diff --git a/README.md b/README.md index 9ed4d4b..eb22c6f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,89 @@ -# Create-multiple-column-in-wpf-treeviewadv -This session describes about creating multiple column in WPF TreeViewAdv. +# Create multiple column in WPF TreeView + +This session describes about creating multiple column in [WPF TreeView](https://help.syncfusion.com/wpf/classic/treeview/overview) (TreeViewAdv). + +`TreeView` control can be created with multiple columns by setting the `MultiColumnEnable` property to `true`. This is dependency property, which gets or sets the value defining whether items are in multicolumn mode. The default value is `false`. + +#### XAML + +``` xml + + + + + + + + + + + + + + + + + + + + + + +``` +#### C# + +``` csharp +//Enable multiple column enable +treeViewAdv.MultiColumnEnable = true; +``` + +#### VB + +``` vb +'Enable multiple column enable +treeViewAdv.MultiColumnEnable = True +``` + +![TreeViewAdv with multicolumn enabled](TreeViewAdvWithSingleColumn.png) + +### Header for MultiColumn + +TreeViewAdv allow user to set headers for individual columns using the Columns property. All the columns are defined in TreeViewColumnCollections. + +``` xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +``` + +![TreeViewAdv with multicolumns providing with header text](TreeViewAdvWithMultiColumn.png) \ No newline at end of file diff --git a/TreeViewAdvWithMultiColumn.png b/TreeViewAdvWithMultiColumn.png new file mode 100644 index 0000000..2f3077f Binary files /dev/null and b/TreeViewAdvWithMultiColumn.png differ diff --git a/TreeViewAdvWithSingleColumn.png b/TreeViewAdvWithSingleColumn.png new file mode 100644 index 0000000..d332b2f Binary files /dev/null and b/TreeViewAdvWithSingleColumn.png differ