/**////to Treelist plus selectimage
This.treelArea.SelectImageList = Imglcustom;
/**////
Remove a dashed box when a node is selected
This.treelArea.OptionsView.ShowFocusedFrame;
/**////
Set the background color of a selected point
This.treelArea.Appearance.FocusedCell.BackColor = System.Drawing.Color.LightSteelBlue;
This.treelArea.Appearance.FocusedCell.BackColor2 = System.Drawing.Color.SteelBlue;
This.treelArea.Appearance.FocusedCell.Options.UseBackColor = true;
/**////
When selected, displays all information that is not fully displayed in the node.
This.treelArea.Appearance.FocusedCell.Options.UseTextOptions = true;
This.treelArea.Appearance.FocusedCell.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
/**////
///
<summary>
Handles the Getselectimage event of the Treelarea control.
Sets the state of the Selectimage, and if selected, the icon that should be displayed when you choose
</summary>
<param name= "Sender" >the source of the event.</param>
<param name= "E" >the <see cref= "DevExpress.XtraTreeList.GetSelectImageEventArgs"/> Instance containing the event data.</param>
private void Treelarea_getselectimage (object sender, DevExpress.XtraTreeList.GetSelectImageEventArgs e)
{
E.nodeimageindex = e.node.expanded? 0:e.node.nodes.count > 0? 1:2;
if (E.focusednode)
{
E.nodeimageindex + = 3;
}
}