Flexible TreeView Flexible TreeView


Support & Community

Columns header

Previous Table of Contents Next
Column header is an area with the columns` titles at the top of the treeview. To show it, enable the Options.Column.ShowColumnHeader treeview property. Also, you can change the header height by changing the ColumnHeaderHeight treeview property.


Column title

Every column shows a text title in the column`s header which text contains in the Text property.
To control the column title use these properties:

  • Text – column title text;
  • TextAlign – title text alignment within the column header;
  • Font – title font;
  • TextTrimming – defines the title text trimming mode.


Image in the header

You can show an image in the column header by using the Image property. To change the image alignment, use the ImageAlign property.

Example:

TreeColumn col = new TreeColumn(“User name”, 200);
col.Image = Resources.MyColumnImage;
col.ImageAlign = eColumnImageAlign.Right;


Override header icons

By default, Flexible TreeView uses system or Office2007 theme column header icons but you are able to override them by using the Images treeview property.

Example:

tree.Images.ColumnSortDown = mySortDownIcon;
tree.Images.ColumnSortUp = mySortUpIcon;
tree.Images.ColumnDragPositionMark = myDragIcon;
tree.Images.ColumnDragPositionMarkDenied = myDragDeniedIcon;


Additional API reference

Properties

  • SupportHtml – defines whether a column can show HTML text in the title;
  • Hoverable – defines whether a column changes the header appearance when the mouse is over it.

Previous Top Next


Last news
Bookmark and Share
Use Flexible TreeView in WPF project
Sunday, 18 December 2011

Do you have a WPF project and want to use Flexible TreeView there? No problem!

Flexible TreeView v3.4
Friday, 16 December 2011

Flexible TreeView v3.4 maintenance release has been released.

Flexible TreeView v3.3
Friday, 23 September 2011

Flexible TreeView v3.3 maintenance release has been released. Separate assemblies for .NET 2.0, 4.0 and 4.0 Client Profile, HTML markup extension, etc.

Latest release

Version:
Release date:
3.4
Dec 16, 2011


Copyright © 2006-2012 ARMSoft. All rights reserved.