We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Levels does not work when control is in DataTamplate.

Thread ID:





125255 Aug 3,2016 08:16 AM UTC Aug 4,2016 12:25 PM UTC WPF 1
Tags: SfTreeMap
Arsen Vardanyan
Asked On August 3, 2016 08:16 AM UTC

<syncfusion:ChromelessWindow x:Class="TreeMapDrillDown.MainWindow" UseNativeChrome="True"
                           syncfusion:SkinStorage.VisualStyle="Metro" Icon="App.ico"

        <DataTemplate x:Key="TreeMapDataTemplate">
                    <RowDefinition Height="*"/>
                <syncfusion:SfTreeMap EnableDrillDown="True"  Grid.Row="0" 
                                      ItemsSource="{Binding DataContext.TestSales, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}}" 
                                      Levels="{Binding DataContext.MyTreeMapHierarchicalLevels, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Grid}}}"
    <ContentControl ContentTemplate="{StaticResource TreeMapDataTemplate}"/>

Mohana V [Syncfusion]
Replied On August 4, 2016 12:25 PM UTC

Hi Arsen,

Thanks for using syncfusion products.

We are able to reproduce the reported issue "Levels does not work when control is in DataTamplate" and we have logged an issue report for this.

The fix for this issue will be available in our essential studio volume 3 2016 release which is expected to be released on end of September 2016.

Mohana V


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon