Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
# How to create a Outlook demo using WPF TreeView?

## About the sample
This sample illustrates how to create a Outlook demo using [WPF TreeView](https://www.syncfusion.com/wpf-controls/treeview) (SfTreeView).

This sample illustrates how to create a Outlook demo using SfTreeView.

[WPF TreeView](https://www.syncfusion.com/wpf-controls/treeview) (SfTreeView) allows to customize the appearance of each item with different templates based on specific constraints by using the [ItemTemplateSelector](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeView.SfTreeView.html#Syncfusion_UI_Xaml_TreeView_SfTreeView_ItemTemplateSelector). To customize the SfTreeView to get an outlook like appearance, you can create and choose different DataTemplate for expander and the mail item at runtime using ItemTemplateSelector.

```Xaml
`TreeView` allows to customize the appearance of each item with different templates based on specific constraints by using the [ItemTemplateSelector](https://help.syncfusion.com/cr/wpf/Syncfusion.UI.Xaml.TreeView.SfTreeView.html#Syncfusion_UI_Xaml_TreeView_SfTreeView_ItemTemplateSelector). To customize the SfTreeView to get an outlook like appearance, you can create and choose different `DataTemplate` for expander and the mail item at runtime using `ItemTemplateSelector`.

```xml
<Window.Resources>
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
<local:BoolToVisibilityMultiConverter x:Key="BoolToVisibilityMultiConverter" />
Expand Down Expand Up @@ -274,4 +271,4 @@ class ItemTemplateSelector : DataTemplateSelector
![SfTreeView with Outlook appearance](OutlookImage.png)

## Requirements to run the demo
Visual Studio 2015 and above versions
Visual Studio 2015 and above versions