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. Image for the cookie policy date

Item Height

Is it possible to change the height of each item in the TreeNavigator?  This doesn't seem to work by setting the item's height property.

3 Replies

MK Mallika Kannan Syncfusion Team March 22, 2017 10:58 AM UTC

Hi Nathan,  
  
Thank you for contacting Syncfusion support.  
  
In TreeNavigator Control, Item Height is specified based on its Header height. So it is possible for an user to customize its header height based on that.   
  
Please refer the following Code snippet.  
  
Code Snippet [C#]:  
  
//To set the Height   
              
this.treeNavigator1.Header.Height = this.treeNavigator1.Header.Height + 50;  
  
  
  
Screenshot  
  
  
Figure: Items Height Changed.  
  
We have also prepared the sample for your reference. It can be downloaded from the following Link.  
  
  
Kindly check with above solution and let us know if it is helpful.   
   
Regards   
Mallika  



NC Nathan Cole March 22, 2017 12:32 PM UTC

Thank you!


MK Mallika Kannan Syncfusion Team March 23, 2017 03:56 AM UTC

Hi Nathan, 
 
Thank you for your update. 
 
We are glad that we have helped you in this. 
 
Please let us know if you require any further assistance on this. 
  
Regards, 
Mallika 


Loader.
Up arrow icon