After a long development we are happy to unveil what we are going to include into the forthcoming Flexible TreeView v4. All the new or improved features are directed to make our users' experience with Flexible TreeView easier and to save their time, so here's what we've done in this direction:
Column controls are kind of node controls but for columns and they are shown in the column header. You can add as many column controls to each column as you need, align them to the left or right sides of the column, etc. Here is how to add the column control:
In first release we will deliver the DropDownColumnControl column control that allows to display some content in a popup by clicking on the dropdown button. The popup content could be either a context menu, a custom control or you can handle the button click and display what you need manually. Here is what could be done with help of DropDownColumnControl column control:
More column controls will be available in next releases.
NodeButton node control
You don't need to develop a custom control to show a button in the treeview! Well, anymore. The NodeButton new node control was added to display a button and react to its clicks with the couple lines of code:
All the power of node controls like data binding, node control filtration, node control content alignment/wrapping/trimming, HTML tags support (even for System theme!) and much more is available out of the box!
NodeCheckBox node control improvements
The NodeCheckBox node control was improved to support both bool and Nullable<bool> data types in either bound and unbound modes. So, now just bind a data object with the boolean property and get the checkbox control with no additional effort. The original ARMSoft.FlexibleTreeView.Nodes.eCheckState data type is still supported.
Data binding improvements
The DataBindingElementAttribute attribute has received a massive update to make the data binding even easier. Now with a single line of code you can control which type of node control will be generated to display the bound data, the generated column width or whether to fill whole column space by a generated node control.
Also, we have fixed some bugs and added dozen of smaller improvements. Stay tuned, the new release will be available soon.