简体   繁体   中英

Howto enable the expand button in a devexpress Treelist

I have a winforms form with a DevExpress TreeList on it. The Treelist is drawn as expected. But the indicator known as "expand button" is missing.

According to the DevExpress Manual the button could be disabled with

OptionsView.ShowButtons = false; 

However the TreeList.OptionView.ShowButton value is true.

(It is true during debugging, also no change if I explicitly set it to false and then again to true during initialization)

Which settings can be done so that the "expand button" disappears other then ShowButtons = false?

尝试使根可见:

treeList1.OptionsView.ShowRoot = true;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM