Hi,
Override.RowAlternateAppearance.BackColor2
Please suggest me to how to achive this.
regards,
ravi
Infragistics.Win.Appearance evenAppearance = new Infragistics.Win.Appearance();Infragistics.Win.Appearance oddAppearance = new Infragistics.Win.Appearance();evenAppearance.BackColor = Color.LightBlue;oddAppearance.BackColor = Color.LightYellow;
UltraTreeNode[ nodes = new UltraTreeNode[100];for ( int i = 0; i < 100; i ++ ){ UltraTreeNode node = new UltraTreeNode( null, string.Format("Node {0}", i) ); nodes = node;
node.Override.NodeAppearance = (i % 2) == 0 ? evenAppearance : oddAppearance; }
this.ultraTree1.Nodes.AddRange( nodes );