EControl Syntax Editor SDK
TSyntaxTreeView.OnCustomDrawItem Property

Occurs immediately prior to painting a node in a tree view control.

property OnCustomDrawItem;

Write an OnCustomDrawItem event handler to paint individual items in the tree view, or to provide a background to the item before the default rendering of the item.

OnCustomDrawItem only occurs prior to painting individual tree items. To customize the painting of items at other stages of the paint process (such as after the item is painted), use OnAdvancedCustomDrawItem instead.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!