Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

HTML Tags and Format Node Captions

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
Believer
Guest





PostPosted: Fri Dec 16, 2005 6:42 pm    Post subject: HTML Tags and Format Node Captions Reply with quote

Hello

Can you please let me know, how to change the font (name, size, bold, italics) etc of node/cell caption

Also I would like to know, whethere it is possible to have Node captions with HTML Tags (ex: <B>Car</B>) which will render the html tags and display in the tree.

Thanks and Regards
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Fri Dec 16, 2005 10:40 pm    Post subject: Reply with quote

You can do this in several ways depending on whether you want to change the font for all rows, a single column or a single row or cell.

To set the font for all rows select the VirtualTree control and change the RowStyle.Font property in the Visual Studio property window.

To set the font for a single column select the Virtual Tree control and open the Virtual Tree Editor (by right clicking and using the menu). Select the columns tab and select the column(s) you wish to change then set the CellStyle.RowStyle.Font

To set the font for single cell (if you are using object or dataset binding) open the VirtualTree Editor and select the Data Binding tab. Expand the row binding(s) and select the cell(s) that you wish to set the font for and change the Style.Font property.

To change the font for an entire row select both the row and all its cell bindings (by holding down the control or shift keys) and then set the Style.Font property for all of them.

We don't currently support embedded HTML in row text.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group